I tried to build MonoDevelop 7.2.x on Windows 10 using Visual Studio 2017 and unfortunately had some problems.
I followed the instruction on the official homepage (http://www.monodevelop.com/developers/building-monodevelop/) and installed all the required dependencies.
I downloaded the release zip file (https://github.com/mono/monodevelop/archive/monodevelop-7.2.0.583.zip) and extracted it.
I opened the Main.sln Visual Studio solution and tried to build, unfortunately VS complained about a lot of missing references or things that could not be found like "The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode'".
I also tried the winbuild.bat using a git cloned repository. This also did not work because of an unsupported command line switch given to MSBuild.
Has anyone here been able to build MonoDevelop 7.x on Windows successfully? And if yes, how?
2>F:\Development\monodevelop-monodevelop-7.2.0.583\main\contrib\ICSharpCode.Decompiler\Ast\Annotations.cs(5,19,5,29): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?)
2>F:\Development\monodevelop-monodevelop-7.2.0.583\main\contrib\ICSharpCode.Decompiler\Ast\AstBuilder.cs(33,19,33,29): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?)
2>F:\Development\monodevelop-monodevelop-7.2.0.583\main\contrib\ICSharpCode.Decompiler\Ast\AstBuilder.cs(34,19,34,29): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?)
2>F:\Development\monodevelop-monodevelop-7.2.0.583\main\contrib\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs(28,19,28,29): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?)
2>F:\Development\monodevelop-monodevelop-7.2.0.583\main\contrib\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs(29,19,29,29): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?)
2>F:\Development\monodevelop-monodevelop-7.2.0.583\main\contrib\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs(30,19,30,29): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?)
Here is the complete build log: https://pastebin.com/p6c8miC9
git submodule update --init --recursive
from the root of the GitHub repository where you checked it out. – Matt WardThe referenced project '..\..\external\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj'
. However the decompiler project does not use that but has a NuGet package reference - so maybe you need to run a nuget restore for the Main.sln. – Matt Ward