0
5
llucycodes42
The code in this example shows how to create a project that uses the .NET Core 2.0 target framework and ASP.NET Core 2.0. The project includes an wwwroot folder, which contains all the source code for the project. The package reference references the Microsoft.AspNetCore.All package, which provides all the tools and dependencies needed to develop ASP.NET Core 2.0 applications.
Shortcut: ac_csproj_2.0
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
</ItemGroup>
</Project>