Skip to content

Commit 8eb2d96

Browse files
authored
Merge pull request #1053 from Microsoft/warningsfixes
Fixed errors when compiling UI project in release
2 parents 15d6560 + 9d97238 commit 8eb2d96

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Microsoft.Toolkit.Uwp.UI/Microsoft.Toolkit.Uwp.UI.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
<ErrorReport>prompt</ErrorReport>
4040
<WarningLevel>4</WarningLevel>
4141
<RunCodeAnalysis>true</RunCodeAnalysis>
42-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
43-
<DocumentationFile>
44-
</DocumentationFile>
42+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
43+
<DocumentationFile>bin\Release\Microsoft.Toolkit.Uwp.UI.XML</DocumentationFile>
4544
<CodeAnalysisRuleSet>microsoft.toolkit.uwp.ui.ruleset</CodeAnalysisRuleSet>
4645
</PropertyGroup>
4746
<ItemGroup>

Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared/Adaptive/AdaptiveProgressBar.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#if WINRT
1414
using System.Collections.Generic;
1515
#endif
16-
using Microsoft.Toolkit.Uwp.Notifications.Adaptive.Elements;
1716
using System;
17+
using Microsoft.Toolkit.Uwp.Notifications.Adaptive.Elements;
1818

1919
namespace Microsoft.Toolkit.Uwp.Notifications
2020
{

0 commit comments

Comments
 (0)