如何解决无法在 github 操作中解析主要引用
我尝试使用 github 操作构建我的 vb.net 网站,到目前为止一切正常。 我在与其他子项目共享的“commun”库中添加了 Azure.Storage.Blobs,现在当我尝试使用 github 操作构建时遇到了这个问题。这使得我的“公共”不被引用,并且在构建失败的其他项目中找不到该项目中使用 Azure blob 的类。
D:\a\WePeps\WePeps\we-peps_admin.metaproj : warning MSB3268: The primary reference "D:\a\WePeps\WePeps\we-peps.commun\bin\Release\we-peps.commun.dll" could not be resolved because it has an indirect dependency on the framework assembly "netstandard,Version=2.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.7.2". To resolve this problem,either remove the reference "D:\a\WePeps\WePeps\we-peps.commun\bin\Release\we-peps.commun.dll" or retarget your application to a framework version which contains "netstandard,PublicKeyToken=cc7b13ffcd2ddd51".
D:\a\WePeps\WePeps\we-peps_admin.metaproj : warning MSB3258: The primary reference "D:\a\WePeps\WePeps\we-peps.commun\bin\Release\we-peps.commun.dll" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.ValueTuple,Version=4.0.3.0,PublicKeyToken=cc7b13ffcd2ddd51" which has a higher version "4.0.3.0" than the version "4.0.2.0" in the current target framework.
D:\a\WePeps\WePeps\we-peps_admin.metaproj : warning MSB3268: The primary reference "D:\a\WePeps\WePeps\we-peps.commun\bin\Release\we-peps.commun.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.Runtime.InteropServices.RuntimeInformation,Version=4.0.2.0,PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,either remove the reference "D:\a\WePeps\WePeps\we-peps.commun\bin\Release\we-peps.commun.dll" or retarget your application to a framework version which contains "System.Runtime.InteropServices.RuntimeInformation,PublicKeyToken=b03f5f7f11d50a3a".
当我在本地测试环境中构建它时,一切正常。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。