|
|
|
@ -21,16 +21,25 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<!-- 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" |
|
|
|
DependsOnTargets="InitializeSourceRootMappedPaths" |
|
|
|
Returns="@(_LocalTopLevelSourceRoot)" |
|
|
|
Condition="'$(DeterministicSourcePaths)' == 'true'"> |
|
|
|
DependsOnTargets="InitializeSourceRootMappedPaths" |
|
|
|
Returns="@(_LocalTopLevelSourceRoot)" |
|
|
|
Condition="'$(DeterministicSourcePaths)' == 'true'"> |
|
|
|
<ItemGroup> |
|
|
|
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/> |
|
|
|
</ItemGroup> |
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
<ItemDefinitionGroup> |
|
|
|
<InternalsVisibleTo> |
|
|
|
<Visible>false</Visible> |
|
|
|
@ -62,7 +71,7 @@ |
|
|
|
<!-- Empty target so that `dotnet test` will work on the solution --> |
|
|
|
<!-- https://github.com/Microsoft/vstest/issues/411 --> |
|
|
|
<Target Name="VSTest" Condition="'$(IsTestProject)' == 'true'"/> |
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<!--Shared config files that have to exist at root level.--> |
|
|
|
<ConfigFilesToCopy Include="..\..\shared-infrastructure\.editorconfig;..\..\shared-infrastructure\.gitattributes" /> |
|
|
|
@ -74,7 +83,7 @@ |
|
|
|
SkipUnchangedFiles = "true" |
|
|
|
DestinationFolder="..\..\" /> |
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Allows regenerating T4-generated files at build time using MsBuild --> |
|
|
|
<!-- Enable on Windows OS to build all T4 templates. TODO: XPlat |
|
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TextTemplating\Microsoft.TextTemplating.targets" /> |
|
|
|
@ -82,5 +91,5 @@ |
|
|
|
<TransformOnBuild>true</TransformOnBuild> |
|
|
|
</PropertyGroup> |
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
</Project> |
|
|
|
|