Ticket T516553
Visible to All Users

"The application requires that assembly DevExpress.XXX be installed in the Global Assembly Cache (GAC) first" error occurs when deploying the application using ClickOnce

created 8 years ago

[DevExpress Support Team: CLONED FROM AK3799: "The application requires that assembly DevExpress.XXX be installed in the Global Assembly Cache (GAC) first" error occurs when deploying the application using ClickOnce]
It looks like a very bad tasting joke to me! I am now at my 27th publish attempt with ClickOnce and each time i have this message like … requires that assembly DevExpres.<AssmblyName> be installed in GAC first.

I specify a publish langage to remove all the unnecessary satellite assemblies ending up with setting "include" to all devExpress assemblies even the ones that are not used but, no chance :( always the same stupid result!

Comments (3)
DevExpress Support Team 8 years ago

    This can happen if certain assemblies required for correct work of your application are missing during the deploying process.
    I would recommend you use the DevExpress Assembly Deployment Tool, which allows collecting the required redistributable DevExpress (and custom) assemblies to deploy your application.
    Once this is done, make sure that the missing assemblies are added to Applications Files and then make sure that Publish Status  is set to Include.
    Please try this and let me know your results.

    MP MP
    Michel Provencher 8 years ago

      Finally i got it work and a think that i will have to find an alternative to ClickOnce deployment solution. It's not the only issue i had to deal with concerning ClickOnce and i think i had enough of it.

      Using the DXADT, nearly all of the DX wpf assemblies  are considered as required  even if my solution only use the reporting tool and several controls in the Common controls

      DevExpress Support Team 8 years ago

        Certain assemblies can be skipped during deployment if some functionality isn't required in your project. I would recommend you review the Assemblies Deployed with Windows Forms Reporting Applications article to get a complete list of assemblies that can be skipped. The Redistribution and Deployment article can also be helpful.
        I hope this information will help you decrease the number of redistributed files to minimal.

        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.