当前位置:网站首页>【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的时候只用名字来检索吧,没有注意到后缀?
边栏推荐
- Skywalking theory and Practice
- [illusory] weapon slot: pick up weapons
- 【虚幻】武器插槽:拾取武器
- Project practice, redis cluster technology learning (16)
- What wires are suitable for wiring on bread board?
- Applet development summary
- 2837xd code generation module learning (4) -- idle_ task、Simulink Coder
- Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
- Tee command usage example
- Project practice, redis cluster technology learning (10)
猜你喜欢

UE5——AI追逐(藍圖、行為樹)

Commutateur Multi - lentilles Blender

【UE5】AI随机漫游蓝图两种实现方法(角色蓝图、行为树)

Share a blog (water blog)
![[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)](/img/dd/cbe608fcbbbdf187dd6f7312271d2e.png)
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)

2837xd code generation - Supplement (2)

2837xd code generation module learning (1) -- GPIO module

What wires are suitable for wiring on bread board?

Blender多鏡頭(多機比特)切換

Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
随机推荐
This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
[ue5] blueprint making simple mine tutorial
Brief analysis of edgedb architecture
Junit5 支持suite的方法
Image recognition - data augmentation
Sil/pil test of matlab code generation
Skywalking theory and Practice
2837xd code generation - stateflow (2)
ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林
[illusory] weapon slot: pick up weapons
MySQL -- time zone / connector / driver type
How to handle error logic gracefully
UE4夜间打光笔记
[200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
C language: making barrels
Junit4运行mvn test 测试套件升级方案
Project practice, redis cluster technology learning (16)
Project practice, redis cluster technology learning (13)
Error reporting on the first day of work (error reporting when Nessus installs WinPcap)
2837xd 代码生成——StateFlow(1)