From fb865bbb3d333b3688e14ec9e68d1ce3789711bc Mon Sep 17 00:00:00 2001 From: maldworth Date: Thu, 21 Nov 2019 06:06:59 -0500 Subject: [PATCH] Update nuget packages and cake build - update to latest nuget package references - create snupkg for nuget.org symbols server - add Microsoft.SourceLink.GitHub package to allow for github SourceLink debugging --- build.cake | 3 --- src/FileCache.Signed/FileCache.Signed.csproj | 16 +++++++++++++--- .../FileCache.UnitTests.csproj | 8 ++++---- src/FileCache/FileCache.csproj | 16 +++++++++++++--- 4 files changed, 30 insertions(+), 13 deletions(-) diff --git a/build.cake b/build.cake index 7a1aea1..159152f 100644 --- a/build.cake +++ b/build.cake @@ -41,7 +41,6 @@ Task("Restore-NuGet-Packages") settings .WithTarget("Restore") .SetConfiguration(configuration) - .UseToolVersion(MSBuildToolVersion.VS2017) ); }); @@ -54,7 +53,6 @@ Task("Build") settings .WithTarget("Build") .SetConfiguration(configuration) - .UseToolVersion(MSBuildToolVersion.VS2017) ); }); @@ -78,7 +76,6 @@ Task("Create-NuGet-Packages") var settings = new MSBuildSettings() .WithTarget("Pack") .SetConfiguration(configuration) - .UseToolVersion(MSBuildToolVersion.VS2017) .WithProperty("PackageOutputPath",artifactDirectory); // Pack the Sln (unit tests has the to false) diff --git a/src/FileCache.Signed/FileCache.Signed.csproj b/src/FileCache.Signed/FileCache.Signed.csproj index fb1276a..3316508 100644 --- a/src/FileCache.Signed/FileCache.Signed.csproj +++ b/src/FileCache.Signed/FileCache.Signed.csproj @@ -3,8 +3,7 @@ net40;net45;netstandard2.0 false cache objectcache System.Runtime.Caching.ObjectCache - https://github.com/acarteas/FileCache/blob/master/LICENSE - https://github.com/acarteas/FileCache + Apache-2.0 Adam Carter FileCache is a concrete implementation of the .NET System.Runtime.Caching.ObjectCache that uses the local filesystem as the target location. Copyright (c) 2012, 2013, 2017 Adam Carter (http://adam-carter.com) @@ -14,6 +13,16 @@ true 0.0.0 false + + True + portable + + true + true + snupkg + + + true @@ -29,7 +38,8 @@ - + + All diff --git a/src/FileCache.UnitTests/FileCache.UnitTests.csproj b/src/FileCache.UnitTests/FileCache.UnitTests.csproj index 7278d39..2743690 100644 --- a/src/FileCache.UnitTests/FileCache.UnitTests.csproj +++ b/src/FileCache.UnitTests/FileCache.UnitTests.csproj @@ -7,10 +7,10 @@ - - - - + + + + diff --git a/src/FileCache/FileCache.csproj b/src/FileCache/FileCache.csproj index ca45404..f184cee 100644 --- a/src/FileCache/FileCache.csproj +++ b/src/FileCache/FileCache.csproj @@ -3,8 +3,7 @@ net40;net45;netstandard2.0 false cache objectcache System.Runtime.Caching.ObjectCache - https://github.com/acarteas/FileCache/blob/master/LICENSE - https://github.com/acarteas/FileCache + Apache-2.0 Adam Carter FileCache is a concrete implementation of the .NET System.Runtime.Caching.ObjectCache that uses the local filesystem as the target location. Copyright (c) 2012, 2013, 2017 Adam Carter (http://adam-carter.com) @@ -13,13 +12,24 @@ Adam Carter System.Runtime.Caching false + + True + portable + + true + true + snupkg + + + true Auto - + + All