You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project including the original .targets file compiles correctly with Visual Studio but fails when used as a Heat reference in an Installer project. Worked fine with Wix 3.9.
Originally opened by melkor
The text was updated successfully, but these errors were encountered:
With VisualStudioVersion being an environment variable. If I run heat on the problematic project I get this:
Found ToolsVersion $(VisualStudioVersion) inside project file.
Loading project using MSBuild version $(VisualStudioVersion).
heat.exe : error HEAT5305 : Failed to load project D:\Users\Melkor\Projects\Insight\src\Insight.Router\Router.csproj: The imported project "D:\Hasp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. D:\Users\Melkor\Projects\Insight\ext\Licensing\bin\Support.targets
If I change the ToolsVersion to 14.0 the error disappears.
I have a .csproj file that imports a .targets file that itself imports another .targets file with this task:
The project including the original .targets file compiles correctly with Visual Studio but fails when used as a Heat reference in an Installer project. Worked fine with Wix 3.9.
The text was updated successfully, but these errors were encountered: