'The Lifetime has already been terminated' Error every time I open a project

Answered

I'm just trying to get a basic helloworld project running, but every time I open it I receive the error:

Project 'helloworld' load failed
The lifetime has already been terminated.
Object name: 'Lifetime'

Farther down in the log I also receive the error:

Project 'helloworld' load failed: Can't connect to MsBuild project model process in 600000 ms

Any ideas on what's causing this or what I need to do so I can get this to run? I'm using Ubuntu 16.04, latest dotnet, latest pkg mono-complete, and MSBuild.

6 comments
Comment actions Permalink

Please try to install msbuild package
apt-get install msbuild

0
Comment actions Permalink

Ivan,

I have already installed msbuild via apt-get, but the error is continuing to occur.

Thanks.

0
Comment actions Permalink

Please start a youtrack.jetbrains.com issua an attach all logs from Help-Show Log in Files. Thanks!

0
Comment actions Permalink

You may submit the exception to youtrack and put a link here.

0
Comment actions Permalink

Thanks Ivan, I have created an issue here: https://youtrack.jetbrains.com/issue/RIDER-5627

 

Thanks for the help!

0
Comment actions Permalink

This happens when msbuild.exe is not where it´s supposed to be on your system. I went through this when updating VisualStudio. The solution is Settings > Build,Execution,Deployment > Toolset and build > Use MSBuild version > make sure the path to MSBuild.exe is correct

0

Please sign in to leave a comment.