C # class Library project manually turned into an ASP. NET WEB Application project

Source: Internet
Author: User

Step 1: Manually open the project file with the text Editing tool ". csproj" Step 2: Add "<ProjectTypeGuids>" and "<Import>" nodes
<?XML version= "1.0" encoding= "Utf-8"?><ProjectToolsVersion= "12.0"DefaultTargets= "Build"xmlns= "http://schemas.microsoft.com/developer/msbuild/2003">  <ImportProject= "$ (msbuildextensionspath) \$ (msbuildtoolsversion) \microsoft.common.props"Condition= "Exists (' $ (msbuildextensionspath) \$ (msbuildtoolsversion) \microsoft.common.props ')" />  <PropertyGroup>    <ConfigurationCondition= "' $ (Configuration) ' = = '">Debug</Configuration>    <PlatformCondition= "' $ (Platform) ' = = '">AnyCPU</Platform>    <ProjectGuid>{06ae699e-ee6c-4ff2-ac4a-4cd653cf256e}</ProjectGuid>     <projecttypeguids>{349C5851-65DF-11DA-9384-00065B846F21}; {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} </ Projecttypeguids >   </PropertyGroup>  <ImportProject= "$ (MSBuildToolsPath) \microsoft.csharp.targets" />  <Import  Project= "$ (vstoolspath) \webapplications\ Microsoft.WebApplication.targets "  Condition=" ' $ (vstoolspath) '! = ' ' " /><  Import  Project= "$ (MSBuildExtensionsPath32) \microsoft\visualstudio\v10.0\ Webapplications\microsoft.webapplication.targets "  Condition=" false " />   </Project>
Description: Test passed in Visual Studio 2013, other versions not tested.

C # class Library project manually turned into an ASP. NET WEB Application project

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.