https://github.com/chamons/xsbuild
Script to invoke Build -> Build All in an open Xamarin Studio
https://github.com/chamons/xsbuild
Last synced: 2 months ago
JSON representation
Script to invoke Build -> Build All in an open Xamarin Studio
- Host: GitHub
- URL: https://github.com/chamons/xsbuild
- Owner: chamons
- License: mit
- Created: 2017-04-04T15:23:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T15:48:54.000Z (about 9 years ago)
- Last Synced: 2026-01-02T02:23:54.169Z (6 months ago)
- Language: C#
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xsBuild
Script to invoke Build -> Build All and (Start Debugging) in an open Xamarin Studio
# Instrucitions
* xbuild /p:Configuration=Release src/xsBuild.csproj
* mkdir -p ~/bin/
* cp -r src/bin/Release/xsBuild.app ~/bin/
* cp xsBuild ~/bin/
* cp xsRun ~/bin/
* System Preferences -> Security & Privacy -> Privacy Tab -> Accessibility and Add xsBuild and Terminal.app
# Why do you need a full Xamarin.Mac project for this?
Unfortunately osascript run from the command line is not allowed access to other applications:
/Users/donblas/bin/xsBuild.applescript:736:840: execution error: System Events got an error: osascript is not allowed assistive access. (-1719)
and it is not possible to add a script to System Preferences -> Security & Privacy -> Privacy Tab -> Accessibility
By creating a trivial Xamarin.Mac application, it can be added to that list (along with Terminal.app).
If there is a better way to handle this, Pull Requests are welcome.