![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can someone tell me if .NET 2.0 framework has a namespace to enable project references to be changed programmatically? My C# project files are stored in source control with DLL references but I want to be create a utility that changes the DLL references to project references in the project file. This is so that all of the projects can be run in debug but without having to manually change the references each time. Obviously I can use the Xml namespace but I was wondering if there's an easier way. |
#3
| |||
| |||
|
|
Why do you store them in source control with DLL references instead of project references? -- Robbe Morris [Microsoft MVP - Visual C#] AdvancedXL Server, Designer, and Data Analyzer Convert cell ranges in Excel to rule driven web surveys http://www.equalssolved.com/default.aspx "chris fellows" <chrisfellows (AT) nospam (DOT) co.uk> wrote in message news:%23dCHHfXTIHA.4440 (AT) TK2MSFTNGP06 (DOT) phx.gbl... Can someone tell me if .NET 2.0 framework has a namespace to enable project references to be changed programmatically? My C# project files are stored in source control with DLL references but I want to be create a utility that changes the DLL references to project references in the project file. This is so that all of the projects can be run in debug but without having to manually change the references each time. Obviously I can use the Xml namespace but I was wondering if there's an easier way. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Because it is the best solution in our particular circumstances. I'm fully aware of the pros and cons of both solutions. "Robbe Morris - [MVP] C#" <info (AT) eggheadcafe (DOT) com> wrote in message news:%232ZYh1XTIHA.2000 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Why do you store them in source control with DLL references instead of project references? -- Robbe Morris [Microsoft MVP - Visual C#] AdvancedXL Server, Designer, and Data Analyzer Convert cell ranges in Excel to rule driven web surveys http://www.equalssolved.com/default.aspx "chris fellows" <chrisfellows (AT) nospam (DOT) co.uk> wrote in message news:%23dCHHfXTIHA.4440 (AT) TK2MSFTNGP06 (DOT) phx.gbl... Can someone tell me if .NET 2.0 framework has a namespace to enable project references to be changed programmatically? My C# project files are stored in source control with DLL references but I want to be create a utility that changes the DLL references to project references in the project file. This is so that all of the projects can be run in debug but without having to manually change the references each time. Obviously I can use the Xml namespace but I was wondering if there's an easier way. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |