项目作者: mrward

项目描述 :
.NET Core support for MonoDevelop and Xamarin Studio
高级语言: C#
项目地址: git://github.com/mrward/monodevelop-dnx-addin.git
创建时间: 2015-07-11T11:28:16Z
项目社区:https://github.com/mrward/monodevelop-dnx-addin

开源协议:MIT License

下载


.NET Core Support for MonoDevelop and Xamarin Studio

Provides .NET Core and ASP.NET Core support for .NET Core .xproj and project.json files in MonoDevelop and Xamarin Studio 6.0 or higher.

Please note that this does not support .NET Core 1.0 and higher which use SDK style .csproj files without an associated project.json file. Visual Studio for Mac and MonoDevelop 7.0 have built-in support .NET Core 1.0 and the new SDK style .csproj files.

This addin uses source code from OmniSharp in order to communicate with the .NET Core design time 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.

Licenses

Building from source

From the src directory run NuGet restore.

  1. git clone git@github.com:mono/monodevelop.git
  2. cd monodevelop
  3. git checkout master
  4. git submodule update --init --recursive
  5. make
  6. rm -rf main/build/tests/
  7. cd ..
  8. git clone https://github.com/mhutch/MonoDevelop.AddinMaker
  9. cd MonoDevelop.AddinMaker
  10. nuget restore MonoDevelop.AddinMaker.sln
  11. make install /p:MDBinDir=../monodevelop/main/build/bin /p:MDProfileVersion=6.0
  12. git clone git@github.com:mrward/monodevelop-dnx-addin.git
  13. cd monodevelop-dnx-addins
  14. git checkout roslyn
  15. cd src
  16. nuget restore MonoDevelop.Dnx.sln
  17. xbuild MonoDevelop.Dnx.sln /p:MDProfileVersion=6.0 /p:MDBinDir=../../../monodevelop/main/build/bin

The last xbuild step can be replaced by opening the MonoDevelop.Dnx.sln into Xamarin Studio 6.0 and building the solution.

To create the addin .mpack file run:

  1. mdtool.exe setup pack bin/merged/MonoDevelop.Dnx.dll

Debugging

You can debug the DNX addin if you have the Xamarin Studio 6.0 and the Addin Maker addin installed by selecting Start Debugging from the Run menu.