Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Support projects that use the PathMap compiler switch to opt-in to deterministic builds
distilled
#1 Posted : Wednesday, March 21, 2018 5:11:04 PM(UTC)
Rank: Member

Groups: Registered
Joined: 8/3/2012(UTC)
Posts: 22

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
The PathMap compiler switch can be specified in a project file (or a Directory.Build.props) file to normalize directory names in the compiler-produced outputs (specifically PDBs and assemblies that utilize the CallerFileNameAttribute). See https://github.com/dotnet/roslyn/issues/949 for details.

In projects that utilize this feature, NCrunch does not display line markers, and links to the source code stop working in test stack traces if the expected file does not exist at the rewritten path.
michaelkroes
#2 Posted : Wednesday, March 21, 2018 6:42:29 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 277
Location: Netherlands

Thanks: 122 times
Was thanked: 62 time(s) in 59 post(s)
Hi, thanks for reporting this!

I've had a look at this and I can reproduce the issue. I'll look into this.
michaelkroes
#3 Posted : Thursday, March 22, 2018 8:36:10 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 277
Location: Netherlands

Thanks: 122 times
Was thanked: 62 time(s) in 59 post(s)
distilled
#4 Posted : Tuesday, April 3, 2018 7:26:13 PM(UTC)
Rank: Member

Groups: Registered
Joined: 8/3/2012(UTC)
Posts: 22

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
The updated build worked, thanks! And sorry for the delay!
1 user thanked distilled for this useful post.
Remco on 4/3/2018(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.040 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download