如何转换一个类库项目到Web应用程序项目? [英] How to convert a Class Library project to a Web Application project?
问题描述
长话短说,因为与架构,事实上,已经有人把几.aspx文件在类库的一些问题,我想刚刚玩完变化和转换类库到Web应用程序。这是使用Visual Studio 2010和.NET 4.0。是否有这样做的一个简单的方法?谢谢!
Long story short, because of some issues with architecture and the fact that someone already put a few .aspx files in a class library, I'd like to just finish off the change and convert a class library to a web application. This is using Visual Studio 2010 and .NET 4.0. Is there an easy way of doing this? Thanks!
编辑:我希望有一个比重建项目更好的方法,我有太多的问题,断开的引用,当我试图只创建一个新的项目,其中包括我似乎从来没有解决
I was hoping for a better method than recreating the project, I had too many issues with broken references when I tried just creating a new project, including one I could never seem to fix.
推荐答案
在创建您的解决方案,将一个新的Web应用程序项目拖放从类库中的所有文件到新的Web应用程序项目。
Create a new web application project in your solution and drag and drop all files from class library to the new web application project.
这篇关于如何转换一个类库项目到Web应用程序项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!