-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCreateMissing.csproj
More file actions
45 lines (42 loc) · 2.62 KB
/
CreateMissing.csproj
File metadata and controls
45 lines (42 loc) · 2.62 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<AssemblyVersion>$(PackageVersion)</AssemblyVersion>
<FileVersion>$(PackageVersion)</FileVersion>
<Version>2.1.0.0006</Version>
<StartupObject>CreateMissing.Program</StartupObject>
<TargetFramework>net8.0</TargetFramework>
<Authors>Mark Crossley</Authors>
<Company>Cumulus MX</Company>
<PlatformTarget>x86</PlatformTarget>
<ApplicationIcon>icon.ico</ApplicationIcon>
<Configurations>Debug;Release;Release x86</Configurations>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<PlatformTarget>x86</PlatformTarget>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(ConfigurationName)==Release (
echo.
echo Update Distribution folder
if $(Platform)==x86 (
 echo copy exe - x86
 xcopy "$(OutputPath)\CreateMissing.exe" "$(SolutionDir)..\CumulusMX-Dist.Net\CumulusMX\CreateMissing32.exe" /D /-I /Y
)
if $(Platform)==AnyCPU (
 echo copy exe - AnyCPU
 xcopy "$(TargetPath)" "$(SolutionDir)..\CumulusMX-Dist.Net\CumulusMX" /D /-I /Q /Y
 xcopy "$(OutputPath)\CreateMissing.exe" "$(SolutionDir)..\CumulusMX-Dist.Net\CumulusMX" /D /-I /Q /Y

 echo copy .config
 xcopy "$(OutputPath)\CreateMissing.runtimeconfig.json" "$(SolutionDir)..\CumulusMX-Dist.Net\CumulusMX" /D /-I /Q /Y

 echo copy .deps
 xcopy "$(OutputPath)\CreateMissing.deps.json" "$(SolutionDir)..\CumulusMX-Dist.Net\CumulusMX" /D /-I /Q /Y
)
)" />
</Target>
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
</Project>