Skip to content

Commit d8c7ab9

Browse files
committed
Uno platform 3
1 parent 00d5d85 commit d8c7ab9

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

SmartImage 3/SmartImage.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@
3939

4040
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Test|AnyCPU'">
4141
<DefineConstants>DEBUG;TRACE;JETBRAINS_ANNOTATIONS;TEST_DEBUG</DefineConstants>
42+
<NoWarn>1701;1702;NU1608</NoWarn>
4243
</PropertyGroup>
4344

4445
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
4546
<DefineConstants>DEBUG;TRACE;JETBRAINS_ANNOTATIONS</DefineConstants>
47+
<NoWarn>1701;1702;NU1608</NoWarn>
4648
</PropertyGroup>
4749
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
4850
<DefineConstants>TRACE;JETBRAINS_ANNOTATIONS</DefineConstants>
@@ -53,6 +55,8 @@
5355
<PublishTrimmed>true</PublishTrimmed>
5456

5557
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
58+
59+
<NoWarn>1701;1702;NU1608</NoWarn>
5660
</PropertyGroup>
5761
<ItemGroup>
5862
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" />
@@ -61,6 +65,7 @@
6165
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.2" />
6266
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
6367
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
68+
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
6469
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
6570
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.0" />
6671
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />

SmartImage.App/SmartImage.App.Mobile/SmartImage.App.Mobile.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net7.0-macos'">osx-x64</RuntimeIdentifier>
1414
</PropertyGroup>
1515
<ItemGroup>
16+
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
17+
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
1618
<PackageReference Include="Uno.Extensions" Version="2.2.0" />
1719
<PackageReference Include="Uno.WinUI" Version="4.6.41" />
1820
<PackageReference Include="Uno.WinUI.RemoteControl" Version="4.6.41" Condition="'$(Configuration)'=='Debug'" />

SmartImage.App/SmartImage.App.Windows/SmartImage.App.Windows.csproj

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26+
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
27+
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
2628
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.221209.1" />
2729
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.755" />
2830
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
@@ -33,8 +35,8 @@
3335
</ItemGroup>
3436

3537
<!-- Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
36-
Tools extension to be activated for this project even if the Windows App SDK Nuget
37-
package has not yet been restored -->
38+
Tools extension to be activated for this project even if the Windows App SDK Nuget
39+
package has not yet been restored -->
3840
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnablePreviewMsixTooling)'=='true'">
3941
<ProjectCapability Include="Msix" />
4042
</ItemGroup>
@@ -49,9 +51,13 @@
4951
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
5052
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
5153
-->
52-
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22000.25" />
53-
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22000.25" />
54+
<!--<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22000.25" />
55+
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22000.25" />-->
56+
57+
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22000.27" />
58+
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22000.27" />
5459
</ItemGroup>
5560

5661
<Import Project="..\SmartImage.App.Shared\SmartImage.App.Shared.projitems" Label="Shared" />
62+
5763
</Project>

SmartImage.Lib 3/SmartImage.Lib.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@
1616

1717
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1818
<DefineConstants>DEBUG;TRACE;JETBRAINS_ANNOTATIONS</DefineConstants>
19+
<NoWarn>1701;1702;NU1608</NoWarn>
1920
</PropertyGroup>
2021

2122
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
2223
<DefineConstants>TRACE;JETBRAINS_ANNOTATIONS</DefineConstants>
24+
<NoWarn>1701;1702;NU1608</NoWarn>
25+
</PropertyGroup>
26+
27+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Test|AnyCPU'">
28+
<NoWarn>1701;1702;NU1608</NoWarn>
2329
</PropertyGroup>
2430
<ItemGroup>
2531
<PackageReference Include="AngleSharp" Version="1.0.1" />
@@ -33,6 +39,7 @@
3339
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
3440
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
3541
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.2" />
42+
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
3643
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
3744
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.0" />
3845
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />

0 commit comments

Comments
 (0)