ASP NET Core 2 1 csproj Generator

    0

    2

    lucycodes42

    C# recipes

    This code contains the following:

    1. TargetFramework: netcoreapp2.1
    2. Folder Include: wwwroot
    3. PackageReference Include: Microsoft.AspNetCore.All: Version=2.1.0

    The target framework is netcoreapp2.1, which means that this project will run on the .NET Core 2.1 platform. The wwwroot folder is included in the project so that the wwwroot folder is available as a source directory for the project. Additionally, the Microsoft.AspNetCore.All package is referenced so that all of the ASP.NET Core dependencies are included in the project.

    Shortcut: ac_csproj_2.1

    <Project Sdk="Microsoft.NET.Sdk.Web">
      <PropertyGroup>
        <TargetFramework>netcoreapp2.1</TargetFramework>
      </PropertyGroup>
      <ItemGroup>
        <Folder Include="wwwroot\" />
      </ItemGroup>
      <ItemGroup>
        <PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0" />
      </ItemGroup>
    </Project>
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.