Azure存储上的fusion

Azure存储上的fusion

本文介绍了使用Mac的Visual Studio时出现错误System.DllNotFoundException:Azure存储上的fusion.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我遵循此行会时,我正在使用Visual Studio for Mac. https://docs. microsoft.com/en-us/azure/storage/blobs/storage-dotnet-how-to-use-blobs

I'm using Visual Studio for Mac, when I follow this guild.https://docs.microsoft.com/en-us/azure/storage/blobs/storage-dotnet-how-to-use-blobs

使用代码:

// Parse the connection string and return a reference to the storage account.
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));

我遇到了这个例外:

我尝试在Visual Studio的Window上做,这没问题.这是Visual Studio for Mac的问题您能指导我如何解决它吗?谢谢

I try to do in Visual Studio on Window, it is no problem. It is a problem of Visual Studio for MacCould you guide me how to fix it?Thanks

推荐答案

到目前为止,我发现了另一种解决方案,用于从Xamarin PCL项目的App.config文件中获取密钥"StorageConnectionString".

So far, I found another solution to get key "StorageConnectionString" from App.config file for Xamarin PCL project.

您需要安装此软件包,该软件包支持获取App.config文件中密钥的值: PCLAppConfig

You need to install this package which support to get the value of key in App.config file: PCLAppConfig

然后您可以通过行代码获取值:

Then you can get the value by line code:

这篇关于使用Mac的Visual Studio时出现错误System.DllNotFoundException:Azure存储上的fusion.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 23:53