Project options in VS .NET
-
Hi, Hi, is there any way, to organize files in a VS .NET project other than the way VS does it? I want to habe a seperate folder for my *.cs files and another one for the project files like *.proj and *.sln. When I create these folders on my hardsisk and move the source and project files accordingly, set the new locations in VS, then VS copies them back into the old directory. Any solution to this? This was easy in visual studio 6.0 but I don't know how to do in in .NET. Second question: When i have some local source files and add some external references to my project optione (i.e. source files on a server), vs doesn't seem to recognize them when i want to use their namespace. When I add them via "add - existing item", vs automatically copies them to my project folder, but I want them to be only on the server.
-
Hi, Hi, is there any way, to organize files in a VS .NET project other than the way VS does it? I want to habe a seperate folder for my *.cs files and another one for the project files like *.proj and *.sln. When I create these folders on my hardsisk and move the source and project files accordingly, set the new locations in VS, then VS copies them back into the old directory. Any solution to this? This was easy in visual studio 6.0 but I don't know how to do in in .NET. Second question: When i have some local source files and add some external references to my project optione (i.e. source files on a server), vs doesn't seem to recognize them when i want to use their namespace. When I add them via "add - existing item", vs automatically copies them to my project folder, but I want them to be only on the server.
Solution 1: Create Folder in your projetc and keep your .cs files in that folder. Right lick on project and select "New Folder" Soultion 2: Create an assembly of external classes and install in GAC. Now, you could access the code without copying to local directory. Sanjay Sansanwal www.sansanwal.com