Skip to content

Commit

Permalink
Internalize JSON.net.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Theken committed Jan 22, 2015
1 parent 2edc7ed commit 8bfcd9f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ src/Postmark.PCL.Tests/App.config
sn-build
*.il
*.res
src/packages/
src/packages/
Postmark.dll
6 changes: 4 additions & 2 deletions pack-nuget.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ mkdir PCL
mkdir Convenience
cd ..

build-bin\ILRepack.exe /keyfile:src\Postmark.PCL\key.snk src\Postmark.PCL\bin\Release\Postmark.dll src\Postmark.PCL\bin\Release\Newtonsoft.Json.dll /out:sn-build\PCL\Postmark.dll
build-bin\ILRepack.exe /keyfile:src\Postmark.PCL\key.snk src\Postmark.Convenience\bin\Release\Postmark.dll src\Postmark.Convenience\bin\Release\Newtonsoft.Json.dll src\Postmark.Convenience\bin\Release\Postmark.dll src\Postmark.Convenience\bin\Release\Postmark.Convenience.dll /out:sn-build\Convenience\Postmark.dll
build-bin\ILRepack.exe /internalize /keyfile:src\Postmark.PCL\key.snk src\Postmark.PCL\bin\Release\Postmark.dll src\Postmark.PCL\bin\Release\Newtonsoft.Json.dll /out:sn-build\PCL\Postmark.dll

build-bin\ILRepack.exe /internalize src\Postmark.Convenience\bin\Release\Postmark.dll src\Postmark.Convenience\bin\Release\Newtonsoft.Json.dll /out:Postmark.dll
build-bin\ILRepack.exe /keyfile:src\Postmark.PCL\key.snk Postmark.dll src\Postmark.Convenience\bin\Release\Postmark.Convenience.dll /out:sn-build\Convenience\Postmark.dll

NuGet.exe pack ./postmark-strong.nuspec
2 changes: 1 addition & 1 deletion src/Postmark.PCL.Tests/Postmark.PCL.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
<HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
Expand Down
2 changes: 1 addition & 1 deletion src/Postmark.PCL.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.3" targetFramework="net45" />
<package id="NUnit" version="2.6.0.12054" targetFramework="net45" />
</packages>

0 comments on commit 8bfcd9f

Please sign in to comment.