Ticket Q260132
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

It is impossible to publish a project when IDE Tools are loaded at the IDE's startup

ClickOnce Fails in VS2010

created 15 years ago

I submitted a question to MSDN support describing a problem where ClickOnce publishing was failing with just one error:
Error     1     Cannot publish because a project failed to build.          1     1     Scheduler3
The IDE provices no other error information. The response back from MSDN is that DeveloperExpress components can cause this problem. Their response follows:
--------
"Since I found DevExpress staff in your project, I think you may have DevExpress add-ins on Visual Studio. Sometimes, the third-party add-ins will cause unexpected issues. So I asked you to try running the Visual Studio in safemode that will force the visual studio loading only the default environment and services, and shipped versions of third party packages.
Generally, we can simply disable all the third-party add-ins to fix the issue. But per my experience, the DevExpress may add hooks on visual studio and the simple disable may be not able to fix the issue. So if the issue is still there, please uninstall the DevExpress."
-------
As they suggested later down in their message, I restarted VS2010 in safemode and was able to ClickOnce publish without a problem. This got me past my immediate problem except that I just tried to ClickOnce publish another app and got the same error. So your stuff has a bug or MSDN support is misleading me.
Either way it seems that you should look into the issue.

Comments (1)
DevExpress Support Team 15 years ago

    Hi Tim,
    I've reproduced the problem locally, and this seems to be a bug in the current version of our IDE Tools. I've registered the corresponding bug report on your behalf, and we'll do our best to fix it as soon as we can:
    ID: B156192, It is impossible to publish a project when IDE Tools are loaded at the IDE's startup
    However, I found that on my machine the problem occurs only when our tools are loaded at the IDE's startup. So, as an immediate solution, I suggest that you activate the "Load Manually" option. Please do the following:

    1. From the DevExpress menu, select "Options…".
    2. In the tree view on the left, navigate to this folder:
          Core
    3. Select the "Startup" options page.
      This page level is Expert, and will only be visible if the Level combo on the lower-left of the Options dialog is set to Expert.
    4. Activate the "Load Manually" option.
    5. Restart the IDE, and try to publish a problematic project.
      This seems to fix the problem on my machine.
      Please try this workaround, and let us know whether this helps.
      Thanks,
      Vito

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.