XSD:错误:CodeDom提供程序类型“Microsoft.VisualC.CppCodeProvider,CppCodeProvider,Version = 8.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a”"无法找到。 [英] XSD : error : The CodeDom provider type "Microsoft.VisualC.CppCodeProvider, CppCodeProvider, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.

查看:154
本文介绍了XSD:错误:CodeDom提供程序类型“Microsoft.VisualC.CppCodeProvider,CppCodeProvider,Version = 8.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a”"无法找到。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

版本:Windows 10 Pro

Edition: Windows 10 Pro

版本:1709

操作系统版本:16299.64

OS Build: 16299.64

2017年MS Visual Studio社区

MS Visual Studio Community 2017

版本15.4.5

要重现,

To reproduce,

1。下载Apache xerces C ++ 3.2.0源码(zip)

1. Download Apache xerces C++ 3.2.0 source (zip)

2。在VC ++中,文件>新>来自现有代码的项目

2. In VC++, File > New > Project from existing code

3。重新定位项目(Windows SDK版本10.0.16299.0)

3. Retarget project (Windows SDK version 10.0.16299.0)

4。构建原因 

4. Build causes 

XSD:错误:CodeDom提供程序类型"Microsoft.VisualC.CppCodeProvider,CppCodeProvider,Version = 8.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a""无法找到。

XSD : error : The CodeDom provider type "Microsoft.VisualC.CppCodeProvider, CppCodeProvider, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.

搜索,找到这篇文章

https://social.msdn.microsoft.com/Forums/en-US/ cf456fc6-9576-49f3-90d4-b45cdff781a5 / xsd-error-the-codedom-provider-type-microsoftvisualccppcodeprovider-cppcodeprovider-could?forum = vcgeneral

https://social.msdn.microsoft.com/Forums/en-US/cf456fc6-9576-49f3-90d4-b45cdff781a5/xsd-error-the-codedom-provider-type-microsoftvisualccppcodeprovider-cppcodeprovider-could?forum=vcgeneral

推荐  gacutil -i" %DevEnvDir%\PublicAssemblies\CppCodeProvider.dll"

Which recommends gacutil -i "%DevEnvDir%\PublicAssemblies\CppCodeProvider.dll"

但是这会返回: 

But that returns this: 

推荐答案

转到"工具" | "NuGet包管理器" | "包管理器设置"并选中"允许NuGet下载丢失的包"然后选中"在Visual Studio中构建期间自动检查缺少的包"。
然后再次尝试构建。然后在未来的版本中,VS可能会警告你允许NuGet下载丢失的软件包,这样你可能想要撤消你所做的但至少暂时使用它。

Go to "Tools" | "NuGet Package Manager" | "Package Manager Settings" and check "Allow NuGet to download missing packages" then check "Automatically check for missing packages during build in Visual Studio". Then try the build again. Then in future builds VS might warn you about allowing NuGet to download missing packages so you might want to undo what you did but at least use it temporarily.

我从项目中得到的错误我已经下载了一些关于类型宇宙的说法,但由于它似乎抱怨没有找到正确的版本,它可能只是意味着你需要允许NuGet修复它。

The errors I have gotten from projects I have downloaded have said something about the type universe but since it seems to be complaining about not finding the correct version it might just meant that you need to allow NuGet to fix it.


这篇关于XSD:错误:CodeDom提供程序类型“Microsoft.VisualC.CppCodeProvider,CppCodeProvider,Version = 8.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a”"无法找到。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆