当前位置:网站首页>【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的时候只用名字来检索吧,没有注意到后缀?
边栏推荐
- AutoCAD - layer Linetype
- Mysql索引
- Translation d30 (with AC code POJ 28:sum number)
- Record the interesting process of using Xray for the first time
- 【UE5】AI随机漫游蓝图两种实现方法(角色蓝图、行为树)
- VLAN experiment
- Alibaba cloud SMS service
- [illusory] weapon slot: pick up weapons
- XA Transaction SQL Statements
- Bugkuctf-web21 (detailed problem solving ideas and steps)
猜你喜欢

Image recognition - data augmentation

Error reporting on the first day of work (incomplete awvs unloading)

2837xd code generation - Supplement (3)
![[ue5] animation redirection: how to import magic tower characters into the game](/img/a0/084381493cbc3992b61ef1b8ffce36.png)
[ue5] animation redirection: how to import magic tower characters into the game

Introduction and prevention of penetration test

2837xd code generation module learning (4) -- idle_ task、Simulink Coder

How to judge the quality of primary market projects when the market is depressed?

2837xd代码生成模块学习(3)——IIC、eCAN、SCI、Watchdog、eCAP模块

Vscode set JSON file to format automatically after saving

UE4夜间打光笔记
随机推荐
go语言入门
【虚幻】按键开门蓝图笔记
【leetcode】33. Search rotation sort array
Basic notes of illusory AI blueprint (10000 words)
[200 Shengxin literatures] 95 multiomics exploration TNBC
ICLR 2022: how does AI recognize "things I haven't seen"?
Matlab generates DSP program -- official routine learning (6)
How to achieve the top progress bar effect in background management projects
[unreal] animation notes of the scene
Bugkuctf-web24 (problem solving ideas and steps)
2837xd code generation - stateflow (2)
Translation d30 (with AC code POJ 28:sum number)
VLAN experiment
Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels
Personal experience & blog status
C language: making barrels
Unreal material editor foundation - how to connect a basic material
Alibaba cloud SMS service
UE4夜间打光笔记
【UE5】动画重定向:如何将幻塔人物导入进游戏玩耍