Skip to content

Commit

Permalink
Fixing protobuf-net project.json deps to not link standard lib to ful…
Browse files Browse the repository at this point in the history
…l clr targets...

Fix docfx build
  • Loading branch information
MichaCo committed Aug 21, 2016
1 parent 0c22dd0 commit 1394980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Documentation/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ SETLOCAL
SET NUGET_VERSION=latest
SET CACHED_NUGET=%LocalAppData%\NuGet\nuget.%NUGET_VERSION%.exe

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
call dnvm install latest

IF EXIST %CACHED_NUGET% goto copynuget

echo Downloading latest version of NuGet.exe...
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://dist.nuget.org/win-x86-commandline/%NUGET_VERSION%/nuget.exe' -OutFile '%CACHED_NUGET%'"
Expand All @@ -21,6 +25,7 @@ IF EXIST msdn.4.5.2 goto build
.nuget\nuget.exe install docfx -ExcludeVersion -pre -Out packages

:build

call dnu restore packages\docfx\app
del "*.log"
call packages\docfx\app\docfx.cmd metadata -l meta.log --logLevel info -f
Expand Down
2 changes: 0 additions & 2 deletions src/CacheManager.Serialization.ProtoBuf/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@
},
"dependencies": {
"CacheManager.Core": "0.9.0-*",
"NETStandard.Library": "1.6.0",
"protobuf-net": "2.1.0"
},

"frameworks": {
"netstandard1.3": {
"imports": "dnxcore50"
},
"net40": {
"dependencies": {
Expand Down

0 comments on commit 1394980

Please sign in to comment.