- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
InnerException {“无法加载文件或程序集“Newtonsoft.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=30ad4fe6b2a6aeed”或其依赖项之一。系统无法查找指定的文件。":"Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"} System.Exception {System.IO.FileNotFoundException}
public void TableStorageDemo()
{
storageAccount = CloudStorageAccount.Parse("connection");
tableClient = storageAccount.CreateCloudTableClient();
table = tableClient.GetTableReference("TABLE_NAME");
TableBatchOperation batchOperation = new TableBatchOperation();
var entity = new Entity();
entity.Test = "Hello World";
batchOperation.InsertOrReplace(entity);
if (batchOperation.Count() > 0) table.ExecuteBatch(batchOperation);
}
当它依赖于 Newtonsoft >= 10.0.2 时,为什么它要寻找 10.0.0.0
我尝试过各种版本的 WindowsAzure.Storage,它仅在使用依赖于 Newtonsoft >= 6.0.8 的版本 8.7.0 时才有效
我正在从 Azure 函数运行它。 (我已遵循 https://github.com/Azure/azure-functions-vs-build-sdk 中的建议,允许 Azure Functions 与 Newtonsoft > 9.0.1 版本一起运行)请注意,这不是提示 Newtonsoft 依赖性的 Function - 它是 WindowsAzure.Storage。该函数在 Newtonsoft 11.0.2 和 WindowsAzure.Storage 8.7.0 上正确运行
最佳答案
我也可以在我这边重现它。如果我在 Azure function App
中使用 WindowsAzure.Storage 9.1.1 、Newtonsoft 11.0.2 和 Microsoft.NET.Sdk.Functions 1.0.13 。
这似乎是Function App SDK 依赖项相关问题。如果 WindowsAzure.Storage 8.7.0 或 7.2.1 可行,您可以使用它作为解决方法。
该问题似乎与 WindowsAzure.Storage 9.1.1 本身无关。由于 WindowsAzure.Storage 9.1.1 和 Newtonsoft 11.0.2 在控制台应用程序
中正常工作。
您可以筹集an issue在 github 中。
关于azure - Microsoft.WindowsAzure.Storage (WindowsAzure.Storage) 9.1.1 在其依赖性之外调用 Newtonsoft 时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49812091/
我正在使用 puppet 在云基础设施上自动配置服务器。我将 list 分成几个 .pp。 我有以下错误: Could not find dependency Mehc_module::Filestr
我开始学习 Angular ,但我在管理依赖项时遇到麻烦,并且不明白为什么这不起作用。 我的html: Title
我正在尝试编写一个使用 jnetpcap 并适合 Linux 和 Windows 的程序。我使用 Maven 编译我的程序。 目前对 jnetpcap 的依赖是: jnetpcap
我很难弄清楚这一点,我首先提到类结构: 汽车经销商 汽车工厂 汽车(界面) BlueCar(汽车实现) RedCar(汽车实现) 轮胎 CarFactory 类有一个返回 Car 的工厂方法。在 Sp
我正在研究一些示例,并提出了这个可行的答案 - 文档测试中设置的挑战: def remove(sub, s): """ >>> remove('an', 'banana')
当创建一个由其他类组成的类时,是否值得通过使用指针而不是值来减少依赖性(从而减少编译时间)? 例如,下面使用值。 // ThingId.hpp class ThingId { // ... }
我在为 debug 和 release 构建类型以及维度指定不同的依赖项时遇到问题。 在我的 app.gradle 中,我指定了 1 个维度 和 2 个 productFlavors,如下所示: an
我试图从Grails的默认依赖项中排除Apache Commons库1.4.0版,因为它有一个错误。 https://github.com/grails/grails-core/issues/9000
我使用我的 MacBook 开发了一个 Node.JS 小应用程序。一切都很好,我将把它部署到 Heroku。 git push heroku master 命令退出并出现错误: 9045 info
我在数据库中有几行。我创建了一个 Windows 服务,它每 5 分钟更新一次数据库中的新行。 现在我想跟踪新行,如果有任何......在 WCF 服务中,并向客户端发送有关它的通知。 数据库是SQL
我的程序依赖于 USER32.dll、SHELL32.dll、ADVAPI32.dll、WS2_32.dll、GDI32.dll 和 KERNEL32.dll。都在system32文件夹中。有什么方法
我有 3 个 dag A、B 和 C。只有在 dag A 和 B 中的任务完成后,才应触发 Dag C。有没有办法在 Airflow 中实现这一点?我能够使用 Triggerdagrun Operat
为了编写可重用的 QML 代码,我正在寻找一个(静态代码)检查器,它可以检测不同 qml 文件之间不需要的依赖关系。 举一个例子,其中 B.qml 依赖于 A.qml 中的标识符: A.qml Ite
我创建了 pom.ml 文件,如下所述: 4.0.0 friendr-core friendr-core 0.0.1-SNAPSHOT jar fri
下图中,左边是C代码,右边是未优化的LLVM IR形式。 The Figure 在 IR 上运行 MemoryDependenceAnalysis 可查找内存依赖性。原始代码及其 IR 等效代码中
我有所有必要的依赖: ch.qos.logback logback-classic 1.0.13 org.slf4j slf4j-api 1.7.
我使用 wsimport 从 WSDL 文件生成客户端代码,我已成功测试此生成的代码并且它可以工作,但有一个问题,该代码像这样引用 WSDL 文件, static { URL url = nu
我正在制作一个检查库依赖性的 configure.ac 文件。 完整的代码是, AC_CONFIG_AUX_DIR([build-aux]) AC_INIT([myprogram], [0.1], [
我正面临这个似乎无法解决的问题。这是场景: 我正在构建使用 gradle 依赖项的 apk,并且此依赖项是特定于体系结构的,因此对于 x86 的 apk,我需要不同的依赖项,对于 arm 也需要不同的
我正在使用 npm 安装依赖项。安装这些之后,我想与非技术人员且没有 npm 的人共享我的项目,因此我想在应用程序中发布 node_modules。 但是,由于 node 嵌套了依赖关系,它创建的文件
我是一名优秀的程序员,十分优秀!