VSeWSS – Depolyment Gotcha!

So I’m using VSeWSS on a project at the moment and have just discovered something that I should share.

The setup.bat file that is generated to deploy the solution (.wsp) file to your development box is not perfect for use when you’re going to PROD. I’ve just found the first of the short commings.

It’s this line:

echo Deploying solution %PackageName% ...
"%SPAdminTool%" -o deploysolution -name "%PackageName%" -local -allowGacDeployment -url %TargetWebUrl%

The use of the -local argument prevents this solution from propagating out to the other servers in the farm. So no biggie if you’re only running a single front end node, but a headache if you have a multi server environment….

Advertisement
This entry was posted in SharePoint, Visual Studio, VSeWSS. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.