File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change 2727 </AssemblyAttribute >
2828 </ItemGroup >
2929 </Target >
30- <!--
31- Workaround bug in generation of _LocalTopLevelSourceRoot file path.
32- See https://github.com/coverlet-coverage/coverlet/pull/863.
33- -->
34- <Target Name =" ReferencedPathMaps" BeforeTargets =" CoreCompile" DependsOnTargets =" ResolveProjectReferences" >
35- <MSBuild Projects =" @(AnnotatedProjects->'%(FullPath)')"
36- Targets =" CoverletGetPathMap"
37- Properties =" TargetFramework=%(AnnotatedProjects.NearestTargetFramework)"
38- SkipNonexistentTargets =" true" >
39- <Output TaskParameter =" TargetOutputs"
40- ItemName =" _LocalTopLevelSourceRoot" />
41- </MSBuild >
42- <ItemGroup >
43- <_byProject Include =" @(_LocalTopLevelSourceRoot->'%(MSBuildSourceProjectFile)')" OriginalPath =" %(Identity)" />
44- <_mapping Include =" @(_byProject->'%(Identity)|%(OriginalPath)=%(MappedPath)')" />
45- </ItemGroup >
46- <PropertyGroup >
47- <_sourceRootMappingFilePath >$([System.IO.Path]::Combine('$(OutputPath)', 'CoverletSourceRootsMapping'))</_sourceRootMappingFilePath >
48- </PropertyGroup >
49- <WriteLinesToFile File =" $(_sourceRootMappingFilePath)" Lines =" @(_mapping)"
50- Overwrite =" true" Encoding =" Unicode"
51- Condition =" '@(_mapping)'!=''"
52- WriteOnlyWhenDifferent =" true" />
53- <ItemGroup >
54- <FileWrites Include =" $(_sourceRootMappingFilePath)" Condition =" '@(_mapping)'!=''" />
55- </ItemGroup >
56- </Target >
57- <Target Name =" CoverletGetPathMap"
58- DependsOnTargets =" InitializeSourceRootMappedPaths"
59- Returns =" @(_LocalTopLevelSourceRoot)"
60- Condition =" '$(DeterministicSourcePaths)' == 'true'" >
61- <ItemGroup >
62- <_LocalTopLevelSourceRoot Include =" @(SourceRoot)" Condition =" '%(SourceRoot.NestedRoot)' == ''" />
63- </ItemGroup >
64- </Target >
6530</Project >
You can’t perform that action at this time.
0 commit comments