Is it possible to compile .NET 1.1 in Visual Studio 2008?

I have an ASP.NET 1.1 site and was recently updated to Visual Studio 2008. It looks like after compiling my projects to DLLs that they are not working and from what I put together it seems like VS2k8 cannot target on .NET 1.1. I still have Visual Studio 2003, so I can compile my projects with this, but I'm wondering if there is a way to compile them in Visual Studio 2008.

+2


source to share


7 replies


No, the minimum you can target is .NET 2.0. Why not just upgrade the project to .NET 2.0, or better yet 3.5?



the change in ViewState alone (not to mention other benefits) is one of the reasons for this.

+3


source


you can't like animal Scott Gu



but this article gives a workaround

+2


source


This is what MSBee was built for the address (albeit for Visual Studio 2005). The same can be applied to Visual Studio 2008 as well. See this article for how to customize it, as well as limitations you can consider:

http://devlicio.us/blogs/ziemowit_skowronski/archive/2008/08/22/working-with-net-1-1-in-visual-studio-2008-and-team-server.aspx

+1


source


No, you can only target .NET 2.0, 3.0 and 3.5 (look at your project properties).

This will also hold true for VS 2010 (adding .NET 4.0 to the list of course) as described by Scott Guthrie .

0


source


Yes, there is, but it's a hack. There is a blog article here on how to do this with the VS2005 beta here - http://blogs.msdn.com/jomo_fisher/archive/2005/04/22/410903.aspx You might be able to adapt this to work with VS2008.

My recommendation, however, would be to use VS2003 or .Net 2.0.

0


source


There's a line:

<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

      

in the csproj file.

I would not recommend it, but you can try setting it to v1.1. However, I suspect this will cause more problems than it will solve.

I would go with RichardOD's suggestion and either bit the bullet or update or find the Visual Studio 2005 version.

0


source


This is not supported in Visual Studio 2008. It only supports compilation to 2.0 and 3.5 environments.

0


source







All Articles