-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.targets
39 lines (33 loc) · 1.4 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project>
<!--
* Imported after the project file and .targets files from NuGet packages.
* Override properties and targets here.
https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build
-->
<!-- Visibility -->
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<!-- Required for Moq to mock a class with an internal abstract method. -->
<_Parameter1>DynamicProxyGenAssembly2</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<!-- Versioning -->
<ItemGroup>
<PackageReference Include="Subatomix.Build.Versioning.Semantic" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
<!-- <inheritdoc/> support -->
<ItemGroup>
<PackageReference Include="SauceControl.InheritDoc" Version="1.2.0" PrivateAssets="all" />
</ItemGroup>
<!--
The following is needed to work around this netstandard2.0 bug:
https://github.com/dotnet/standard/issues/1527
-->
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<NoWarn>$(NoWarn);IDT001</NoWarn>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageDownload Include="NETStandard.Library.Ref" Version="[2.1.0]" />
<InheritDocReference Include="$([MSBuild]::EnsureTrailingSlash('$(NugetPackageRoot)'))netstandard.library.ref\2.1.0\ref\netstandard2.1\netstandard.xml" />
</ItemGroup>
</Project>