Skip to content

Commit 788386f

Browse files
committed
Disable implicit NuGet fallback folder
In order to try to fix this error seen on the GitHub action: > /home/runner/work/serilog-formatting-log4net/serilog-formatting-log4net/src/Serilog.Formatting.Log4Net.csproj : error NU1403: Package content hash validation failed for Microsoft.NETCore.Platforms.1.1.0. The package is different than the last restore. [/home/runner/work/serilog-formatting-log4net/serilog-formatting-log4net/serilog-formatting-log4net.sln] See NuGet/Home#8574 and https://github.com/NuGet/docs.microsoft.com-nuget/issues/1998
1 parent 22bcb0f commit 788386f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Serilog.Formatting.Log4Net.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
</PropertyGroup>
3333

3434
<PropertyGroup Label="Restoring">
35+
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
3536
<NuGetLockFilePath>../packages.lock.json</NuGetLockFilePath>
3637
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
3738
<RestoreLockedMode Condition="$(ContinuousIntegrationBuild) == 'true'">true</RestoreLockedMode>

0 commit comments

Comments
 (0)