Skip to content

Commit d96868d

Browse files
committed
use Trdo csproj for ci
1 parent 6bf7013 commit d96868d

File tree

1 file changed

+28
-33
lines changed

1 file changed

+28
-33
lines changed

Simple QR Code Maker/Simple QR Code Maker.csproj

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,15 @@
66
<RootNamespace>Simple_QR_Code_Maker</RootNamespace>
77
<ApplicationIcon>Assets/WindowIcon.ico</ApplicationIcon>
88
<ApplicationManifest>app.manifest</ApplicationManifest>
9-
<Platforms>x86;x64;arm64</Platforms>
10-
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
11-
<PublishProfile>Properties\PublishProfiles\win-$(Platform).pubxml</PublishProfile>
12-
<ImplicitUsings>enable</ImplicitUsings>
13-
<Nullable>enable</Nullable>
14-
<UseWinUI>true</UseWinUI>
15-
<EnableMsixTooling>true</EnableMsixTooling>
16-
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
17-
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
18-
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
19-
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
20-
<GenerateTestArtifacts>True</GenerateTestArtifacts>
21-
<WindowsAppSdkSelfContained>True</WindowsAppSdkSelfContained>
22-
<AppxBundle>Always</AppxBundle>
23-
<AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms>
24-
25-
<AppxPackageDir>AppPackages\</AppxPackageDir>
26-
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
27-
<DefaultLanguage>en-US</DefaultLanguage>
28-
<GenerateTemporaryStoreCertificate>True</GenerateTemporaryStoreCertificate>
29-
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
9+
<ImplicitUsings>true</ImplicitUsings>
10+
<ApplicationManifest>app.manifest</ApplicationManifest>
11+
<Platforms>x64;ARM64</Platforms>
12+
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
13+
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
14+
<UseWinUI>true</UseWinUI>
15+
<EnableMsixTooling>true</EnableMsixTooling>
16+
<Nullable>enable</Nullable>
17+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3018
</PropertyGroup>
3119
<ItemGroup>
3220
<None Remove="Controls\FaqsContent.xaml" />
@@ -85,19 +73,26 @@
8573
</Page>
8674
</ItemGroup>
8775

88-
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
89-
<ProjectCapability Include="Msix" />
90-
</ItemGroup>
91-
92-
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
93-
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
94-
</PropertyGroup>
76+
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
77+
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
78+
</PropertyGroup>
9579

96-
<Target Name="_RemoveFrameworkReferences" BeforeTargets="_ConvertItems;_CalculateInputsForGenerateCurrentProjectAppxManifest">
97-
<ItemGroup>
98-
<FrameworkSdkReference Remove="@(FrameworkSdkReference)" Condition="$([System.String]::Copy('%(FrameworkSdkReference.SDKName)').StartsWith('Microsoft.WindowsAppRuntime.'))" />
99-
</ItemGroup>
100-
</Target>
80+
<!-- Publish Properties -->
81+
<PropertyGroup>
82+
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
83+
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
84+
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
85+
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
86+
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
87+
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
88+
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
89+
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
90+
<GenerateTestArtifacts>False</GenerateTestArtifacts>
91+
<AppxBundle>Always</AppxBundle>
92+
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
93+
<AppxBundlePlatforms>x64|arm64</AppxBundlePlatforms>
94+
<PackageCertificateThumbprint />
95+
</PropertyGroup>
10196

10297
<ItemGroup>
10398
<CustomAdditionalCompileInputs Remove="Views\ShellPage.xaml" />

0 commit comments

Comments
 (0)