SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Rolling out new versions of assemblies/webparts

Last post 05-12-2008, 9:18 AM by Stephen.Hynds. 1 replies.
Sort Posts: Previous Next
  •  05-09-2008, 9:53 AM 10587

    Rolling out new versions of assemblies/webparts

    I have a solution package which I have compiled and deployed to my servers.

    After piloting the site for a while there have been some changes to make to the webparts etc. which have been tested and I'm now getting ready to deploy to the live boxes again.

    If I package up my code and use the same version numbers for the DLL files will they overwrite the ones in the GAC, or will SharePoint when attempting to deploy the solution decide that seeing as the version numbers are the same it wont bother?

    My question is then - how will ammending my solution and features affect what is currently on the server.

    Examples - in the manifest.xml I have a list of assemblies and they add themselves to the safe controls list. By changing the version numbers of the DLLs I'll need to upgrade the version numbers in these safe control declarations, so will they overwrite the existing ones or just add themselves in too?

    .Webpart files will need to be changed to reflect the version - again will these overwrite the existing ones? (I'd think they would)

    Cheers!

  •  05-12-2008, 9:18 AM 10632 in reply to 10587

    Re: Rolling out new versions of assemblies/webparts

    I always seem to post things that confuse people.

    After doing some thinking would I be right in saying I can keep the assembly versions the same, but up the file versions which would then overwrite the dlls in the GAC with the right ones?

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems