Questions tagged [mdtool]

mdtool was a command line builder for the MonoDevelop, later Xamarin tool.

mdtool was replaced by vstool when Xamarin became Visual Studio for Mac. Note that with Visual Studio 2022, msbuild is the recommended and supported command line tool

27 questions
10
votes
1 answer

Compiling monotouch app using mdtool fails, works in MonoDevelop

I have a Monotouch iPad application for which I am trying to set up an automated build script. I am attempting to use mdtool, but I seem to have hit a wall. If I build the solution using the MonoDevelop GUI, it builds successfully. However, if I…
Kirk
  • 234
  • 3
  • 13
5
votes
2 answers

mdtool, build android apk on mac

I have a Xamarin project am looking to build a Android apk using mdtool, and the command line. Here is the setup : I have a mac mini - Xamarin Studio installed on it, I have the solution which build no problem. Now from the command line this is…
Raj
  • 77
  • 2
  • 10
5
votes
1 answer

.IPA files from MDTool

How can I make MDTool create .IPA files for my MonoTouch project? When I build from within the MonoDevelop GUI application, .IPA files are created. But mdtool build --configuration:AppStore|iPhone --project:MyProject just creates .APP files and…
MDTool IPA
  • 183
  • 1
  • 8
4
votes
1 answer

iOS Archive size difference: command line vs. Xamarin Studio

How do I get mdtool to build an iOS archive that is as small as the Xamarin Studio's menu option (Build > Archive)? I've got a project build archives from script that are coming out much larger than what Xamarin Studio is producing manually from the…
patridge
  • 26,385
  • 18
  • 89
  • 135
4
votes
1 answer

MonoTouch: Build iOS app with mdtool from command line: Multiple provisioning profiles

I want to build my ios-apps Appstore-ready directly from the command line with the mdtool from MonoTouch (Xamarin). I use the following command: '/Applications/Xamarin Studio.app/Contents/MacOS/mdtool' -v build '--configuration:AppStore|iPhone'…
David Müller
  • 5,291
  • 2
  • 29
  • 33
3
votes
2 answers

Why is mdtool failing to compile after I upgraded to latest version of MonoDevelop/MonoTouch/XCode?

I'm using mdtool to build my MonoTouch apps. However, since upgrading today to MonoTouch 3.2.5, MonoDevelop 2.4.2, XCode 4 and Snow Leopard, mdtool now fails to build my app. The app seems to build OK in MonoDevelop. But I use mdtool in my build…
dommer
  • 19,610
  • 14
  • 75
  • 137
3
votes
2 answers

Monodevelop: "MSBuild process could not be started"

I just installed monodevelop on Arch Linux using pacman. I can compile with the mcs command, but I can not build in monodevelop. I am told "MSBuild process could not be started". The same error is given if I try building with mdtool on the command…
rlp
  • 513
  • 2
  • 7
  • 16
3
votes
1 answer

Get Xamarin toolchain version information from command line

I want to ensure that the correct version of mdtool, mono, the sdk and xamarin.android/ios is installed on our CI environment. For that, my idea is to add a version check in the Jenkins/Ant Buildprocess which prevents the build from executing, if…
David Müller
  • 5,291
  • 2
  • 29
  • 33
3
votes
1 answer

Processing a Xamarin.iOS executable before native compilation

How can we hook into the Xamarin.iOS mdtool build in order to modify the app executable's MSIL before it is compiled to native? (Obfuscation is one scenario that needs this ability; there are likely other scenarios as well.)
bright
  • 4,700
  • 1
  • 34
  • 59
2
votes
2 answers

How to build a .sln file using mdtool on OS X

I'm trying to compile a .sln file within /SteamBot-master/SteamBot.sln. After research I found out that I can only use mdtool within the mdtool directory within Xamarin Studio. So what I enter into the Terminal is the…
Johannes Christ
  • 123
  • 2
  • 9
2
votes
0 answers

Coutinous Integration of Xamarin Android

I'm recently working on automatic building of android in Xamarin. I came across some guides and discussion but couldn't find a solution yet. I realized that the walkthrough in reference (1) guided to use mdtool on iOS, however, msbuild on android.…
2
votes
2 answers

Can I build Xamarin iOS from the csproj only an not use the solution command line

I have a few apps i want to build inside my solution and I want to build them separately running : /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build "--configuration:Release|iPhone" ./42.csproj fails. I do see that all of Xamarin…
Eran Chetzroni
  • 1,046
  • 2
  • 14
  • 27
2
votes
0 answers

mdtool Did not find registered GTK# installation

I'm new to Xamarin Studio and mdtool so apologies for the noob question but I'm completely stuck on this and my Google searches aren't finding the answer to my problem. Basically our solution builds perfectly in Xamarin Studio and now I need to run…
DelboyJay
  • 2,799
  • 1
  • 13
  • 18
2
votes
1 answer

Solution file configuration mapping not working properly when building Xamarin.iOS projects from the command line

I'm trying to get Jenkins to build a Xamarin.iOS / MonoTouch project, and I've created some different configurations in my solution & project files to control how things are built from one environment to the next. When I build from within Xamarin…
Kirk
  • 234
  • 3
  • 13
1
vote
2 answers

how to create a build file to build mono android project and generate myproject.apk file.?

I have a mono android project. I can use monodevelop to build the apk of my project. But I want to write a build file (like we do using ANT) with targets that can generate the .apk file. Please point me to the right direction. I have figured out the…
vaibhav
  • 550
  • 5
  • 20
1
2