Can't load project using the "new" csproj
Hello,
I'm using the latest Rider EAP for now:
Rider 1.0 EAP
Build #RS-171.3655.1246, built on March 22, 2017
Rider EAP User
Expiration date: April 21, 2017
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-71-generic
And I can't load a simple solution with 2 projects targeting net462 and netstandard1.5. Both using the "new" csproj from dotnet core 1.0.1.
When I try to open my solution I get this error at the Event log window:
Project 'MyAwesomeProject' load failed
Cannot load the project with the current MSBuild toolset. Please ensure MSBuild 15.0 is installed.
Install the latest Mono from http://www.mono-project.com/download/
Here's more info:
dotnet --info
.NET Command Line Tools (1.0.1)
Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
Base Path: /usr/share/dotnet/sdk/1.0.1
mono --version
Mono JIT compiler version 4.8.0 (Stable 4.8.0.520/8f6d0f6 Wed Mar 15 16:18:35 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Please sign in to leave a comment.
We are aware of this problem. Workaround is to install mono-complete and msbuild packages.
I have the same problem, but mono-complete is already installed.
mono-complete is already the newest version (4.8.1.0-0xamarin1).
Mono JIT compiler version 4.8.1 (Stable 4.8.1.0/22a39d7 Wed Apr 12 12:00:40 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Please make sure that you have the msbuild package.
>apt-cache policy msbuild
msbuild:
Installed: 15.1+xamarinxplat.2017.02.14.47.38-0xamarin1
Candidate: 15.1+xamarinxplat.2017.02.14.47.38-0xamarin1
Version table:
*** 15.1+xamarinxplat.2017.02.14.47.38-0xamarin1 500
500 http://download.mono-project.com/repo/debian wheezy/main amd64 Packages
500 http://download.mono-project.com/repo/debian wheezy/main i386 Packages
100 /var/lib/dpkg/status
I have the same problem, but running on Windows and having VS2017 installed as well. When i run Rider and create a new solution with a .net core classlib then this:
"Project 'ClassLibrary2' load failed: Cannot load the project with the current MSBuild toolset. Please ensure MSBuild 15.0 is installed."
When i run msbuild /version in cmd, then it shows Microsoft (R) Build Engine version 15.0.25123.0
Running it in the dev command prompt for vs2017 shows Microsoft (R) Build Engine version 15.1.1012.6693.
Rider is unusable for me on the Mac. Everything I build fails without errors.
Succeded: False. Errors: 0. Warnings: 0
This started happening after I upgraded Mono to 4.8.1
I verified my project builds fine in Xamarin Studio.
We apologise to not giving feedback in a proper time.
This issue related to an old EAP and now should be resolved.
Please, contact us if you still have this issue or in case of any other questions or problems.
Thank you!