Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > $projectName$ Give current project name
 

$projectName$ Give current project name

Hello everyone ,

I am using software factory toolkit.I have a problem regarding $projectName$.

Let I give my project name as Test and location C:\try.I have2 projects.

portal.Test.Business and portal.Test.data.

In .csproj file of portal.Test.Business project

<Reference Include="Portal.Test.Data">
<Name>Portal.$projectName$.Data</Name>
<HintPath>..\..\..\..\Assembly\Portal.Test.Data.dll</HintPath>
</Reference>

Here the $projectName$ gives portal.Test.Business (I.e current project name)

But I want Only Test (i.e the name given to solution initially).

I also use argument value declare in my Createsolution.xml file

<Argument Name="SolutionNamespace">
<Converter Type="Microsoft.Practices.RecipeFramework.Library.Converters.NamespaceStringConverter, Microsoft.Practices.RecipeFramework.Library"/>
<ValueProvider Type="ExpressionEvaluatorValueProvider" Expression="$(safeprojectname)"/>
</Argument>

And I use $SolutionNamespace$ in .csproj file but it doesnot work ,it return

Portal.$SolutionNamespace$.Data

Telll me what wrong with this,or there is any replacement parameter that give the name of project given initially.

Please reply as soon as possible

Thanks.

Monesh  Saturday, June 16, 2007 9:32 AM

I just replied to a previous post from you:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1753481&SiteID=1

which I think is the same issue.

Let me know if that works.

thanks,

-Victor.

vga  Tuesday, June 19, 2007 12:27 PM

I just replied to a previous post from you:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1753481&SiteID=1

which I think is the same issue.

Let me know if that works.

thanks,

-Victor.

vga  Tuesday, June 19, 2007 12:27 PM

You can use google to search for other answers

Custom Search

More Threads

• Registering guidance package problem
• Simple class template reference
• How can i add a project in existed Solutionfolder??
• Combobox in a wizard
• Remove Extra Lines using TextTemplateAction
• Recipe Designer - No toolbox items
• Visual Studio 2008 Smart Client software Factory
• GAT Wrapper
• *.vstemplate for and *.csproj/*.vbproj must be kept in sync.
• Custom Guidance Package Deployment