ASP.NET 2005, moved a project to a new computer, wont build
Posted on 2008-06-15
I had all my VS2005 projects on my XP laptop which is all but dead (old machine). I have a new laptop now, Windows Vista Home Premium. I copied those files to a flash drive. I installed VS 2005 on my Vista laptop, updated to the latest patches. I copied my VS projects into my projects directory. I modified my solutions file to reference the new path.
My ASP.NET project opens fine but it does not compile. I get this:
Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
The thing is I'm on Vista Home Premium, IIS isn't even installed, yet I can create a new web project and run it fine locally. Its only when I try to build/compile my moved project that I get this error.
Does anyone know what I need to do? Thanks!