-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.targets
114 lines (98 loc) · 5.53 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<Project>
<!--
_ _ _ ____ _
| \ | | _ _ __ _ ___ | |_ | _ \ __ _ ___ | | __ __ _ __ _ ___ ___
| \| | | | | | / _` | / _ \ | __| | |_) | / _` | / __| | |/ / / _` | / _` | / _ \ / __|
| |\ | | |_| | | (_| | | __/ | |_ | __/ | (_| | | (__ | < | (_| | | (_| | | __/ \__ \
|_| \_| \__,_| \__, | \___| \__| |_| \__,_| \___| |_|\_\ \__,_| \__, | \___| |___/
|___/ |___/
-->
<PropertyGroup
Label="Default properties for DeviantCoding Nuget Packages"
Condition=" $(IsDeviantCodingNugetPackage) == true ">
<AddSourceLinkSupport>true</AddSourceLinkSupport>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title Condition=" '$(Title)' == ''">$(AssemblyName)</Title>
<PackageId Condition=" '$(PackageId)' == ''">$(AssemblyName)</PackageId>
<RepositoryUrl Condition=" '$(RepositoryUrl)' == ''">https://github.com/manuel-fernandez-rodriguez/DeviantCoding/</RepositoryUrl>
<PackageProjectUrl Condition=" '$(PackageProjectUrl)' == ''">https://manuel-fernandez-rodriguez.github.io/DeviantCoding/</PackageProjectUrl>
<PackageReadmeFile Condition=" '$(PackageReadmeFile)' == ''">README.md</PackageReadmeFile>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<ItemGroup
Label="Default properties for DeviantCoding Nuget Packages"
Condition=" $(IsDeviantCodingNugetPackage) == true ">
<InternalsVisibleTo Include="DynamicProxyGenAssembly2"/>
<InternalsVisibleTo Include="$(AssemblyName).IntegrationTests" />
<InternalsVisibleTo Include="$(AssemblyName).UnitTests" />
</ItemGroup>
<!--
_____ _ ____ _ _
|_ _| ___ ___ | |_ | _ \ _ __ ___ (_) ___ ___ | |_ ___
| | / _ \ / __| | __| | |_) | | '__| / _ \ | | / _ \ / __| | __| / __|
| | | __/ \__ \ | |_ | __/ | | | (_) | | | | __/ | (__ | |_ \__ \
|_| \___| |___/ \__| |_| |_| \___/ _/ | \___| \___| \__| |___/
|__/
-->
<ItemGroup
Label="Configuration for Test Projects"
Condition=" $(IsDeviantCodingTestProject) == true ">
<AssemblyAttribute Include="System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="FluentAssertions.Analyzers" Version="0.33.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageReference Include="Verify.Http" Version="5.0.1" />
<PackageReference Include="Verify.Xunit" Version="22.11.5" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="NSubstitute.Analyzers.CSharp" Version="1.0.17">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<Using Include="Xunit" />
<Using Include="FluentAssertions" />
</ItemGroup>
<!--
____
/ ___| ___ _ __ ___ _ __ ___ ___ _ __
| | / _ \ | '_ ` _ \ | '_ ` _ \ / _ \ | '_ \
| |___ | (_) | | | | | | | | | | | | | | (_) | | | | |
\____| \___/ |_| |_| |_| |_| |_| |_| \___/ |_| |_|
-->
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup
Label="SourceLink Support"
Condition=" $(AddSourceLinkSupport) == true ">
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup
Label="SourceLink Support"
Condition=" $(AddSourceLinkSupport) == true ">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>