C
CodeMonkey
Hi all,
I have an ASP .NET 2.0 project with the following path on my dev
machine:
D:\Profiles\MyUsername\My Documents\Visual Studio 2005\Projects
\abcWebSite2007\abcWebSite2007\Somefile.aspx
I have a Downloads foler in the above parent folder like this:
D:\Profiles\MyUsername\My Documents\Visual Studio 2005\Projects
\abcWebSite2007\abcWebSite2007\Downloads
The problem is that any files that I place in the downloads folder and
then link using the <a></a> element in the aspx page are not
recognized by the Visual Studio environment.
I get:
File 'downloads/somefile.doc' was not found in the errors list.
However when I run the project the files *can* be found and I can
download them on my dev machine.
I have a similar problem with images that I link to using the <img></
img> element. I get the warning in the errors list and the wavy red
line under the img element in the html, but the image previews fine.
Oddly, sometimes I get the error and sometimes I don't. Swapping
between designer view and Markup seems to usually clear the error, but
it often comes back.
If I use the PickURL popup to try and locate the file from the
designer, then I don't see the Downloads or Images folder. If I put
the files straight into the top level folder (directory path above)
then I don't see the files either.
Does anyone have any idea what is going on? Any help appreciated.
Thanks
Andrew
I have an ASP .NET 2.0 project with the following path on my dev
machine:
D:\Profiles\MyUsername\My Documents\Visual Studio 2005\Projects
\abcWebSite2007\abcWebSite2007\Somefile.aspx
I have a Downloads foler in the above parent folder like this:
D:\Profiles\MyUsername\My Documents\Visual Studio 2005\Projects
\abcWebSite2007\abcWebSite2007\Downloads
The problem is that any files that I place in the downloads folder and
then link using the <a></a> element in the aspx page are not
recognized by the Visual Studio environment.
I get:
File 'downloads/somefile.doc' was not found in the errors list.
However when I run the project the files *can* be found and I can
download them on my dev machine.
I have a similar problem with images that I link to using the <img></
img> element. I get the warning in the errors list and the wavy red
line under the img element in the html, but the image previews fine.
Oddly, sometimes I get the error and sometimes I don't. Swapping
between designer view and Markup seems to usually clear the error, but
it often comes back.
If I use the PickURL popup to try and locate the file from the
designer, then I don't see the Downloads or Images folder. If I put
the files straight into the top level folder (directory path above)
then I don't see the files either.
Does anyone have any idea what is going on? Any help appreciated.
Thanks
Andrew