Deploying Windows Application - GAC Errors

Last post 07-03-2009 3:08 AM by Thomas Sun – MSFT. 2 replies.

Sort Posts:

  • Deploying Windows Application - GAC Errors

    06-29-2009, 5:45 AM
    • Member
      point Member
    • cbjroms123
    • Member since 01-28-2008, 12:21 PM
    • Posts 11

    I have just moved the development of my bespoke windows application from one .net developer to another. The developer that I had been working with for many years - and who created the application - went and got a 'day job' and could no longer support me.

    Anyway, the new developer has just made some changes (using VS2008) to the application and has sent me an installation package to run on my PC.

    The first time he did this, got a System Update Required message ststing that mshtml needed to installed in the GAC.

    So the developer rebuilt the project, including mshtml, and sent me a new intstallation package. The package that I received contained a folder called Application Files (the file names all end in .deploy) as well as autorun.inf, setup.exe and a .application file. So I ran the setup file and instead of setting-up the application it just seems to run the .application file! There were no .exe or config.exe files created at all.

    Over the weekend the developer has built a further installation package and this time I get a System Update Required message concerning the assembly System Web Extensions! Having googled this assembly it seems to have something to do with AJAX2 - but how can this be as we are talking about a windows application?

    What are we doing wrong?

    Thanks in anticipation.

    Chris

  • Re: Deploying Windows Application - GAC Errors

    06-29-2009, 6:16 AM
    • Member
      point Member
    • cbjroms123
    • Member since 01-28-2008, 12:21 PM
    • Posts 11

    Update - I just found the following post from someone who had exactly the same problem and also couldn't understand why that library had been included with the project build.

    http://www.eggheadcafe.com/conversation.aspx?messageid=31743299&threadid=31743297

    So my developer  has  simply marked that library as "Exclude" and published the application again.

    BUT, when I upack the published application onto my PC and run the setup.exe file it just runs the .application file (which tries to start the application but fails) rather than create a .exe file!

    This is very frustrating and so any help would be very much appreciated.

    Thanks

    Chris

  • Re: Deploying Windows Application - GAC Errors

    07-03-2009, 3:08 AM
    Answer

     Hi,

    Please make sure you didn't add reference to assembly that is in System.Web.Extensions from your Windows Form application.

    Since it is Windows Form application, I suggest you ask this question on http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads where there are many ClickOnce and Setup experts.

     

    Thanks.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (3 items)