Posts

Showing posts from May, 2005

Opening ASP.NET examples in Developer Studio .NET

I'm just getting started with ASP.NET and have been downloading example ASP.NET projects from sites such as http://authors.aspalliance.com. When I unzipped these projects and tried to open them in Visual Studio .NET I get the following really helpful message: --------------------------- Microsoft Development Environment --------------------------- Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development component. --------------------------- OK Help --------------------------- I'd already got ASP.NET project up and running so luckily didn't take much notice of the error message. It turned out that all I needed to do was define a new virtual directory in IIS that matches the one the project was configured for. The expected virtual directory can be found in the project's .csproj.webinfo file. Here's an example one: &l