首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >VS 2019的G1ANT SDK安装

VS 2019的G1ANT SDK安装
EN

Stack Overflow用户
提问于 2019-07-04 16:23:38
回答 1查看 89关注 0票数 1

我在G1ANT.Robot github页面上克隆了存储库,并在VSStudio2019CE16.1.5,Win10 Pro中打开了G1ANT.Sdk.sln,并提供了最新更新。我将默认的构建属性保留为"Debug“和"AnyCPU”。以下错误无法解决,因为我的系统上没有所需的文件:

代码语言:javascript
复制
Severity    Code    Description Project File    Line    Suppression State
Warning     Could not resolve this reference. Could not locate the assembly "Microsoft.VisualStudio.CoreUtility, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   G1ANT.AddonTemplate         

还有其他错误,这些错误似乎都与VS早期版本的依赖相关(我认为有些依赖于v14.0,有些依赖于v15.0 )。

我确实有可用的Microsoft.VisualStudio.CoreUtility,但版本是16.0 (即VS 2019年)。简而言之,编译可能需要比我的版本更早的VS版本。安装这样的早期版本对我来说不是一种选择。

谢谢,burque505

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-07-08 15:55:10

是的,应该更改文件/G1ANT.Sdk/G1ANT.Sdk/source.extension.vsixmanifest:

代码语言:javascript
复制
<Installation>
    <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,]" />
    <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[15.0,]" />
    <InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[15.0,]" />
</Installation>
<Dependencies>
    <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.6.1,)" />
</Dependencies>

您可以下载正确的安装:https://github.com/G1ANT-Robot/G1ANT.Sdk/raw/master/G1ANT.Sdk.vsix

我相信这会有帮助:)

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56891637

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档