File Not Found Error in ASP.NET Web Application
-
Hello All, Firstly I am not sure if this should be posted hear or in the ASP.NET forum. I have browsed the web looking for a solution to this issue but have not had any luck. I am using Visual Studio 2005 and when I am building a Web Application all my links to external files, stylesheets, javascript files and images within the ASPX file come back with file was not found errors. The strange thing is these errors do not always occur. When I do get the errors, I just shut down Visual Studio and then re-open it and the problem goes away temporarily. For example, I have a master page file and in the ASPX file I have the following line of html within the section: I know this is working as all the styles work when I browse to the application. After a few rebuilds a red line appears under the href link and all other rebuild produce the file not found error. As mentioned, the only way I am able to rebuild the solution is to restart Visual Studio. Any clues on where I can fix this issue would be greatly appreciated. Thanks James