Skip to content

Commit

Permalink
Update Shouldly.targets
Browse files Browse the repository at this point in the history
  • Loading branch information
slang25 committed Apr 23, 2023
1 parent 2bdc8cf commit 44c31d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shouldly/buildTransitive/Shouldly.targets
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!--
This target is used to capture the PathMap value when building the project. The PathMap is used by Shouldly to map paths
in stack traces to the source files. The PathMap is written to a file and read by the SetShouldlyPathMaps target.
When VSTestNoBuild is not true, then VSTest has inititiated the build so the SetShouldlyPathMaps target has already ran,
When VSTestNoBuild is not true, then VSTest has inititiated the build so the SetShouldlyPathMaps target has already started,
so we need to set the SHOULDLY_SOURCE_PATH_MAP environment variable here.
-->
<Target Name="CapturePathMapsForShouldly" BeforeTargets="CoreCompile" DependsOnTargets="_SetPathMapFromSourceRoots" Condition=" '$(DisableShouldlyPathMaps)' != 'true' AND '$(DeterministicSourcePaths)' == 'true' " >
Expand Down Expand Up @@ -45,4 +45,4 @@
</PropertyGroup>
<SetEnvVar EnvName="SHOULDLY_SOURCE_PATH_MAP" EnvValue="$(ShouldlyPathMaps)" Condition=" '$(ShouldlyPathMaps)' != '' " />
</Target>
</Project>
</Project>

0 comments on commit 44c31d6

Please sign in to comment.