New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build WiX 3.11 project with references in Visual Studio 2017 #5606
Comments
One thing to try is to create a new .wixproj with the templates from the VS2017 WiX extension, as they have to accommodate the changes in MSBuild v15. |
i did try that - however I get the same issue. The project builds fine up until the point that I add a reference to a project within my solution. |
We haven't received any other reports on this error code. Nobody has any suggestions on what could cause this but it seems something specific to your environment. |
I get exactly the same issue. Still haven't found any solution. |
Just tried to get this solved again. This is what I did:
I've no clue to why it now works. |
I also get this issue. |
1+ |
Sounds like the situation described in this blog: https://blog.bugrapostaci.com/2017/02/08/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances-exception-from-hresult-0x80131401/ |
Which version of WiX are you building with?
3.11.1701.0
Which version of Visual Studio are you building with (if any)?
Visual Studio 2017 (15.2)
Which version of .NET are you building with?
.NET 4.5
If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?
Windows 10 (Anniversary Update)
When adding a reference to a project within my solution I get the following build error:
The output window shows this information:
When I build the same project with Visual Studio 2015 it builds successfully.
The text was updated successfully, but these errors were encountered: