only use assembly merging on Windows (#126)

Costura doesn't work on Linux and Mac, but we can just add a separate DLL for Json.NET on those platforms.
This commit is contained in:
Jesse Plamondon-Willard 2016-10-27 00:40:48 -04:00
parent 4e17de2f2c
commit e643a38b78
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<Import Project="..\packages\Fody.1.29.4\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.1.29.4\build\dotnet\Fody.targets')" />
<Import Project="..\packages\Fody.1.29.4\build\dotnet\Fody.targets" Condition="$(OS) == 'WINDOWS_NT' AND Exists('..\packages\Fody.1.29.4\build\dotnet\Fody.targets')" />
<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>