Blog Home  Home Feed your aggregator (RSS 2.0)  
What did you learn today? - Reference Paths and Web Projects
Phil Denoncourt's Technology Rants
 
 Wednesday, October 19, 2005

Visual Studio 2003 stores Reference paths for projects in the .User file. Not in the csproj file. I can't see why they wanted to store that information in a separate file. The settings pertain only to the specific project. Anyway, if your application's build is dependant upon having the reference paths set, make sure you are adding the .User files to your source control system. The csproj file is not enough.

Normally you can find the .User file in the same directory as the project file... Unless it is a web application/service. Then you will find the file in the VSWebCache folder. Which makes it very difficult to put that file under source control. I don't see a good solution to this problem. Maybe porting the build to use NAnt. Although that would be burdensome if we just wanted to debug the project. 

I guess the best solution is to architect your project so that it isn't dependant on a reference path.

Wednesday, October 19, 2005 9:27:33 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   DotNet  | 
Comments are closed.
Copyright © 2008 Phil Denoncourt III. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: