views:

62

answers:

1

Recently I've upgraded from Visual Studio 2008 to Visual Studio 2010, however I'm having various problems when uploading my compiled web site to the live area. I'm doing exactly the same as I would have done with Visual Studio 2008, however, now I receive errors such as:

{filename}.aspx is not a pre-compiled file

masterpage.master does not exist

All these errors don't make sense. Has anyone encountered these problems before, and was a solution ever found?

A: 
  • Try run the Clean Solution command from the Build menu on your solution. alt text
  • Try diagnosing by publishing to a brand new IIS location. Perhaps there are files from your VS2008 build that aren't being overwritten by your VS2010 build.
  • Are all the files present in the bin directory as you'd expect?
  • Is there an PrecompiledAppConfig.config file in the root?
p.campbell
@p.campbell : The only one of those points I'm unsure about is a 'Clean Solution'. How would I run this command in VS2010? Thanks.
Curt
Thats strange as 'Clean Solution' doesn't appear on my VS2010 :S http://img14.imageshack.us/img14/7664/82991958.jpg . I'm running version 10.0.30319.1
Curt