Publish options broke Window Form assembly build

I configured the ClickOnce publish properties for a Windows Form application that until now compiled and ran fine. There was a problem with the publish not finding an output file, so I used the clean option and tried to rebuild the project.

Unfortunately, the project build option no longer creates new assemblies, but first tries to create the clickonce manifest. This fails since it cannot find the assemblies in the bin folder i.e."GenerateApplicationManifest" -- FAILED". Error is correct as the new assemblies are not in the bin folder.

How can I configure Visual Studio to build the assemblies AND copy them to the bin folder before building the ClickOnce manifest It does appear that build is create the new assembly in the obj\debug\ folder - just never copies to bin. Also, there are other dependent projects which are supposed to be copied to the bin folder as well.

Also, now that I've configured the "publish" properties, how can I disable the clickonce build from the normal build of my assemby Guess I thought the ClickOnce "build manifest, etc." only happened when you chose to "Publish". Does not seem to be working that way

Thanks



Answer this question

Publish options broke Window Form assembly build