You are not logged in.

#1 2018-01-05 16:40:04

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

monodevelop issues

When installing monodevelop-git, I get next error:

/usr/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(331,5): error MSB4019: The imported project "/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/tmp/yaourt-tmp-user/aur-monodevelop-git/src/monodevelop/main/external/RefactoringEssentials/RefactoringEssentials/RefactoringEssentials.csproj]

When I want to install monodevelop-stable, I get next error:

target not found: mono>=5.4.0

While the latest mono version is 5.0...

Offline

#2 2018-01-09 15:40:36

dsdante
Member
Registered: 2014-12-04
Posts: 13

Re: monodevelop issues

TheChosenOne wrote:

When installing monodevelop-git, I get next error:

/usr/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(331,5): error MSB4019: The imported project "/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [/tmp/yaourt-tmp-user/aur-monodevelop-git/src/monodevelop/main/external/RefactoringEssentials/RefactoringEssentials/RefactoringEssentials.csproj]

I got the same error when I tried to force installing monodevelop-stable with mono 5.0.

TheChosenOne wrote:

When I want to install monodevelop-stable, I get next error:

target not found: mono>=5.4.0

While the latest mono version is 5.0...

You can temporary allow Testing repository to install mono-5.4.1.7-2.

When installing msbuild-15-bin, you will also need to fix PKGBUILD:

_pkgver=15.4+xamarinxplat.2017.11.27.11.23-0xamarin1+ubuntu1404b1
sha256sums=('599439826207b39c0ab6f3ea7b4889febef1394bf1193345712d4b470e655f65')

I tried installing monodevelop-stable, but it failed miserably with a lot of errors. Here are some of them: https://pastebin.com/raw/17fVRfNK

Also, while the package depends on msbuild-15-bin, it actually tries using v14:

MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.

Last edited by dsdante (2018-01-09 18:02:21)

Offline

Board footer

Powered by FluxBB