我在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>
答案 0 :(得分:1)
看起来亚马逊的AWS SDK的nuspec文件存在问题,导致NuGet程序包管理器获取不一致的依赖项。 Apparently the AWS team is already working on it.
答案 1 :(得分:1)
我们今天发布了新版本的软件包,其中包含解决SDK使用哪个平台的修复程序。你可以尝试一下。