Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Change rootnamespace key for guidace packages
 

Change rootnamespace key for guidace packages

Hi!

I'm trying to embed the SCFF and WCSF into one solution. I'm almost there but there's still one last thing that has to be fixed. The thing is that I want different namespaces for the web and desktop projects ( such as "<companyname>.<project>.SmartClient" and "<companyname>.<project>.WebClient".

Since both theguidance packages for SCSF and WCSF use the rootnamespace key found in the .sln file, I must somehow separete them with another key. So the solution to my problem would be to make one of the guidance packages to use an alternative key (ex rootwebnamespace).

But the problem is that I'm not really sure how. What do I have to do inorder to add the extra key?

I've found a couple of .xml files in the recipe folders for the guidance packages, but just changing those didn't fix it, I guess they have to be reregistered somhow?

Thanx!

/Jari

Jarpi  Wednesday, December 05, 2007 8:28 AM
Hi Jari,
$rootnamespace$ is a Vs builtin property and its value is the namespace for a given project
so both packages are using it in its recipes for unfold templates. I'm not sure if I've understood well your issue, but If your idea is to have more than one namespace in a project you've to do a lot of changes in both packages.

Try to post the issue in the WSSF forum @ codeplex
http://www.codeplex.com/servicefactory/Thread/List.aspx
Jose Escrich  Monday, December 10, 2007 2:33 PM
Hi Jari,
$rootnamespace$ is a Vs builtin property and its value is the namespace for a given project
so both packages are using it in its recipes for unfold templates. I'm not sure if I've understood well your issue, but If your idea is to have more than one namespace in a project you've to do a lot of changes in both packages.

Try to post the issue in the WSSF forum @ codeplex
http://www.codeplex.com/servicefactory/Thread/List.aspx
Jose Escrich  Monday, December 10, 2007 2:33 PM

Thanks for your reply!

I managed to add an additional $rootwebnamespace$ forWCSF. Ihad to do some minor change only in the receipes for WCSF as I could continue to use the default $rootnamespace$ forSCSF.

The reason why the It didn't work before was because I had to disable/enable the Guidance Packages in order to reload the recieps,as reloading VS was not enough.

This far it seems to work fine which I hope it will continue to do.

Jarpi  Thursday, December 20, 2007 3:32 PM

You can use google to search for other answers

Custom Search

More Threads

• Error while using Guidance package in Ent Lib 3.0 for Strong Naming DLLs
• Documentation with recipes
• how to re-enable register/unregister/quick register guidance package
• Limiting "SolutionPickerEditor" to select only Folders
• What's new in the February 2007 CTP of GAX/GAT?
• Cannot install DataAccessGuidancePackageSetup.msi
• Microsoft.Practices.RecipeFramework.VisualStudio
• Project reference
• Trying To Use Solution Folders for Projects
• Type of Document objects retrieved from DTE