Hi guys,
I’m following the instructions on how to add icons to my package:
But I get an error when compiling:
Severity Code Description Project File Line Suppression State
Error 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\v8.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.
I guess the problem lies in this code line in the csproj file:
<GetReferenceAssemblyPaths TargetFrameworkMoniker=".NETFramework, Version=4.0">
I googled for a solution but so far came up empty.
Interestingly this folder also does not exist on my pc:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx35Tools-x86
Is there some other way to set the correct path for resgen.exe, other than doing this in the registry?
Or is there another solution?
Thanks!