我在macOS中安装了Jetbrains Rider IDE EAP 12(163.6834),并创建了一个asp.net核心mvc的新项目,但是当我按下Run按钮时出现错误,我猜这是因为我的系统工具集在首选项中为空截图,但我不是'知道如何解决它。
— EXCEPTION #1/2 [InvalidOperationException]
Message = “There was no build tools found”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ProjectModel.Host
StackTraceString = “
at JetBrains.ProjectModel.ProjectsHost.MsBuild.MsBuildSessionHolder.CreateSession () [0x00036] in <d56975ff7c7b45ca9ece62fa812698e6>:0
at JetBrains.ProjectModel.ProjectsHost.MsBuild.MsBuildSessionHolder.get_Session () [0x0000a] in <d56975ff7c7b45ca9ece62fa812698e6>:0
at JetBrains.ReSharper.Host.Features.EditProjectProperties.EditProjectProperties.<.ctor>b__0 (JetBrains.DataFlow.Lifetime lt, JetBrains.Rider.Model.EditProjectPropertiesSession editSession) [0x0011a] in <ec4b565dcde946098d9abab7af9373d2>:0
at JetBrains.Platform.RdFramework.Util.ReactiveEx+<>c__DisplayClass41[T].<ViewNotNull>b__3 (JetBrains.DataFlow.Lifetime lf, T v) [0x00008] in <1c6833f330ab4917b71044a5ce3ead83>:0
at JetBrains.Platform.RdFramework.Util.ReactiveEx+<>c__DisplayClass1 1[T].<View>b__0 (T v) [0x00011] in <1c6833f330ab4917b71044a5ce3ead83>:0
at JetBrains.Platform.RdFramework.Util.Signal1[T].Fire0 (System.Action 1[T][] listeners, T value) [0x0000a] in <1c6833f330ab4917b71044a5ce3ead83>:0
”
答案 0 :(得分:2)
您是仅使用.NET Core解决方案还是使用混合xproj和csproj解决方案?目前,Rider支持仅在安装了VS 2015和.NET Core VS工具的Windows平台上构建混合解决方案。