Last post Jul 07, 2014 02:22 AM by robby32
Jul 03, 2014 03:46 AM|robby32|LINK
Can i do the following ? I would like to set the $(ProjectName) as soon as the file is first loaded. It is a class that wont change.
Reason is because i need to create multiple of these but each will have a different name as the project. lets says the project was called Project1 then I would hvae to add the using for that via ctrl +. if it was Project2 the same etc .
This comes off a template that I have created and every time i need to create a project i just use the template , but i couldnt find a way to set the using as the same name I give the project when creaating
Jul 03, 2014 08:08 AM|PANkaj9999|LINK
You should use SAME namespace for all project.
Jul 04, 2014 05:17 AM|Starain chen - MSFT|LINK
As PANkaj9999 said that you could use the same namespace. After that you could use
For the different class name, you could have an interface, then the classes are implement this interface.
IMyInterfase instance1=new Class1();
Jul 07, 2014 02:22 AM|robby32|LINK