Skip to content

Instantly share code, notes, and snippets.

@MelbourneDeveloper
Created December 25, 2020 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MelbourneDeveloper/0151dc2e6da2cc41f4e9901a4f66b253 to your computer and use it in GitHub Desktop.
Save MelbourneDeveloper/0151dc2e6da2cc41f4e9901a4f66b253 to your computer and use it in GitHub Desktop.
Device.Net csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<TargetFrameworks>netstandard2.0;net45;</TargetFrameworks>
<NoWarn>NU5125</NoWarn>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<DocumentationFile>Device.Net.xml</DocumentationFile>
<Version>4.0.5-alpha</Version>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<ContinuousIntegrationBuild>True</ContinuousIntegrationBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\README.md" Link="README.md" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
<Compile Remove="Logging/*.*" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions">
<Version>3.1.7</Version>
</PackageReference>
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment