S1K4RA / dotNET-Template

Basic API Template using Newtonsoft library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotNET-Template

Basic API Template using Newtonsoft library

How To Use

  1. Download project and save as .zip file
  2. Place the .zip file at Visual Studio Project Templates Folder (ex. ..\Documents\Visual Studio 2019\Templates\ProjectTemplates)
  3. Restart Visual Studio
  4. Load project as template for new project(s)
  5. Open .csproj file in Text Editor App
  6. Comment this line (If still exist)
 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
  </Target>
  1. Build the project
  2. You're good to go :)

About

Basic API Template using Newtonsoft library


Languages

Language:C# 99.3%Language:ASP.NET 0.7%