Skip to content

Commit 6bced4c

Browse files
adrastogiAditya Rastogi
andauthored
Windows ML: Fix warnings in cs-winui project (#546)
* 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 <adityar@ntdev.microsoft.com>
1 parent 8336385 commit 6bced4c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)