Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Newbie question: <AssemblyName>me.myDAL</AssemblyName> not working?
 

Newbie question: <AssemblyName>me.myDAL</AssemblyName> not working?

Hi,
Thanks for the help in advance.

I am not sure if this is a GAT or VS template issue. But the <AssemblyName> attribute seems to be triming the given name in the projectname.vstemplate file.

So if I provide myfile.name as the assembly name, when the template unfolds, it uses "name" as the assembly name in the project. The same is true if you use replacement parameters. So you would just be left with $projectname$ and not the fully qualified name myfile.name.$projectname$.

Not a massive issue, but nice to enfore consistency for naming standards etc.

Thanks.

Zack

Zack22  Friday, February 24, 2006 4:23 PM
Jezz is right. The AssemblyName property is replaced with the project name you choose.
Having a separate action enforce the convention is your only option, I'm afraid.
kzu  Thursday, March 02, 2006 1:09 PM

This is an issue with VS (I believe).

It actually seems to overwrite any value you put in the <AssembyName>after the project is created.

I have solved this problem by creating a seperate action that overwrites the AssemblyName property of the EnvDTE.Project after the template unfolds.

Jezz Santos  Wednesday, March 01, 2006 12:08 PM
Jezz is right. The AssemblyName property is replaced with the project name you choose.
Having a separate action enforce the convention is your only option, I'm afraid.
kzu  Thursday, March 02, 2006 1:09 PM

You can use google to search for other answers

Custom Search

More Threads

• GAT/GAX February 2007 CTP now available
• Documentation with recipes
• Creating solution folders which do not appear on disk
• How do you include a folder that has been excluded from a project?
• $ProjectName$ Doesnot shown in Solution Folder Name
• $projectName$ Give current project name
• How to use a custom utilty in GAT for geenrating Class files.
• Access Denied error on Install of Feb GAT
• GAT & BI products
• Error in creating new solution through SFT