Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving/Copying .NET project to another folder
Message
From
19/11/2009 07:40:30
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
18/11/2009 20:53:20
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01435384
Message ID:
01435546
Views:
31
>>Bonnie, I guess I "meant" solution. There's one project in the solution.
>>
>>I added the reference via the IDE by navigating to the folder containing the .DLL.
>>
>>I suppose that means that it's hard coded???
>>
>>If so is there a way that I can change that pathing on the production machine?

>
>Well, I guess I shouldn't have said "you'll have problems", because it's a relatively easy thing to fix. You have two options once you move your solution to the production machine:
>
>1) Manually modify the .proj file (outside of VS, with Notepad or something similar) to change the hard-coded path to the new path.
>
>2) Open the solution once it's on your production machine. Remove the reference and then add it back in the same way you did when it was on your development machine (navigate to the folder containing the DLL).
>
>I recommend Option #2 ... very easy, not error-prone. Don't know why I even mentioned Option #1. <g>
>
>~~Bonnie

A third way I always use is to click on the reference so it is highlighted and then go to the property page. The path is right there in the properties and you can edit that. Then boom the exlamation goes away on the reference.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform