xamarin/vs-mono-debugger-sample

Name: vs-mono-debugger-sample

Owner: Xamarin

Description: Sample showing how to use the Visual Studio Mono Debugger for your own Mono-based project types

Created: 2017-03-22 15:09:51.0

Updated: 2018-01-22 18:48:23.0

Pushed: 2017-10-03 13:25:21.0

Homepage: null

Size: 43

Language: C#

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mono Debugger Visual Studio Extension Sample

This repository contains a source sample that consumes the Mono debugger in a custom Visual Studio project flavor (that is, new kind of project you're creating).

You can use this for scenarios where you embed the Mono runtime into your application (either locally in a Windows application) or on a remote mono application.

The project is set up and configured to built and run from Visual Studio 2015, ready for deploying and testing into the Visual Studio 2015 Experimental instance.

The resulting VSIX does work under VS2017 too, but in order to build and run from VS2017, a one-way upgrade will be performed by Visual Studio upon opening the project, and the Microsoft.VSSDK.BuildTools nuget package will be updated to the latest 15.* version which can only deploy to Visual Studio 2017 Experimental instance instead.

How It Works

The solution contains two projects:

The extension provides a new project template and accompanying custom project flavor. In order for VS to determine that our custom project needs to be initialized (and its containing package loaded), a .csproj must declare our custom flavor GUID as part of the <ProjectTypeGuids> element. This is provided in the included project template for eacy testing after hitting F5 on VS to try out the solution.

This sample uses the “classic” project extensibility in Visual Studio. You can read more about it in the Project Subtypes section of the VSSDK documentation.

Customizing for Production

At a minimum, you should rename all MonoSample instances with your own project name/prefix.

Required changes before distribution, to avoid collisions with other projects based on this sample, are:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.