diff --git a/source/NuGet.config b/source/NuGet.config index 36ddf0fa2b..e1ab2051f5 100644 --- a/source/NuGet.config +++ b/source/NuGet.config @@ -7,5 +7,6 @@ + diff --git a/source/uwp/winui3/NuGet/AdaptiveCards.ObjectModel.WinUI3.nuspec b/source/uwp/winui3/NuGet/AdaptiveCards.ObjectModel.WinUI3.nuspec index 24a18fd50f..af99dc5973 100644 --- a/source/uwp/winui3/NuGet/AdaptiveCards.ObjectModel.WinUI3.nuspec +++ b/source/uwp/winui3/NuGet/AdaptiveCards.ObjectModel.WinUI3.nuspec @@ -28,8 +28,12 @@ + + + + diff --git a/source/uwp/winui3/NuGet/AdaptiveCards.Rendering.WinUI3.nuspec b/source/uwp/winui3/NuGet/AdaptiveCards.Rendering.WinUI3.nuspec index e59bdfa89b..b040bc2bd9 100644 --- a/source/uwp/winui3/NuGet/AdaptiveCards.Rendering.WinUI3.nuspec +++ b/source/uwp/winui3/NuGet/AdaptiveCards.Rendering.WinUI3.nuspec @@ -31,8 +31,12 @@ + + + + diff --git a/source/uwp/winui3/ObjectModelCsProjection/ObjectModelCsProjection.csproj b/source/uwp/winui3/ObjectModelCsProjection/ObjectModelCsProjection.csproj index 89e49d7754..306ff308a7 100644 --- a/source/uwp/winui3/ObjectModelCsProjection/ObjectModelCsProjection.csproj +++ b/source/uwp/winui3/ObjectModelCsProjection/ObjectModelCsProjection.csproj @@ -1,19 +1,23 @@  - net6.0-windows10.0.17763.0 + net6.0-windows10.0.17763.0;net8.0-windows10.0.17763.0 10.0.17763.0 - 10.0.17763.38 AnyCPU AdaptiveCards.ObjectModel.WinUI3 - win10-x86;win10-x64;win10-arm64 + win-x86;win-x64;win-arm64 true None + + + $(NoWarn);NETSDK1206 AdaptiveCards.ObjectModel.WinUI3 $(OutDir) $(SolutionDir)\$(Platform)\$(MSBuildProjectName) + true + 2 diff --git a/source/uwp/winui3/RendererCsProjection/RendererCsProjection.csproj b/source/uwp/winui3/RendererCsProjection/RendererCsProjection.csproj index 642987293d..16fffebc27 100644 --- a/source/uwp/winui3/RendererCsProjection/RendererCsProjection.csproj +++ b/source/uwp/winui3/RendererCsProjection/RendererCsProjection.csproj @@ -1,19 +1,23 @@  - net6.0-windows10.0.17763.0 + net6.0-windows10.0.17763.0;net8.0-windows10.0.17763.0 10.0.17763.0 - 10.0.17763.38 AnyCPU AdaptiveCards.Rendering.WinUI3 - win10-x86;win10-x64;win10-arm64 + win-x86;win-x64;win-arm64 true None + + + $(NoWarn);NETSDK1206 AdaptiveCards.Rendering.WinUI3 $(OutDir) $(SolutionDir)\$(Platform)\$(MSBuildProjectName) + true + 2 diff --git a/source/uwp/winui3/WinUI3ObjectModelTest/ObjectModelTests.cs b/source/uwp/winui3/WinUI3ObjectModelTest/ObjectModelTests.cs index ae35575a3e..eede950b97 100644 --- a/source/uwp/winui3/WinUI3ObjectModelTest/ObjectModelTests.cs +++ b/source/uwp/winui3/WinUI3ObjectModelTest/ObjectModelTests.cs @@ -4,7 +4,6 @@ using AdaptiveCards.ObjectModel.WinUI3; using Windows.Data.Json; - namespace WinUI3ObjectModelTest { [TestClass] diff --git a/source/uwp/winui3/WinUI3ObjectModelTest/WinUI3ObjectModelTest.csproj b/source/uwp/winui3/WinUI3ObjectModelTest/WinUI3ObjectModelTest.csproj index 1e33347b92..b604fd7549 100644 --- a/source/uwp/winui3/WinUI3ObjectModelTest/WinUI3ObjectModelTest.csproj +++ b/source/uwp/winui3/WinUI3ObjectModelTest/WinUI3ObjectModelTest.csproj @@ -1,16 +1,25 @@  WinExe - net6.0-windows10.0.17763.0 + net8.0-windows10.0.17763.0 10.0.17763.0 - 10.0.17763.38 WinUI3ObjectModelTest app.manifest x86;x64;arm64 - win10-x86;win10-x64;win10-arm64 + win-x86;win-x64;win-arm64 win10-$(Platform).pubxml true true + + + $(NoWarn);NETSDK1206 + + + true + true + + + $(WarningsAsErrors);IL2026;IL3050;IL2087;IL2091 @@ -28,9 +37,9 @@ - - - + + + 3.0.2