Setup Project Failed - But No Errors
For a while I have seen where a setup will fail to build in a solution and there will be no errors to explain why it failed (My favorite type of failure!). When you look in the output folder the installer msi file is there.
Today we had that happen on a solution and when we used the setup we were getting an error during the actual install on the target machine. Turns out to be not related at all, however, it got me digging around trying to figure out what caused the build to fail. I ran across the following connect bug that has a work around
https://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=317870
Turns out, that adding a LINQ to SQL dbml file or the L2S designer in use in Visual Studio can cause this error to happen. Sure enough removing the ItemGroup mentioned in the workaround and restarted VS and the build worked.
The real bummer is I get the same build failed on my machines with SP1 beta on them so that means it probably won't be fixed soon.
References (1)
-
Response: MrDave's (David Yack) Blog!von David Yack URL: http://blog.davidyack.com/ Inhalte: MSDN Subscriber Downloads Improved Setup Project
Reader Comments