Pathmap does not seem to be working, resulting in determinism failure
See original GitHub issueVersion Used: .NET SDK 5.0.101
For simplicity the repro doesn’t reference an NuGet package that includes .cs files out of the package cache, but /pathmap appears to not be working for .cs files out of the package cache either. I can provide a repro involving the package cache if that is useful.
Repro.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<IncludeSymbols>true</IncludeSymbols>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>
Class1.cs
public class Class1 { }
dotnet pack -c Release
creates a package that does this:
Here’s what the SDK provided to csc:
Here are the filenames in the PDB (in the case of the repro that includes source from the package cache, the package cache path is not mapped either):
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
c# - How can we avoid showing the literal path in ...
The build property or rather msbuild parameter is /pathmap or <PathMap> . ... Error Messages, on the other hand, are crafted for Users....
Read more >Implementing record and refinement for debugging timing- ...
One important requirement of our test-driven fault navigation is the reproducibility of failures. Unfortunately, the bug report from above ...
Read more >A Possible Failure of Determinism in General Relativity
This scenario would represent a failure of determinism: one would not be able to use the initial data to predict the state of...
Read more >Why the Classical Argument Against Free Will Is a Failure
The question of whether determinism is true is an open question for physicists. So the classical argument against free will is a failure...
Read more >Causal Determinism - Stanford Encyclopedia of Philosophy
For a variety of reasons this approach is fraught with problems, and the reasons explain why philosophers of science mostly prefer to drop ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/NuGet/Home/issues/9810
The 5.0.302 SDK seems to have switched to using commas instead of semicolons in the pathmap. This bug was fixed somewhere between 5.0.101 and 5.0.302.