-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
136 lines (123 loc) · 6.24 KB
/
Directory.Build.props
File metadata and controls
136 lines (123 loc) · 6.24 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<Project>
<PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<Authors>Sebastian Walter</Authors>
<Company>evilbaschdi (Sebastian Walter)</Company>
<Copyright>Copyright © 2015 - $([System.DateTime]::UtcNow.ToString(yyyy)) evilbaschdi</Copyright>
<Description>VM Toolbox</Description>
<!-- 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>
<TargetFramework>net10.0</TargetFramework>
<Version>$([System.DateTime]::UtcNow.ToString(yyyy.M.d.H))</Version>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<GenerateDocumentationFile>False</GenerateDocumentationFile>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>1701;1702</NoWarn>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<Using Include="EvilBaschdi.Core" />
<Using Include="EvilBaschdi.Core.AppHelpers" />
<Using Include="EvilBaschdi.Core.DependencyInjection" />
<Using Include="EvilBaschdi.Core.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" />
<Using Include="VmMachineHwVersionUpdater.Core.Strategies" />
<Using Include="VmMachineHwVersionUpdater.Core.Commands" />
<Using Include="VmMachineHwVersionUpdater.Core.Enums" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Avalonia'))">
<Using Include="EvilBaschdi.Core.Avalonia.Controls" />
<Using Include="EvilBaschdi.Core.Avalonia.Layout" />
<Using Include="EvilBaschdi.Core.Avalonia.Lifetime" />
<Using Include="EvilBaschdi.Core.Avalonia.Mvvm" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<Using Include="AutoFixture.Idioms" />
<Using Include="AutoFixture.Xunit3" />
<Using Include="EvilBaschdi.Testing" />
<Using Include="FluentAssertions" />
<Using Include="EvilBaschdi.Testing.FluentAssertions.Microsoft.Extensions.DependencyInjection" />
<Using Include="NSubstitute" />
<Using Include="NSubstitute.ReturnsExtensions" />
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Avalonia.Tests'))">
<Using Include="Avalonia.Controls" />
<Using Include="Avalonia.Headless" />
<Using Include="EvilBaschdi.Testing.Avalonia" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="EvilBaschdi.Core" />
<PackageReference Include="EvilBaschdi.Core.DependencyInjection" />
<PackageReference Include="EvilBaschdi.Core.Settings" />
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Avalonia'))">
<PackageReference Include="Avalonia.AvaloniaEdit" />
<PackageReference Include="AvaloniaEdit.TextMate" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<PackageReference Include="EvilBaschdi.Testing" />
<PackageReference Include="xunit.v3.mtp-v2" />
<PackageReference Include="xunit.v3.runner.utility" />
<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>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Avalonia.Tests'))">
<PackageReference Include="EvilBaschdi.Testing.Avalonia" />
<PackageReference Include="Avalonia.Headless" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<!-- Production projects in src/ reference Core which is also in src/ -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Core')) != 'true' and $(MSBuildProjectName.EndsWith('.Tests')) != 'true'">
<ProjectReference Include="..\VmMachineHwVersionUpdater.Core\VmMachineHwVersionUpdater.Core.csproj" />
</ItemGroup>
<!-- ReSharper disable once UnknownProperty -->
<!-- Test projects in tests/ reference production projects in src/ -->
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<ProjectReference Include="..\..\src\$(MSBuildProjectName.Replace('.Tests',''))\$(MSBuildProjectName.Replace('.Tests','')).csproj" />
</ItemGroup>
</Project>