【问题标题】:What causes this amazon build error in UWP Release mode?是什么导致 UWP 发布模式下出现此亚马逊构建错误?
【发布时间】:2017-10-17 13:01:10
【问题描述】:

我在 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>

【问题讨论】:

  • 您能否指定您在项目中使用的 NuGet 包?
  • @PedroLamas 我更新了我的问题。让我知道您是否需要任何其他信息。非常感谢您的帮助

标签: c# amazon-s3 uwp amazon


【解决方案1】:

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

【讨论】:

    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 2012-09-28
      • 2023-03-16
      • 1970-01-01
      • 1970-01-01
      • 2018-04-25
      • 1970-01-01
      • 2012-02-27
      • 2020-03-23
      • 1970-01-01
      相关资源
      最近更新 更多