I have a Windows GUI client I've written in C# using Visual Studio 2010. When I publish from the project's Property Page it fails whilst it succeeds from the context menu on the project. Does anyone know why this might happen?
相关问题
- Visual Studio 2010 randomly says the command line
- (ASP.NET) Project file must include 'WindowsBa
- How do I bind a DataGridViewComboBoxColumn to a pr
- Partial Form Class C# - Only display code view for
- Can we add four protocols to ServicePointManager.S
相关文章
- How to show location of errors, references to memb
- Log4Net Multiple Projects
- How to add external file to application files ( cl
- Override env values defined in container spec
- Compiling error in C++ project with C and C++ code
- Sort TreeView Automatically Upon Adding Nodes
- Where does this quality loss on Images come from?
- How to use Mercurial from Visual Studio 2010?
I have an answer for this from the ClickOnce team at Microsoft.
When you use the publish option on the build menu, it totally circumvents anything in Visual Studio and uses msbuild directly. If you use the Publish button on the Publish tab, any add-ins that the user has installed impact the process of doing the build and publish (he said something like "it goes through VIsual Studio before getting to msbuild"). So using the Build menu is always better.