是什么导致 UWP 发布模式下出现此亚马逊构建错误?

What causes this amazon build error in UWP Release mode?

我在 UWP 上构建发布模式时遇到问题。我们遇到了以前从未遇到过的这些错误。我们最近从 Sql-Net 迁移到 EFC 1.1.3

我们的目标是秋季创作者更新并将最小值设置为 240。

'System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' referenced by 'AWSSDK.S3'.

Type 'System.Net.IWebProxy' was not included in compilation, but was referenced in type 'Amazon.Runtime.ClientConfig'. There may have been a missing assembly.

'AmazonS3HttpUtil.GetHttpClient(IClientConfig)' will always throw an exception due to the missing method 'HttpClientHandler.set_Proxy(IWebProxy)'. There may have been a missing assembly.

Method 'AmazonS3HttpUtil.GetHttpClient(IClientConfig)' will always throw an exception due to the missing method 'HttpClientHandler.set_Proxy(IWebProxy)'. There may have been a missing assembly.

编辑:Nuget 包:

<ItemGroup>
    <SDKReference Include="Syncfusion Controls for UWP XAML, Version=15.3.0.33">
        <Name>Syncfusion Controls for UWP XAML</Name>
    </SDKReference>
</ItemGroup>
<ItemGroup>
    <PackageReference Include="AWSSDK.CognitoIdentity">
        <Version>3.3.2.15</Version>
    </PackageReference>
    <PackageReference Include="AWSSDK.Core">
        <Version>3.3.18</Version>
    </PackageReference>
    <PackageReference Include="AWSSDK.S3">
        <Version>3.3.11.2</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.ApplicationInsights">
        <Version>2.4.0</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.ApplicationInsights.PersistenceChannel">
        <Version>1.2.3</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.ApplicationInsights.WindowsApps">
        <Version>1.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite">
        <Version>1.1.3</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
        <Version>5.4.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp">
        <Version>1.5.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI">
        <Version>1.5.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls">
        <Version>1.5.1</Version>
    </PackageReference>
    <PackageReference Include="Newtonsoft.Json">
        <Version>10.0.3</Version>
    </PackageReference>
    <PackageReference Include="Win2D.uwp">
       <Version>1.21.0</Version>
    </PackageReference>
 </ItemGroup>

Amazon 的 AWS SDK nuspec 文件中似乎存在问题,导致 NuGet 包管理器获取不一致的依赖项。 Apparently the AWS team is already working on it.

我们今天发布了新版本的软件包,其中修复了要使用哪个 SDK 平台的问题。你能试试看吗