Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project shows as broken in MonoDevelop and won't compile #16534

Open
obrakmann opened this issue May 12, 2019 · 12 comments

Comments

Projects
None yet
4 participants
@obrakmann
Copy link
Contributor

commented May 12, 2019

Screenshot from 2019-05-12 13-04-01

@obrakmann

This comment has been minimized.

Copy link
Contributor Author

commented May 12, 2019

Introduced by #16451, 1955cac

Edit: it worked when I looked at that PR, at d216cdc. It must have regressed between that revision and 43c4d41, which was merged

@pchote

This comment has been minimized.

Copy link
Member

commented May 12, 2019

Are you using mono / monodevelop from https://www.mono-project.com/download/stable/#download-lin-ubuntu, or the default shipped with Ubuntu? We now require mono >= 5.4 and a similar vintage of monodevelop for compiling.

@obrakmann

This comment has been minimized.

Copy link
Contributor Author

commented May 12, 2019

I'm using MD 7.4, mono is 5.10.1.20

@obrakmann

This comment has been minimized.

Copy link
Contributor Author

commented May 12, 2019

@pchote

This comment has been minimized.

Copy link
Member

commented May 12, 2019

MD 7.8.2 works fine in my Ubuntu VM. Can you try updating using the upstream repo and seeing if you can reproduce the issue?

@pchote

This comment has been minimized.

Copy link
Member

commented May 12, 2019

Problems like this may also be caused by stale build artifacts. I expect you've already tried a clean and full rebuild, but if not then it might help.

@obrakmann

This comment has been minimized.

Copy link
Contributor Author

commented May 12, 2019

Updated to 7.8.2, still broken, even after cleaning both from within MD and using the Makefile.

I even removed all checked out files and restored them with git checkout -- ., still doesn't work after that. So I doubt it's caused by any left-over artifacts.

@pchote

This comment has been minimized.

Copy link
Member

commented May 12, 2019

Is compiling using the makefile / msbuild broken too?

@obrakmann

This comment has been minimized.

Copy link
Contributor Author

commented May 12, 2019

no

@pchote

This comment has been minimized.

Copy link
Member

commented May 12, 2019

Strange. Can you confirm that it works again if you switch the sln back to AnyCPU and remove the <Platforms>x86</Platforms> line from the csproj files (but don’t touch the <PlatformTarget>)? The csproj change will be needed for VS on Windows.

@tovl

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

I seem to be having the same issue here.

I'm using MD 7.8.2, mono 5.20.1.19, Linux Mint 18.3.

Running make in the command line works without problems.

@matjaeck

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

Same here, MD 7.8.2, mono 5.20.1.19, Ubuntu 18.04.

The changes suggested by @pchote seem to fix it on my end.

@pchote pchote added this to the Next Release milestone May 20, 2019

@pchote pchote self-assigned this May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.