Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How do I change the solution ID?

$
0
0

I will reveal my ignorance...

Here's the situation...

We had a SP 2010 solution and decided to create another solution with some parts missing from the original.

So, I created a new branch in Subversion and copied over all of the other solution to this branch. Then I deleted the pieces we didn't want in the new solution. Then I opened up this new solution in Visual Studio 2010.

When I deployed this new .wsp file onto our test server, it overwrote the old solution since it had the same name and folder structure (and solution ID).

Now, I'm told that we need to have both the old and new versions of this solution on the test server at the same time. So, I renamed the solution and associated folders and rebuilt the solution, then deployed this on the test server.

As you have probably guessed, it failed to deploy since the solution ID is still the same as the old solution.

I suppose I could extract the manifest.xml file (and the feature.xml one for the feature, also), enter new GUIDs into these files and then rebuild the .wsp file, but I want the new guids in the new solution permanently.

How should I proceed? Do I need to create an entirely new, empty solution and then build it piece-by-piece from the other solution - adding files until it's all there? (I hope there's an easier way.)

Any help will be appreciated.


Dan

Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>