-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnattendGen.csproj
35 lines (35 loc) · 1.58 KB
/
UnattendGen.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AssemblyVersion>0.6.1.2512</AssemblyVersion>
<FileVersion>0.6.1.2512</FileVersion>
<Copyright>(c) 2024-2025. CodingWonders Software, Christoph Schneegans</Copyright>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Library\**" />
<EmbeddedResource Remove="Library\**" />
<None Remove="Library\**" />
</ItemGroup>
<ItemGroup>
<_GlobalJsonStartingDir Remove="Library\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="Library\UnattendGenerator.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Tests\Scripts\" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="SET TestSettings=0

COPY /Y "$(SolutionDir)LICENSE.txt" "$(TargetDir)LICENSE.txt"
COPY /Y "$(SolutionDir)Library\LICENSE.txt" "$(TargetDir)Library-License.txt"

IF %25TestSettings%25 equ 1 (XCOPY "$(SolutionDir)Tests\*" "$(TargetDir)" /CEHYI)" />
</Target>
</Project>