-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetAddressWinUI.csproj
More file actions
125 lines (124 loc) · 6.18 KB
/
NetAddressWinUI.csproj
File metadata and controls
125 lines (124 loc) · 6.18 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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net9.0-windows10.0.26100.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RootNamespace>NetAddressWinUI</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x64</Platforms>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
<UseWinUI>true</UseWinUI>
<EnableMsixTooling>true</EnableMsixTooling>
<Nullable>disable</Nullable>
<TrimMode>partial</TrimMode>
<ImplicitUsings>true</ImplicitUsings>
<LangVersion>Latest</LangVersion>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<IsAotCompatible>False</IsAotCompatible>
<WindowsPackageType>None</WindowsPackageType>
<ApplicationIcon>Assets\AppIcon.ico</ApplicationIcon>
<Version>1.0.0</Version>
<!--Remove git hash from assembly informational version in .NET >= 8, Example: false = 1.0.0, true = 1.0.0+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<!-- Publish Properties -->
<PropertyGroup>
<PublishAot>False</PublishAot>
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
<Authors>$(Authors)</Authors>
<PackageCertificateThumbprint>C1F7F02C0E09DEE06830AEE5CB34846C8D8E2E9D</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateKeyFile>NetAddressWinUI_TemporaryKey.pfx</PackageCertificateKeyFile>
</PropertyGroup>
<ItemGroup>
<None Update="T4Templates\NavigationPageMappings.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>NavigationPageMappings.cs</LastGenOutput>
</None>
<Compile Update="T4Templates\NavigationPageMappings.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>NavigationPageMappings.tt</DependentUpon>
</Compile>
<None Update="T4Templates\BreadcrumbPageMappings.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>BreadcrumbPageMappings.cs</LastGenOutput>
</None>
<Page Update="Views\Settings\AccountSettingPage.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Compile Update="T4Templates\BreadcrumbPageMappings.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>BreadcrumbPageMappings.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="Assets\**\*">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Remove="Assets\Logo\logos--google-icon.png" />
<Content Remove="C:\Users\kien1\.nuget\packages\devwinui.contextmenu\8.2.0\contentFiles\any\net9.0-windows10.0.19041\ContextMenuCustomHost.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="Views\Settings\AccountSettingPage.xaml" />
</ItemGroup>
<ItemGroup>
<Folder Include="Models\" />
</ItemGroup>
<ItemGroup>
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>
<!--
Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
Tools extension to be activated for this project even if the Windows App SDK Nuget
package has not yet been restored.
-->
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<ProjectCapability Include="Msix" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.2.250402" />
<PackageReference Include="CommunityToolkit.WinUI.Media" Version="8.2.250402" />
<PackageReference Include="DevWinUI" Version="8.2.0" />
<PackageReference Include="DevWinUI.Controls" Version="8.2.0" />
<PackageReference Include="H.NotifyIcon.WinUI" Version="2.3.0" />
<PackageReference Include="Hardware.Info" Version="100.1.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.4" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.3916" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250401001" />
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="3.0.0" />
<PackageReference Include="nucs.JsonSettings" Version="2.0.2" />
<PackageReference Include="nucs.JsonSettings.AutoSaveGenerator" Version="2.0.4" />
<PackageReference Include="WinUIEx" Version="2.5.1" />
<PackageReference Include="System.Management" Version="9.0.0" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="9.0.1" />
</ItemGroup>
<!--
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
Explorer "Package and Publish" context menu entry to be enabled for this project even if
the Windows App SDK Nuget package has not yet been restored.
-->
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
</PropertyGroup>
<PropertyGroup Condition="'$(WindowsPackageType)' != 'None'">
<DefineConstants>$(DefineConstants);IS_PACKAGED</DefineConstants>
</PropertyGroup>
<Target Name="TransformAllT4Templates" BeforeTargets="BeforeBuild">
<ItemGroup>
<!-- This picks up all T4 templates in the project -->
<T4Template Include="**\*.tt" />
</ItemGroup>
<!-- Check if TextTransform.exe exists before running -->
<Exec Command="if exist "$(DevEnvDir)TextTransform.exe" "$(DevEnvDir)TextTransform.exe" "%(T4Template.FullPath)"" Condition="Exists('$(DevEnvDir)TextTransform.exe')" />
</Target>
</Project>