Integrating Reveal using Visual Studio for Mac

The quickest way to get Reveal running with your Visual Studio for Mac projects is to link against the RevealServer.framework in the Debug configuration of your project.

  1. Right click your iOS project in Visual Studio for Mac and select "Options"
  2. Select Build → iOS Build
  3. Ensure that the "Configuration" is set to your Debug configuration. Be sure not to ship Reveal Server in a release build of your app.
  4. Add the following argument to "Additional mtouch arguments":

    For iOS targets:

    --framework:"$(HOME)/Library/Application Support/Reveal/RevealServer/iOS/RevealServer.framework"

    For tvOS targets:

    --framework:"$(HOME)/Library/Application Support/Reveal/RevealServer/tvOS/RevealServer.framework"
    This assumes you've launched Reveal.app at least once, and that you're running version 23 or later. Running Reveal creates and installs the frameworks into your application support directory. If you're running an older release, please see the instructions below.

file-eWKuUMGmJ5.png

Further information on embedding frameworks in Xamarin is available from their developer site.

 


Reveal version 22 and earlier

For older releases of Reveal, please follow these instructions:

  1. Right click your iOS project in Visual Studio for Mac and select "Options"
  2. Select Build → iOS Build
  3. Ensure that the "Configuration" is set to your Debug configuration. Be sure not to ship RevealServer in a release build of your app.
  4. Add the following argument to "Additional mtouch arguments":

    For iOS targets:

    --framework:/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework

    For tvOS targets:

    --framework:/Applications/Reveal.app/Contents/SharedSupport/tvOS-Libraries/RevealServer.framework
    This assumes you've installed Reveal.app in to your Applications folder. If necessary, change the path to point to where you've installed Reveal.app.