Provides DNX and ASP.NET 5 support for MonoDevelop and Xamarin Studio 5.9 or above.
This addin uses source code from OmniSharp in order to communicate with the DNX host. It also uses source code from Roslyn, Microsoft.AspNet.Hosting, Microsoft.Framework.Logging and Microsoft.Framework.OptionsModel, since the Roslyn version of OmniSharp uses types from their corresponding NuGet packages.
- DNX addin - MIT
- Microsoft.AspNet.Hosting - Apache 2.0
- Microsoft.Framework.Logging - Apache 2.0
- Microsoft.Framework.OptionsModel - Apache 2.0
- OmniSharp - MIT
- Roslyn - Apache 2.0
From the src directory run NuGet restore.
cd src
nuget restore MonoDevelop.Dnx.sln
Then build the MonoDevelop.Dnx.sln using xbuild, MSBuild, or Xamarin Studio.
To create the addin .mpack file run:
mdtool.exe setup pack bin/merged/MonoDevelop.Dnx.dll
You can debug the DNX addin if you have the monodevelop source code git cloned into the same parent directory as the DNX addin. So if the DNX addin was cloned into:
/Projects/monodevelop-dnx-addin
The clone monodevelop into:
/Projects/monodevelop
Build MonoDevelop. Then you can debug the DNX addin by opening the solution into Xamarin Studio and selecting Start Debugging from the Run menu.
Alternatively you can change the custom command used to run the DNX addin by editing the MonoDevelop.Dnx.csproj file. The path to MonoDevelop.exe should be changed so it points to where MonoDevelop.exe or XamarinStudio.exe is on your machine:
<Command type="Execute" command="../../../monodevelop/main/build/bin/MonoDevelop.exe" workingdir="../../../monodevelop/main/build/bin">