Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I am trying to build VSfM from https://github.com/mono/monodevelop/tree/mono-2017-08 branch.
I have 5.6.0 mono and it builds fine.
but If I install .NET Core 2.0 SDK from the official MS site - "make" fails.
the log can be found here: https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=5277&host_id=430&revision_id=907978
Created attachment 24734 [details]
I can reproduce locally when building for release mode, but it doesn't seem to reproduce in debug mode. I have attached the logs of building in both release and debug mode.
To build in release mode, I used the following command:
> msbuild /verbosity:detailed /nologo /property:CodePage=65001 main/Main.sln /property:Configuration=ReleaseMac
To build in debug mode, I used the following command:
> msbuild /verbosity:detailed /nologo /property:CodePage=65001 main/Main.sln /property:Configuration=DebugMac
Ludovic, which version of mono?
Mono 126.96.36.199 (2017-08/ad9daeaf581)
After lot of digging found that:
`NuGet.ProjectModel` assembly is getting loaded from *embedded resources* by `Costura` (via a custom assembly resolver!) from `NuGet.Build.Packaging*.dll` v0.1.276 . And that causes mismatches with the other NuGet* assemblies being loaded from netcore sdk!
This was reverted in the upstream package: https://github.com/NuGet/NuGet.Build.Packaging/commit/7838a0a95fb8ce5c9db7b7d4d2bfe62f38b4eddb
This is included in versions >= v0.1.313 .
I tried using the latest package v0.2.0 and XS builds fine with that.
The update to the problematic package, v0.1.276, was done in https://github.com/mono/monodevelop/commit/89679d43882c86e572941f4f066ab0a4d37959e8 by Matt. Assigning this to him, so that he can decide which version to update to.
mono-addins patch: https://gist.github.com/radical/28b7a1ed44bc0e08691698e50d497c8f
Updating to the latest stable NuGet.Build.Packaging is fine by me. We will probably want the VS Mac change to be tested by QA.
Fix for MonoDevelop master was merged:
master has been merged into mono-2017-08 https://github.com/mono/monodevelop/commits/395158ab52cee36b9055c11b6d0be86d34f2e5a5
A build will be available at https://wrench.internalx.com/Wrench/ViewLane.aspx?lane_id=5277&host_id=430&revision_id=913780
It successfully build.