当前位置:网站首页>【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
2022-07-02 06:36:00 【趁着头发多我想做游戏】
最近在用JetBrain Rider构建项目时出现异常:
未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSharp.Core.targets”。请确认声明中的路径正确,且磁盘上存在该文件。
D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Microsoft.CSharp.CurrentVersion.targets
报错如图:
百度一番未果,于是详细看了一下报错信息,奇怪?用JetBrain Rider这个IDE怎么会出现VisualStudio2017这个路径的东西?
路径中出现了一个MSBuild,于是想到应该是用于构建项目的某个路径发生了错误,于是到File—>Setting—>Build,Execution,Deployment—>Toolset And Build下找,果然看到了这个路径:
虽然不知道这个MSBuild.exe是个什么东西,但是猜测应该与构建项目有关,出现异常的话就证明这个东西选错了,因此修改为之前下载到C盘的一个dotnet的sdk的一个MSBuild.dll:
保存,构建,完成!
为什么会出现这个异常呢?可能是因为JetBrain Rider寻找MSBuild的时候只用名字来检索吧,没有注意到后缀?
边栏推荐
- Edge computing accelerates live video scenes: clearer, smoother, and more real-time
- Project practice, redis cluster technology learning (11)
- 2837xd code generation module learning (2) -- ADC, epwm module, timer0
- [unreal] animation notes of the scene
- 虚幻材质编辑器基础——如何连接一个最基本的材质
- 【虚幻】按键开门蓝图笔记
- Introduction and prevention of penetration test
- 【Unity3D】无法正确获取RectTransform的属性值导致计算出错
- How to handle error logic gracefully
- 2837xd代码生成模块学习(1)——GPIO模块
猜你喜欢
虚幻材质编辑器基础——如何连接一个最基本的材质
[Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
Introduction and prevention of penetration test
2837xd code generation module learning (4) -- idle_ task、Simulink Coder
Junit4 runs MVN test test suite upgrade scheme
Tee command usage example
UE5——AI追逐(蓝图、行为树)
Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud
Share a blog (water blog)
Applet development summary
随机推荐
How does {} prevent SQL injection? What is its underlying principle?
[Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
[200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
Message mechanism -- getting to know messages and message queues for the first time
Ue5 - AI pursuit (blueprint, behavior tree)
Introduction et prévention des essais de pénétration
2837xd代码生成模块学习(3)——IIC、eCAN、SCI、Watchdog、eCAP模块
What is call / cc- What is call/cc?
Deep understanding of redis cache avalanche / cache breakdown / cache penetration
Error reporting on the first day of work (error reporting when Nessus installs WinPcap)
Introduction to go language
2837xd code generation module learning (4) -- idle_ task、Simulink Coder
Bugkuctf-web21 (detailed problem solving ideas and steps)
[illusory] weapon slot: pick up weapons
Binary and decimal system of C language
2837xd code generation - stateflow (3)
MySQL index
Brief analysis of edgedb architecture
Junit4运行mvn test 测试套件升级方案
What wires are suitable for wiring on bread board?