Visual Studio 2017扩展Microsoft.VisualStudio.Shell.Immutable编译 [英] Visual Studio 2017 Extension Microsoft.VisualStudio.Shell.Immutable Compile
本文介绍了Visual Studio 2017扩展Microsoft.VisualStudio.Shell.Immutable编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我想将我的扩展程序升级到Visual Studio 2017,但我得到了 Microsoft.VisualStudio.Shell.RegistrationAttribute
错误,
但是我已经添加了这个引用?我在编译时遇到了这个错误。是否有任何参考要添加?对此有何评论?
Hi I want to upgrade my extension to visual studio 2017 but I got Microsoft.VisualStudio.Shell.RegistrationAttribute
error,
but I have been already added this reference?I got this error in compile time. Is there any reference to be added or else? Any comment about that?
D:\Visual Studio 2017\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Immutable.10.0.dll ,version :10.0.0.0
我的错误是
My Error is
Severity Code Description Project File Line Suppression State
Error CreatePkgDef : error : ArgumentException: No Visual Studio registration attribute found in this assembly.
Severity Code Description Project File Line Suppression State
Error The assembly should contain an instance of the attribute 'Microsoft.VisualStudio.Shell.RegistrationAttribute' defined in assembly 'Microsoft.VisualStudio.Shell.Immutable.10.0' version '10.0.0.0'
Severity Code Description Project File Line Suppression State
Error at Microsoft.VisualStudio.Tools.CreatePkgDef.ProcessAssembly(String fileName,
解决方案
您好BilgehanY,
Hi BilgehanY,
感谢您在此发帖。
对于您的问题,请尝试删除引用并安装在NuGet包中。
For your question, please try to remove the reference and install in NuGet Package.
最诚挚的问候,
Wendy
这篇关于Visual Studio 2017扩展Microsoft.VisualStudio.Shell.Immutable编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文