Skip to content

Commit 60052d5

Browse files
adrastogiAditya Rastogi
andauthored
Windows ML: Fix warnings in cs-winui project (#546) (#555)
* Fix warnings in cs-winui project * PR feedback (add publish profiles) * Revert "PR feedback (add publish profiles)" This reverts commit 340e2fd. * Remove PublishProfile --------- Co-authored-by: Aditya Rastogi <[email protected]>
1 parent 331271a commit 60052d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Samples/WindowsML/cs-winui/WindowsMLSample.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<OutputType>WinExe</OutputType>
44
<RootNamespace>WindowsMLSample</RootNamespace>
55
<ApplicationManifest>app.manifest</ApplicationManifest>
6-
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
76
<UseWinUI>true</UseWinUI>
87
<EnableMsixTooling>true</EnableMsixTooling>
98
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
109
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
11-
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
10+
<AppxPackageSigningEnabled Condition="'$(AppxPackageSigningEnabled)' == '' and ('$(PackageCertificateThumbprint)' != '' or '$(PackageCertificateKeyFile)' != '')">True</AppxPackageSigningEnabled>
11+
<AppxPackageSigningEnabled Condition="'$(AppxPackageSigningEnabled)' == ''">False</AppxPackageSigningEnabled>
1212
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
1313
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
1414
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>

0 commit comments

Comments
 (0)