Trying to create a setup project in Visual Studio 2015. When I add my main project, no dependencies are added; not my other projects (dll's), no Nuget packages, not even the .Net Framework.
I did try adding those project dll's manually, but whether I do or don't, I get this build error every time:
------ Starting pre-build validation for project 'ProjectInstaller' ------
ERROR: An error occurred while validating. HRESULT = '80070057'
------ Pre-build validation for project 'ProjectInstaller' completed ------
Of note, this error only appears in the output, not the error list. So any ideas why the dependencies are not added? Why the build is failing? What does that error code even mean?
(As an afterthought, I have successfully built an install file on a different solution set altogether; I'm thinking maybe it's some setting in my project properties).
Add a new dependency diagram to a modeling project NET Core projects are supported starting Visual Studio 2019 version 16.2. On the Architecture menu, choose New Dependency Diagram. Under Templates, choose dependency diagram. Name the diagram.
Please remove the folder: C:\Program Files (x86)\Microsoft Visual Studio\Installer. Then, re-download the bootstrapper file from the following Microsoft Site and run it as administrator.
I had a .NET 4.5 application with a setup project that gave this error while the application was using the 'Windows.Data' reference (at: C:\WINDOWS\System32\WinMetadata\Windows.Data.winmd), even though the application was able to compile. Once removing that reference, the setup project was able to build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With