'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.

0
6 comments

Please try to install msbuild package
apt-get install msbuild

0
Avatar
Permanently deleted user

Ivan,

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

Thanks.

0

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

0

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

0
Avatar
Permanently deleted user

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

 

Thanks for the help!

0
Avatar
Permanently deleted user

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.