Repository navigation
Expand file tree
/
Copy pathDevTools.csproj
More file actions
110 lines (99 loc) · 7.68 KB
/
Copy pathDevTools.csproj
File metadata and controls
110 lines (99 loc) · 7.68 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<RootNamespace>DevTools</RootNamespace>
<AssemblyName>DevTools</AssemblyName>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>Resources\Images\logo.ico</ApplicationIcon>
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
<RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<None Include=".github\workflows\release-installer.yml" />
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
<PackageReference Include="System.Drawing.Common" Version="10.0.3" />
<PackageReference Include="ZXing.Net" Version="0.16.11" />
<PackageReference Include="ZXing.Net.Bindings.Windows.Compatibility" Version="0.16.14" />
</ItemGroup>
<ItemGroup>
<Resource Include="Fonts\fa-solid-900.ttf" />
<Resource Include="Fonts\fa-regular-400.ttf" />
<Resource Include="Fonts\fa-brands-400.ttf" />
<Resource Include="Resources\Images\logo.ico" />
<Resource Include="Resources\Images\logo.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Images\logo.ico">
<LogicalName>DevTools.Resources.Images.logo.ico</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Resources\Images\logo.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Compile Update="Resources\Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\Strings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Target Name="OverrideAlPlatformForArm64" BeforeTargets="GenerateSatelliteAssemblies">
<PropertyGroup Condition="'$(Platform)' == 'arm64' or '$(PlatformTarget)' == 'arm64' or '$(RuntimeIdentifier)' == 'win-arm64'">
<_OriginalPlatformTarget>$(PlatformTarget)</_OriginalPlatformTarget>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
</Target>
<Target Name="RestorePlatformTarget" AfterTargets="GenerateSatelliteAssemblies">
<PropertyGroup Condition="'$(_OriginalPlatformTarget)' != ''">
<PlatformTarget>$(_OriginalPlatformTarget)</PlatformTarget>
</PropertyGroup>
</Target>
<Target Name="EnsureWapPublishAssets" AfterTargets="ResolvePackageAssets">
<Message Importance="high" Text="EnsureWapPublishAssets: RuntimeIdentifier=$(RuntimeIdentifier), Platform=$(Platform), PlatformTarget=$(PlatformTarget), ProjectAssetsFile=$(ProjectAssetsFile)" />
<PropertyGroup>
<_WapRuntimeIdentifier Condition="'$(RuntimeIdentifier)' != ''">$(RuntimeIdentifier)</_WapRuntimeIdentifier>
<_WapRuntimeIdentifier Condition="'$(_WapRuntimeIdentifier)' == '' and '$(Platform)' != ''">win-$(Platform)</_WapRuntimeIdentifier>
<_WapRuntimeIdentifier Condition="'$(_WapRuntimeIdentifier)' == '' and '$(PlatformTarget)' != ''">win-$(PlatformTarget)</_WapRuntimeIdentifier>
</PropertyGroup>
<Message Importance="high" Text="EnsureWapPublishAssets: _WapRuntimeIdentifier=$(_WapRuntimeIdentifier)" />
<MakeDir Directories="$(ProjectDir)obj\wappublish\$(_WapRuntimeIdentifier)" />
<Copy SourceFiles="$(ProjectAssetsFile)" DestinationFolder="$(ProjectDir)obj\wappublish\$(_WapRuntimeIdentifier)" SkipUnchangedFiles="true" Condition="Exists('$(ProjectAssetsFile)')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props" DestinationFolder="$(ProjectDir)obj\wappublish\$(_WapRuntimeIdentifier)" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets" DestinationFolder="$(ProjectDir)obj\wappublish\$(_WapRuntimeIdentifier)" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json" DestinationFolder="$(ProjectDir)obj\wappublish\$(_WapRuntimeIdentifier)" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json')" />
<Message Importance="high" Text="EnsureWapPublishAssets: Copied assets to $(ProjectDir)obj\wappublish\$(_WapRuntimeIdentifier)" />
</Target>
<Target Name="EnsureWapPublishAssetsAllPlatforms" AfterTargets="ResolvePackageAssets">
<MakeDir Directories="$(ProjectDir)obj\wappublish\win-x64" />
<MakeDir Directories="$(ProjectDir)obj\wappublish\win-x86" />
<MakeDir Directories="$(ProjectDir)obj\wappublish\win-arm64" />
<Copy SourceFiles="$(ProjectAssetsFile)" DestinationFolder="$(ProjectDir)obj\wappublish\win-x64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectAssetsFile)')" />
<Copy SourceFiles="$(ProjectAssetsFile)" DestinationFolder="$(ProjectDir)obj\wappublish\win-x86" SkipUnchangedFiles="true" Condition="Exists('$(ProjectAssetsFile)')" />
<Copy SourceFiles="$(ProjectAssetsFile)" DestinationFolder="$(ProjectDir)obj\wappublish\win-arm64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectAssetsFile)')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props" DestinationFolder="$(ProjectDir)obj\wappublish\win-x64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props" DestinationFolder="$(ProjectDir)obj\wappublish\win-x86" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props" DestinationFolder="$(ProjectDir)obj\wappublish\win-arm64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.props')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets" DestinationFolder="$(ProjectDir)obj\wappublish\win-x64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets" DestinationFolder="$(ProjectDir)obj\wappublish\win-x86" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets" DestinationFolder="$(ProjectDir)obj\wappublish\win-arm64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.g.targets')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json" DestinationFolder="$(ProjectDir)obj\wappublish\win-x64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json" DestinationFolder="$(ProjectDir)obj\wappublish\win-x86" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json')" />
<Copy SourceFiles="$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json" DestinationFolder="$(ProjectDir)obj\wappublish\win-arm64" SkipUnchangedFiles="true" Condition="Exists('$(ProjectDir)obj\$(MSBuildProjectFile).nuget.dgspec.json')" />
</Target>
</Project>