Dotnet cannot build dolittle application on Ubuntu 19.04

If anybody else encounters this error while running the dotnet build on Ubuntu 19.04
Exception: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

Move your installed dotnet from /usr/share/dotnet/ to /usr/local/share/dotnet. Hopefully this gets fixed in the future.
More info on the github issue.

2 Likes

Nice catch, @joel! It’s a case in our system now, thanks for registering the workaround.

A pull request is on it’s way now for a fix!

1 Like