|
|
@ -21,11 +21,20 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
<!-- Workaround for running Coverlet with Determenistic builds --> |
|
|
<!-- Workaround for running Coverlet with Determenistic builds --> |
|
|
<!-- https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/DeterministicBuild.md --> |
|
|
<PropertyGroup> |
|
|
|
|
|
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath> |
|
|
|
|
|
</PropertyGroup> |
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/> |
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
<SourceRoot Include="$(NuGetPackageRoot)" /> |
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
<Target Name="CoverletGetPathMap" |
|
|
<Target Name="CoverletGetPathMap" |
|
|
DependsOnTargets="InitializeSourceRootMappedPaths" |
|
|
DependsOnTargets="InitializeSourceRootMappedPaths" |
|
|
Returns="@(_LocalTopLevelSourceRoot)" |
|
|
Returns="@(_LocalTopLevelSourceRoot)" |
|
|
Condition="'$(DeterministicSourcePaths)' == 'true'"> |
|
|
Condition="'$(DeterministicSourcePaths)' == 'true'"> |
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/> |
|
|
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|