-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
115 lines (105 loc) · 4.92 KB
/
Directory.Build.props
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
115
<Project>
<PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<Authors>Sebastian Walter</Authors>
<Company>evilbaschdi (Sebastian Walter)</Company>
<Copyright>Copyright © 2014 - $([System.DateTime]::UtcNow.ToString(yyyy)) evilbaschdi</Copyright>
<!-- ReSharper disable once UnknownProperty -->
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFile>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>preview</LangVersion>
<PackageProjectUrl>https://github.com/evilbaschdi/VmMachineHwVersionUpdater</PackageProjectUrl>
<Product>VM Toolbox</Product>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PublishSingleFile>true</PublishSingleFile>
<RepositoryUrl>https://github.com/evilbaschdi/VmMachineHwVersionUpdater</RepositoryUrl>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<Version>$([System.DateTime]::UtcNow.ToString(yyyy.M.d.Hmm))</Version>
</PropertyGroup>
<!-- Exact versions have to be set in Directory.Build.Targets -->
<Choose>
<When Condition="$(MSBuildProjectName.Contains('Wpf'))">
<PropertyGroup>
<TargetFrameworks>net0.0-windows</TargetFrameworks>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<TargetFrameworks>net0.0</TargetFrameworks>
</PropertyGroup>
</Otherwise>
</Choose>
<ItemGroup>
<Using Include="EvilBaschdi.Core" />
<Using Include="EvilBaschdi.DependencyInjection" />
<Using Include="EvilBaschdi.Settings" />
<Using Include="JetBrains.Annotations" />
<Using Include="Microsoft.Extensions.DependencyInjection" />
<Using Include="System.Linq" />
<Using Include="VmMachineHwVersionUpdater.Core.BasicApplication" />
<Using Include="VmMachineHwVersionUpdater.Core.DependencyInjection" />
<Using Include="VmMachineHwVersionUpdater.Core.Models" />
<Using Include="VmMachineHwVersionUpdater.Core.PerMachine" />
<Using Include="VmMachineHwVersionUpdater.Core.Settings" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<Using Include="AutoFixture.Idioms" />
<Using Include="AutoFixture.Xunit2" />
<Using Include="EvilBaschdi.Testing" />
<Using Include="FluentAssertions" />
<Using Include="FluentAssertions.Microsoft.Extensions.DependencyInjection" />
<Using Include="NSubstitute" />
<Using Include="NSubstitute.ReturnsExtensions" />
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<PackageReference Include="EvilBaschdi.Core" />
<PackageReference Include="EvilBaschdi.DependencyInjection" />
<PackageReference Include="EvilBaschdi.Settings" />
</ItemGroup>
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<GenerateDocumentationFile>False</GenerateDocumentationFile>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>1701;1702</NoWarn>
</PropertyGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<PackageReference Include="EvilBaschdi.Testing" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="coverlet.collector">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions.Analyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Meziantou.FluentAssertionsAnalyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="NSubstitute.Analyzers.CSharp">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.analyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Core')) != 'true' and $(MSBuildProjectName.EndsWith('.Tests')) != 'true'">
<ProjectReference Include="..\VmMachineHwVersionUpdater.Core\VmMachineHwVersionUpdater.Core.csproj" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<ProjectReference Include="..\$(MSBuildProjectName.Replace('.Tests',''))\$(MSBuildProjectName.Replace('.Tests','')).csproj" />
</ItemGroup>
</Project>