我正在为 .NET Core 创建 Azure Functions,遵循以下文档微软 https://blogs.msdn.microsoft.com/appserviceteam/2017/09/25/develop-azure-functions-on-any-platform/ and Github https://github.com/lindydonna/CSharpHttpCore
因此,使用所有功能以及 VisualStudio 的发布功能的关键是包 microsoft.net.sdk.functions。
但是,添加此 nuget 后,我收到以下构建错误
System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified
File name: 'System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at System.Reflection.RuntimeA...
[...]
文件:///C:/Users/Stefan/.nuget/packages/microsoft.net.sdk.functions/1.0.7/tools/net46/
[...]
尽管该包附带 .netstandard 2.0 支持,但它引用了 net46 文件夹并最终出现该错误...
有什么想法如何解决这个问题吗?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)