XSD:错误:CodeDom提供程序类型“Microsoft.VisualC.CppCodeProvider,CppCodeProvider,Version = 8.0.0.0,Culture = n

编程入门 行业动态 更新时间:2024-10-14 16:27:19
本文介绍了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.

搜索,找到这篇文章

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

social.msdn.microsoft/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 recommendsgacutil -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 =

本文发布于:2023-11-15 22:29:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598520.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   类型   程序   VisualC   CppCodeProvider

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!