Questions tagged [xbuild]

XBuild is the Mono specific version of the MSBuild utility.

XBuild is Mono's implementation of msbuild and it allows projects that have an msbuild file to be compiled natively on Linux and OS X. xbuild has been part of the standard Mono distribution for some time now, but it is not 100% complete yet.

XBuild supports C# and VB.NET projects out of the box. It also supports ASP.NET Projects, both WebApplication and WebSite projects. It also supports custom tasks, targets, extension of the build system through Before/After* hooks (eg. Before/AfterBuild) and *DependsOn properties (eg. BuildDependsOn).

Microsoft open sourced MSBuild at GitHub and ported it to non-Windows platforms. Starting from Mono 5.0 release, xbuild has been obsolete and replaced by MSBuild.

Interestingly, XBuild was the code name of MSBuild when Microsoft worked on Visual Studio 2005 and .NET Framework 2.0.

138 questions
5
votes
1 answer

Do the MSBuild Community Tasks or Extension Pack work with Mono's xbuild?

Has anyone got the MSBuild Community Tasks or MSBuild Extension Pack working with Mono's xbuild? They both seem to have MSI installer, so I guess it's a case of manually transferring the files to the Mac (in my case)? If anyone's done it, I'd…
dommer
  • 19,610
  • 14
  • 75
  • 137
5
votes
0 answers

*.sln will build in Xamarin Studio but not in xbuild

I have a Visual Studio solution that contains 16 C# projects. I also have a separate build.proj file which contains three s: Build, which contains an reference to the *.sln Package, which contains the and
dan04
  • 87,747
  • 23
  • 163
  • 198
4
votes
2 answers

xbuild and F# (vs2010) project

I have a VS 2010 mixed-language solution that's primarily C#, but contains a windows service written in F#. I've had this building with xbuild in the in a parallel environment, but since upgrading to the packaged version of mono 2.10.5 from…
AlexCuse
  • 18,008
  • 5
  • 42
  • 51
4
votes
2 answers

C# Mono on mac - compile and run another project with code

I am trying to build an automatic download, compile & run program for a project just to make it easier for other users on mac and myself so we do not have to do everything over and over as the project progresses. I cant find anything on how to…
Viktor Alm
  • 41
  • 1
  • 4
4
votes
1 answer

Mono xbuild error CS1548 - key file has incorrect format

So I'm trying to get a VS2010 C# project to go cross-platform. First goal is build it in Mono 2.10.5 for Windows. I have not touched any code yet - I'm starting with xbuild's recent ability to build sln files. (Incidentally I use Jenkins to…
Mykro
  • 276
  • 3
  • 11
4
votes
1 answer

Requested but did not find extension point with identifier

i get this error "Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore" when i open zsh…
Anang Ma'ruf
  • 185
  • 1
  • 3
  • 8
4
votes
0 answers

F# Fake is trying to build Xamarin.iOS binding with "btouch-native.exe is invalid" error

I have a Xamarin.iOS solution with Xamarin.iOS custom binding and I can build it locally on my Mac OS in Visual Studio for Mac without any issues. But when I'm trying to build the same solution using F# Fake and build scripts with the same version…
Mando
  • 11,414
  • 17
  • 86
  • 167
4
votes
3 answers

Codesign returns unknown error after "replacing existing signature"

I am trying to build a Xamarin iOS app using xbuild on Jenkins. Sometimes the build fails during the codesigning process with an unknown error -1=ffffffffffffffff and sometimes the build succeeds. The provisioning profile is stored in a separate…
Christopher Stephan
  • 1,081
  • 16
  • 33
4
votes
1 answer

XBuild reporting too many project files but works with MSBuild

I'm running the following msbuild command msbuild /verbosity:normal /property:configuration="Release" /property:VisualStudioVersion="12.0" /m /property:RunOctoPack="true" /property:OctoPackEnforceAddingFiles="true" /target:"Clean"…
Paul D'Ambra
  • 7,629
  • 3
  • 51
  • 96
4
votes
1 answer

Exclude .csproj from VisualStudio 2012 .sln when using Mono Compiler

I want to build my VisualStudio 2012 solution (.sln) with Mono, but it cannot compile projects that rely on VisualStudio-specific assemblies. E.g. xbuild ServerResource.sln ... HypervResourceControllerTest.cs(18,17): error CS0234: The type or…
Donal Lafferty
  • 5,807
  • 7
  • 43
  • 60
4
votes
1 answer

Can I compile a Visual C++ project on Linux using xbuild?

I have an existing project that I compile on both Windows using Visual C++ 2008, and Debian Linux. This project uses a standard Visual C++ .vcproj file, and some .cpp and .h files. It does not rely on any Windows specific stuff. Just plain C++. It…
Didier Trosset
  • 36,376
  • 13
  • 83
  • 122
3
votes
1 answer

What are the complete set of steps to fully build a Monotouch app bundle from the command line?

I'd like to know what the complete set of steps is to build a MonoTouch C# app consisting of the main application assembly containing xib files and a set of library assemblies that also possibly contain xib files. We're trying to automate these…
bright
  • 4,700
  • 1
  • 34
  • 59
3
votes
2 answers

Recursively copy all files with MSBuild

I have the following set of files with MSBuild: I then copy all of it over to another directory:
Mike Christensen
  • 88,082
  • 50
  • 208
  • 326
3
votes
1 answer

Trying to get debugging output from Mono NUnit tests

I have a rather large C# library, originally written for .NET and Windows, which we are now porting to Mono and Linux. It is thoroughly unit tested with NUnit. The porting has been fairly simple, but now I need some real debugging features, like…
ACK_stoverflow
  • 3,148
  • 4
  • 24
  • 32
3
votes
0 answers

C# linux mono runtime version supported by this application is unavailable

i have seen other question on stackoverflow about thi topic but for me is different this is my scenario (on ubuntu) airone@airone:~/LibUsbDotNet_Bin.2.2.8$ sudo mono Test_Info.exe WARNING: The runtime version supported by this application is…
riccardo airone
  • 506
  • 1
  • 6
  • 21
1
2
3
9 10