Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YAQ on moving ASP.NET project
Message
From
25/06/2010 16:32:51
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01470598
Message ID:
01470618
Views:
31
>>>>>I moved an APS.NET project to a new location. The previous location was in the c:\inetpub\wwwroot\MyProject. The new location is d:\VS2005\MyProject. Then I open the project in the new location. I see all pages and the properties of the pages point to the new location.
>>>>>
>>>>>But when I try to rebuild the project (in VS 2005) I get a bunch of errors of this type:
>>>>>
>>>>>Error 3 D:\VS2005\MyProject\MyPage.aspx: ASP.NET runtime error: Could not find a part of the path 'C:\Inetpub\wwwroot\MyProject\'.
>>>>>
>>>>>Why does VS looks for the folder name of the project location in the old place?
>>>>>
>>>>>TIA.
>>>>
>>>>
>>>>I'm confused... are you saying Project instead of Solution?
>>>
>>>When I moved the files to a new location I opened the project in the VS 2005 in the new location (by pointing to the file MyProject.csproj). This opened the project in the VS 2005. Does this clarify it?
>>
>>So you don't keep/maintain solution files? I didn't even realize that was possible.
>
>This is what I am confused about. When I open a file (.ascx) in the VS 2005, the top line has the this squiggly underline under the following:
>
>
><@ Control Language="c#" AutoEventWireup="True" Codebehind="MyHeader.ascx.cs" Inherits="MyProject.MyHeader" TargetSchema="http://schemas.microsoft.com/intellisense/ie5">
>
>
>When I point mouse at this line I see the following message:
>
>
>D:\VS2005\MyProject\MyHeader.ascx: ASP.NET runtime error: Could not find a part of the path 'c:\inetpub\wwwroot\MyProject\'
>
>
>So I am wondering is to where in the new location the line 'c:\inetpub\wwwroot\MyProject' got stock.

Dimtry if you give me a call we can do a GoToMeeting session and sort it out. 903-876-5511
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform