Clean up csproj files (#1754)

This commit is contained in:
James Newton-King
2018-06-30 22:14:08 +08:00
committed by GitHub
parent 7217c484e9
commit aa954a93f5
2 changed files with 4 additions and 20 deletions
@@ -1,10 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Target Name="WorkAroundPackageAndProjectReferenceConflict" BeforeTargets="ResolveLockFileReferences">
<ItemGroup>
<!-- Required for https://github.com/dotnet/roslyn-project-system/issues/1386 -->
<ResolvedCompileFileDefinitions Remove="@(ResolvedCompileFileDefinitions)" Condition="'%(ResolvedCompileFileDefinitions.Filename)' == 'Newtonsoft.Json'" />
</ItemGroup>
</Target>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
@@ -12,8 +6,8 @@
<RootNamespace>Newtonsoft.Json.TestConsole</RootNamespace>
<AssemblyName>Newtonsoft.Json.TestConsole</AssemblyName>
<IsPackable>false</IsPackable>
<!-- Workaround for https://github.com/dotnet/sourcelink/issues/91 -->
<DeterministicSourcePaths Condition="'$(EnableSourceLink)' == ''">false</DeterministicSourcePaths>
<!-- Disabled because SourceLink isn't referenced to calculate paths -->
<DeterministicSourcePaths>false</DeterministicSourcePaths>
</PropertyGroup>
<ItemGroup>
<None Remove="BenchmarkDotNet.Artifacts\**" />