The project worked fine in Visual Studio 2010, and we upgraded to Visual Studio 2012; however, now it does not compile.
We get the following error:
Error 2 Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed PROJECT_NAME
Does anyone how to solve this issue?
I am on Windows 2008 R2 SP1 with .NET 4.5 installed. I did not install .NET 4 directly, I used the .NET 4.5 installer.
I fixed this by installing "Windows Software Development Kit (SDK) for Windows 8" from http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx
I was confused by the title - I'm on Windows 7 - but it worked.
Solution pointed by Mark Rainey worked for us:
http://www.markrainey.me/2013/02/setting-up-build-machine.html
Changing sdk version
Go to "Microsoft Windows SDK v7.1" from the Start menu
Select "Windows SDK 7.1 Command Prompt" and enter
> cd Setup
> WindowsSdkVer -version:v7.1
My issue was when clicking on Properties on the solution for the Active(Debug) configuration, the configuration for my projects were set to Release. Changed it to Debug, rebuilt and the build error disappeared.
After 2013 now msbuild is part of VS.
https://blogs.msdn.microsoft.com/visualstudio/2013/07/24/msbuild-is-now-part-of-visual-studio/
On my case I had to change the msbuild path after I installed VS2015 to
C:\Program Files (x86)\MSBuild\14.0\Bin\
"I fixed this by installing "Windows Software Development Kit (SDK) for Windows 8" from http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx"
This solution by user489998 worked fine on Windows server 2008 R2 as well.
Related
I have completed an application I have made in Visual Studio 14.0, but when I tried to publish the program, I get an error as Visual Studio cannot find 'SignTool.exe'. I have searched my Hard drive a few times for this but it is nowhere on my PC. Can anyone help me find it or download it?
I had the same issue but installing the Windows 8.1 SDK as per Catquatwa's answer did not work for me (signtool.exe was still missing from C:\Program Files (x86)\Microsoft SDKs\Windows\vX\Bin).
I stumbled across this solution: http://www.benedykt.net/2015/08/12/missing-signtool-exe-w-visual-studio-2015/
Basically, for VS 2015, this would be:
Open Programs and Features
Select "Microsoft Visual Studio 2015" and click "Change"
Press "Modify" to progress to Features options
Select "Windows and Web Development", then tick "ClickOnce Publishing Tools" for installation
Then "Next" and then "Update"
I have a windows 7 and installing the ClickOnce Tools was not enough.
The signtool.exe appeared after also installing the sdk:
If you do not care about sign your program when you publish, just right click your project then choose Properties --> Signing --> un-check Sign the ClickOnce manifest . I had the same issue when building my program on another machine which did not have ClickOne.
The SignTool is available as part of the Windows SDK (which comes with Visual Studio Community 2015). Make sure to select the "ClickOnce Publishing Tools" from the feature list during the installation of Visual Studio 2015 to get the SignTool.
Once Visual Studio is installed you can run the signtool command from the Visual Studio Command Prompt. By default (on Windows 10) the SignTool will be installed at C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe.
ClickOnce Publishing Tools Installation:
SignTool Location:
1.Just Disable signing from the properties of your project it will solve issue :)
2.The other method is to purchase the certificate for your product from Digicert or Comodo or any other you want. You can get some free certificates for One pc use.
No Worries! I have found the solution! I just installed https://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
and it all worked fine :)
Windows Software Development Kit (SDK) for Windows 8.1
http://go.microsoft.com/fwlink/p/?LinkId=323507
Right click on Project, select properties and Un-Check the sign on option in teh project save and re-built.
This has fixed issue for me.
Here is a solution for Visual Studio 2017. The installer looks a littlebit different from the VS 2015 version and the name of the installation packages are different.
When i try to create a blank Android project in Visual Studio 2015 i get error:
Desktop windows 7 Enterprise
I have installed the latest versions of VS2015 and Xamarin.
Someone resolved problem on other forum - check this out.
Make sure Android Studio is not installed on your computer. If it is, uninstall it and run the VS2015 installer again until all Android SDK errors go away.
Make sure VS2015 is closed and install the most recent stable version of Xamarin for Visual Studio 2015. I found it here: https://store.xamarin.com/account/my/subscription/downloads. (Trying to install it through VS2015 didn't work for me under Tools -> Android -> Settings -> Xamarin for Visual Studio Updates.)
Make sure you have Java SDK version 7 installed on your machine (do not use 8 even though its the latest). You also must use the 32-bit version even if you have a 64-bit machine. This was key!
Install the Android SDK. Standalone version, not Android Studio + Android SDK.
Install the Android NDK.
Restart your computer and open VS2015. Go to Tools -> Android -> Settings and set the correct paths to Android SDK, NDK and Java SDK.
I got a program made in Visual Studio 2013 (C#). I want to build it to XP. If I take the exe in the Debug directory and I run it on XP, I have an error "Is not a valid win32 application". What I have to do to build it for XP?
I got the solution: You got to right-click in the solution name on the Solution Explorer and go to Properties. In there, you can not only change the platform (x64 or x86) but the .NET Framework. I downgraded to .Net Framework 4 and worked perfectly!
I am stuck with this now, I had windows phone sdk installed on vs 2012 but suddenly, creating a project in it starts to give me object reference not set to an instance error! could not create project.
I uninstalled sdk ,uninstalled vs2012, installed again and now when i try to install phone sdk 8.0 i get this error saying
Microsoft visual studio express 2012 for windows phone cannot find requested object.
Windows phone 8.0 Emulator images Cannot find the requested object.
I am having heads gone moments now! please help..
I have windows 8 pro 64 bit and do have hyper v enabled and checked.
Try to either update or uninstall NuGet. This worked for me: UNINSTALLED NuGet (as updates to it did not work)
same happened to me.
it occurs because of corrupted .iso file.
so either download a new one or install using online installation, i'm afraid but this is the only possible solution.
I have followed 2 tutorials like this to integrate mono 2.10.8 profile in visual studio 2010
After doing all, when selecting mono profile I get some issues:
if I change the to .net 2 framework, I have no problems:
I Copied the contents of C:\Program Files\Mono-2.10.8\lib\mono\4.0 to
C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Mono.
Created the folder RedistList and added FrameworkList.xml
Added the key to registry....
Also tried to create a .net 4 project and then select mono 2.8 profile as suggested, but have the same errors.
What am I missing?
Chek this page,
Installing Mono Tools for Visual Studio
Requirements:
Windows XP, Vista, or 7, 32 or 64 bits
Visual Studio
2008 SP1 Standard or Professional, or
2010 Professional, Premium, or Ultimate