Xamarin Studio and MonoDevelop now have support for ASP.NET Core 1.0 RC2 with an alpha release of the .NET Core addin.
This is an update of the original DNX addin which adds support for .NET Core RC2 and also, thanks to David Karlas, adds support for debugging .NET Core applications on the Mac.
- Debugging .NET Core applications with the .NET Core CLR on Mac.
- Project templates for console, library and web applications
- Code completion
- NuGet integration
- Solution window integration
Installing .NET Core SDK
The .NET Core SDK needs to be installed separately before using the .NET Core addin. Detailed installation instructions can be found on Microsoft’s .NET Core web site.
Installing the addin
The addin is currently available from MonoDevelop’s Add-in Repository in the alpha channel. In Xamarin Studio open the Add-in Manager and select the Gallery tab. Click the repository drop down and if Xamarin Studio Add-in Repository (Alpha Channel) is not displayed then click Manage Repositories. In the window that opens tick the check box next to Xamarin Studio Add-in Repository (Alpha Channel) and then click the Close button.
Select the .NET Core addin and then click the Install button.
After installing the .NET Core addin you will need to restart Xamarin Studio before the project templates are available in the New Project dialog.
Creating a .NET Core project
There are three project templates available for .NET Core in the New Project dialog.
Thanks to David Karlas there is a support for debugging .NET Core applications when running on the .NET Core CLR if you have the VSCode Debugger addin installed.
The VSCode Debugger addin is currently available from MonoDevelop’s Add-in Repository on the alpha channel.
Debugging .NET Core console and web projects that target the full .NET framework is supported on all platforms. The .NET Core command line tool (dotnet.exe) will create an executable when targeting the full .NET Framework which can be debugged in Xamarin Studio. On Windows the x86 version of the .NET Core SDK needs be installed since Xamarin Studio currently cannot debug x64 applications on Windows.
The source code for the addin is available on GitHub.