sdk: Internal error: new deps file generation logic did not produce the same result as the old logic

I’ve included both the old and new deps files here.

Microsoft.AspNetCore.Razor.Test.MvcShim.deps.zip

Original error:

C:\Program Files\dotnet\sdk\3.0.100-preview4-011216\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(145,5): error : Internal error: new deps file generation logic did not produce the same result as the old logic. [C:\Github\aspnet\AspNetCore-Tooling\src\Razor\test\Microsoft.AspNetCore.Razor.Test.MvcShim\Microsoft.AspNetCore.Razor.Test.MvcShim.csproj]
C:\Program Files\dotnet\sdk\3.0.100-preview4-011216\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(145,5): error :     Please file an issue for this at https://github.com/dotnet/sdk and include the following two files:  [C:\Github\aspnet\AspNetCore-Tooling\src\Razor\test\Microsoft.AspNetCore.Razor.Test.MvcShim\Microsoft.AspNetCore.Razor.Test.MvcShim.csproj]
C:\Program Files\dotnet\sdk\3.0.100-preview4-011216\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(145,5): error :     Deps file from old logic: C:\Github\aspnet\AspNetCore-Tooling\artifacts\bin\Microsoft.AspNetCore.Razor.Test.MvcShim\Debug\netcoreapp3.0\Microsoft.AspNetCore.Razor.Test.MvcShim.deps.json [C:\Github\aspnet\AspNetCore-Tooling\src\Razor\test\Microsoft.AspNetCore.Razor.Test.MvcShim\Microsoft.AspNetCore.Razor.Test.MvcShim.csproj]
C:\Program Files\dotnet\sdk\3.0.100-preview4-011216\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(145,5): error :     Deps file from new logic: C:\Github\aspnet\AspNetCore-Tooling\artifacts\bin\Microsoft.AspNetCore.Razor.Test.MvcShim\Debug\netcoreapp3.0\Microsoft.AspNetCore.Razor.Test.MvcShim.deps.new.json [C:\Github\aspnet\AspNetCore-Tooling\src\Razor\test\Microsoft.AspNetCore.Razor.Test.MvcShim\Microsoft.AspNetCore.Razor.Test.MvcShim.csproj]
C:\Program Files\dotnet\sdk\3.0.100-preview4-011216\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(145,5): error :     You can work around this by setting the DepsFileGenerationMode MSBuild property to 'old' [C:\Github\aspnet\AspNetCore-Tooling\src\Razor\test\Microsoft.AspNetCore.Razor.Test.MvcShim\Microsoft.AspNetCore.Razor.Test.MvcShim.csproj]
dotnet --info:
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview4-011216
 Commit:    19c844a865

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview4-011216\

Host (useful for support):
  Version: 3.0.0-preview4-27613-07
  Commit:  5c329c85ae

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 30 (4 by maintainers)

Commits related to this issue

Most upvoted comments

@sabyabr Does the property in your .csproj look like this?

@dsplaisted it seems the issue is fixed in Net Core 3.0 Preview 5