[GH-ISSUE #341] Doesn't compile on Windows 10 using .bat #159

Closed
opened 2026-02-27 15:49:07 +03:00 by kerem · 10 comments
Owner

Originally created by @KarlBaumann on GitHub (Aug 21, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/341

I am having problems compiling. Tried to install .Net Framework 3.5, didn't help.

Microsoft (R) Build Engine version 4.6.79.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 8/21/2015 10:13:07 PM.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" on node 1 (Build target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Mixed Platforms".
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (2) on node 1 (default targets).
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
ResolveAssemblyReferences:
  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (3) on node 1 (default targets).
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
ResolveAssemblyReferences:
  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (4) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (5) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (default targets) -- FAILED.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target(s)) -- FAILED.

Build FAILED.

"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(GetReferenceAssemblyPaths target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
(GetReferenceAssemblyPaths target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
(ResolveAssemblyReferences target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(CoreResGen target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]

    7 Warning(s)
    2 Error(s)

Time Elapsed 00:00:01.12
Originally created by @KarlBaumann on GitHub (Aug 21, 2015). Original GitHub issue: https://github.com/quasar/Quasar/issues/341 I am having problems compiling. Tried to install .Net Framework 3.5, didn't help. ``` Microsoft (R) Build Engine version 4.6.79.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 8/21/2015 10:13:07 PM. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" on node 1 (Build target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Mixed Platforms". Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (2) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] ResolveAssemblyReferences: Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (3) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] ResolveAssemblyReferences: Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (4) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (5) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (default targets) -- FAILED. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target(s)) -- FAILED. Build FAILED. "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (CoreResGen target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] 7 Warning(s) 2 Error(s) Time Elapsed 00:00:01.12 ```
kerem closed this issue 2026-02-27 15:49:08 +03:00
Author
Owner

@MaxXor commented on GitHub (Aug 21, 2015):

Hey, this is the error you're getting.

Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task.

IMO the best option would be to install the Windows SDK or Visual Studio.
Or you use one of the builds from the CI-server by clicking on your desired configuration -> artifcats -> binaries.zip.

<!-- gh-comment-id:133558970 --> @MaxXor commented on GitHub (Aug 21, 2015): Hey, this is the error you're getting. > Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. IMO the best option would be to install the Windows SDK or Visual Studio. Or you use one of the builds from the [CI-server](https://ci.appveyor.com/project/MaxXor/quasarrat) by clicking on your desired configuration -> artifcats -> `binaries.zip`.
Author
Owner

@KarlBaumann commented on GitHub (Aug 21, 2015):

Thanks for a quick replay and sorry for these noob questions. This is my first experiance with .NET.
So I installed Windows SDK, what next?

<!-- gh-comment-id:133580182 --> @KarlBaumann commented on GitHub (Aug 21, 2015): Thanks for a quick replay and sorry for these noob questions. This is my first experiance with .NET. So I installed [Windows SDK](https://dev.windows.com/en-us/downloads/windows-10-sdk), what next?
Author
Owner

@MaxXor commented on GitHub (Aug 22, 2015):

Does it compile for you now?

<!-- gh-comment-id:133649161 --> @MaxXor commented on GitHub (Aug 22, 2015): Does it compile for you now?
Author
Owner

@KarlBaumann commented on GitHub (Aug 22, 2015):

No, looks like the same error:

Microsoft (R) Build Engine version 4.6.79.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 8/22/2015 12:21:08 PM.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" on node 1 (Build target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Mixed Platforms".
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (2) on node 1 (default targets).
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
ResolveAssemblyReferences:
  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (3) on node 1 (default targets).
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
ResolveAssemblyReferences:
  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (4) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (5) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (default targets) -- FAILED.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target(s)) -- FAILED.

Build FAILED.

"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(GetReferenceAssemblyPaths target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
(GetReferenceAssemblyPaths target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
(ResolveAssemblyReferences target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(CoreResGen target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj]

    7 Warning(s)
    2 Error(s)

Time Elapsed 00:00:00.73

I could give you TeamViewer access to my PC if you are interested.

<!-- gh-comment-id:133675996 --> @KarlBaumann commented on GitHub (Aug 22, 2015): No, looks like the same error: ``` Microsoft (R) Build Engine version 4.6.79.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 8/22/2015 12:21:08 PM. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" on node 1 (Build target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Mixed Platforms". Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (2) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] ResolveAssemblyReferences: Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (3) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] ResolveAssemblyReferences: Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (4) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (5) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (default targets) -- FAILED. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target(s)) -- FAILED. Build FAILED. "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (CoreResGen target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3091: Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. [C:\Users\karlb\Downloads\QuasarRAT-master\QuasarRAT-master\Client\Client.csproj] 7 Warning(s) 2 Error(s) Time Elapsed 00:00:00.73 ``` I could give you TeamViewer access to my PC if you are interested.
Author
Owner

@ghost commented on GitHub (Aug 22, 2015):

"....NETFramework,Version=v3.5,Profile=Client" were not found." probably you have installed wrong SDK version... try install SDK for .Net 3.5
http://www.microsoft.com/en-us/download/details.aspx?id=11310

<!-- gh-comment-id:133688157 --> @ghost commented on GitHub (Aug 22, 2015): "....NETFramework,Version=v3.5,Profile=Client" were not found." probably you have installed wrong SDK version... try install SDK for .Net 3.5 http://www.microsoft.com/en-us/download/details.aspx?id=11310
Author
Owner

@MaxXor commented on GitHub (Aug 22, 2015):

@SandPox Your link leads to the SDK for Server versions of Windows.

Please use this link for the Windows 7 SDK with .NET Framework 3.5.

You should also download the latest source. I've cleaned up the build configuration.

Please report back if it's working for you.

<!-- gh-comment-id:133688711 --> @MaxXor commented on GitHub (Aug 22, 2015): @SandPox Your link leads to the SDK for Server versions of Windows. Please use [this link](https://www.microsoft.com/en-us/download/details.aspx?id=3138) for the Windows 7 SDK with .NET Framework 3.5. You should also download the latest source. I've cleaned up the build configuration. Please report back if it's working for you.
Author
Owner

@KarlBaumann commented on GitHub (Aug 22, 2015):

@MaxXor didn't help.

Microsoft (R) Build Engine version 4.6.79.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 8/22/2015 7:47:15 PM.
Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" on node 1 (Build target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Mixed Platforms".
Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (2) on node 1 (default targets).
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
ResolveAssemblyReferences:
  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
CoreResGen:
  C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\ResGen.exe /useSourcePath /r:"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\lib\Mono.Cecil.dll" /r:"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\lib\Mono.Nat.dll" /r:C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll /r:C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll /r:C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll /r:C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll /r:C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll /r:C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll /r:C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll /r:"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\lib\Vestris.ResourceLib.dll" /compile Forms\FrmAbout.resx,obj\Release\xServer.Forms.FrmAbout.resources Forms\FrmAddToAutostart.resx,obj\Release\xServer.Forms.FrmAddToAutostart.resources Forms\FrmBuilder.resx,obj\Release\xServer.Forms.FrmBuilder.resources Forms\FrmDownloadAndExecute.resx,obj\Release\xServer.Forms.FrmDownloadAndExecute.resources Forms\FrmFileManager.resx,obj\Release\xServer.Forms.FrmFileManager.resources Forms\FrmKeylogger.resx,obj\Release\xServer.Forms.FrmKeylogger.resources Forms\FrmMain.resx,obj\Release\xServer.Forms.FrmMain.resources Forms\FrmPasswordRecovery.resx,obj\Release\xServer.Forms.FrmPasswordRecovery.resources Forms\FrmRemoteDesktop.resx,obj\Release\xServer.Forms.FrmRemoteDesktop.resources Forms\FrmRemoteShell.resx,obj\Release\xServer.Forms.FrmRemoteShell.resources Forms\FrmReverseProxy.resx,obj\Release\xServer.Forms.FrmReverseProxy.resources Forms\FrmSettings.resx,obj\Release\xServer.Forms.FrmSettings.resources Forms\FrmShowMessagebox.resx,obj\Release\xServer.Forms.FrmShowMessagebox.resources Forms\FrmStartupManager.resx,obj\Release\xServer.Forms.FrmStartupManager.resources Forms\FrmStatistics.resx,obj\Release\xServer.Forms.FrmStatistics.resources Forms\FrmSystemInformation.resx,obj\Release\xServer.Forms.FrmSystemInformation.resources Forms\FrmTaskManager.resx,obj\Release\xServer.Forms.FrmTaskManager.resources Forms\FrmTermsOfUse.resx,obj\Release\xServer.Forms.FrmTermsOfUse.resources Forms\FrmUploadAndExecute.resx,obj\Release\xServer.Forms.FrmUploadAndExecute.resources Forms\FrmVisitWebsite.resx,obj\Release\xServer.Forms.FrmVisitWebsite.resources Forms\FrmUpdate.resx,obj\Release\xServer.Forms.FrmUpdate.resources Properties\Resources.resx,obj\Release\xServer.Properties.Resources.resources 
ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll".  Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
  1 error(s).
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (3) on node 1 (default targets).
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj]
ResolveAssemblyReferences:
  Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj]
CoreResGen:
  C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\ResGen.exe /useSourcePath /r:C:\Windows\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll /r:C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll /r:C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll /r:C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll /r:C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll /r:C:\Windows\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll /r:C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll /r:C:\Windows\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll /r:C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll /r:C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll /r:C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll /compile Properties\Resources.resx,obj\x86\Release\xClient.Properties.Resources.resources 
ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll".  Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj]
  1 error(s).
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (4) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (default targets) -- FAILED.
Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (5) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (default targets) -- FAILED.
Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target(s)) -- FAILED.

Build FAILED.

"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(GetReferenceAssemblyPaths target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
(GetReferenceAssemblyPaths target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
(ResolveAssemblyReferences target) -> 
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default target) (2) ->
(CoreResGen target) -> 
  ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll".  Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj]


"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) ->
"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default target) (3) ->
  ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll".  Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj]

    6 Warning(s)
    2 Error(s)

Time Elapsed 00:00:00.45
<!-- gh-comment-id:133732749 --> @KarlBaumann commented on GitHub (Aug 22, 2015): @MaxXor didn't help. ``` Microsoft (R) Build Engine version 4.6.79.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 8/22/2015 7:47:15 PM. Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" on node 1 (Build target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Mixed Platforms". Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (2) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] ResolveAssemblyReferences: Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] CoreResGen: C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\ResGen.exe /useSourcePath /r:"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\lib\Mono.Cecil.dll" /r:"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\lib\Mono.Nat.dll" /r:C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll /r:C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll /r:C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll /r:C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll /r:C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll /r:C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll /r:C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll /r:"C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\lib\Vestris.ResourceLib.dll" /compile Forms\FrmAbout.resx,obj\Release\xServer.Forms.FrmAbout.resources Forms\FrmAddToAutostart.resx,obj\Release\xServer.Forms.FrmAddToAutostart.resources Forms\FrmBuilder.resx,obj\Release\xServer.Forms.FrmBuilder.resources Forms\FrmDownloadAndExecute.resx,obj\Release\xServer.Forms.FrmDownloadAndExecute.resources Forms\FrmFileManager.resx,obj\Release\xServer.Forms.FrmFileManager.resources Forms\FrmKeylogger.resx,obj\Release\xServer.Forms.FrmKeylogger.resources Forms\FrmMain.resx,obj\Release\xServer.Forms.FrmMain.resources Forms\FrmPasswordRecovery.resx,obj\Release\xServer.Forms.FrmPasswordRecovery.resources Forms\FrmRemoteDesktop.resx,obj\Release\xServer.Forms.FrmRemoteDesktop.resources Forms\FrmRemoteShell.resx,obj\Release\xServer.Forms.FrmRemoteShell.resources Forms\FrmReverseProxy.resx,obj\Release\xServer.Forms.FrmReverseProxy.resources Forms\FrmSettings.resx,obj\Release\xServer.Forms.FrmSettings.resources Forms\FrmShowMessagebox.resx,obj\Release\xServer.Forms.FrmShowMessagebox.resources Forms\FrmStartupManager.resx,obj\Release\xServer.Forms.FrmStartupManager.resources Forms\FrmStatistics.resx,obj\Release\xServer.Forms.FrmStatistics.resources Forms\FrmSystemInformation.resx,obj\Release\xServer.Forms.FrmSystemInformation.resources Forms\FrmTaskManager.resx,obj\Release\xServer.Forms.FrmTaskManager.resources Forms\FrmTermsOfUse.resx,obj\Release\xServer.Forms.FrmTermsOfUse.resources Forms\FrmUploadAndExecute.resx,obj\Release\xServer.Forms.FrmUploadAndExecute.resources Forms\FrmVisitWebsite.resx,obj\Release\xServer.Forms.FrmVisitWebsite.resources Forms\FrmUpdate.resx,obj\Release\xServer.Forms.FrmUpdate.resources Properties\Resources.resx,obj\Release\xServer.Properties.Resources.resources ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll". Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] 1 error(s). Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (3) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj] ResolveAssemblyReferences: Consider app.config remapping of assembly "mscorlib, Culture=neutral, PublicKeyToken=b77a5c561934e089" from Version "2.0.0.0" [C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll] to Version "4.0.0.0" [C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll] to solve conflict and get rid of warning. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj] CoreResGen: C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\ResGen.exe /useSourcePath /r:C:\Windows\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll /r:C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll /r:C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll /r:C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll /r:C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll /r:C:\Windows\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll /r:C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll /r:C:\Windows\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll /r:C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll /r:C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll /r:C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll /compile Properties\Resources.resx,obj\x86\Release\xClient.Properties.Resources.resources ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll". Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj] 1 error(s). Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (4) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client.Tests\Client.Tests.csproj" (default targets) -- FAILED. Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (1) is building "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (5) on node 1 (default targets). Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server.Tests\Server.Tests.csproj" (default targets) -- FAILED. Done Building Project "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target(s)) -- FAILED. Build FAILED. "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v3.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj" (default target) (2) -> (CoreResGen target) -> ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll". Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Server\Server.csproj] "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\QuasarRAT.sln" (Build target) (1) -> "C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj" (default target) (3) -> ResGen : error RG0000: Could not load referenced assembly "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll". Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". [C:\Users\karlb\Downloads\QuasarRAT-master (1)\QuasarRAT-master\Client\Client.csproj] 6 Warning(s) 2 Error(s) Time Elapsed 00:00:00.45 ```
Author
Owner

@MaxXor commented on GitHub (Aug 22, 2015):

Oh, hm... I guess you should give Visual Studio 2015 Community a try. Install it, open the file QuasarRAT.sln with VS and click on compile.

<!-- gh-comment-id:133733928 --> @MaxXor commented on GitHub (Aug 22, 2015): Oh, hm... I guess you should give [Visual Studio 2015 Community](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) a try. Install it, open the file `QuasarRAT.sln` with VS and click on compile.
Author
Owner

@KarlBaumann commented on GitHub (Aug 22, 2015):

After installing Visual Studio it compiles without any problems, even using .bat
But I am not entirely happy with this solution, because VS needs at least 5GB of my SSD drive.

<!-- gh-comment-id:133739897 --> @KarlBaumann commented on GitHub (Aug 22, 2015): After installing Visual Studio it compiles without any problems, even using .bat But I am not entirely happy with this solution, because VS needs at least 5GB of my SSD drive.
Author
Owner

@MaxXor commented on GitHub (Aug 22, 2015):

@KarlBaumann Good to hear that it's working with VS. Well, you can alternatively install VS on a HDD or USB drive. But trust me it's saving you from a lot of loading time when starting VS from an SSD.

<!-- gh-comment-id:133740174 --> @MaxXor commented on GitHub (Aug 22, 2015): @KarlBaumann Good to hear that it's working with VS. Well, you can alternatively install VS on a HDD or USB drive. But trust me it's saving you from a lot of loading time when starting VS from an SSD.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#159
No description provided.