xbuild

xbuild and F# (vs2010) project

試著忘記壹切 提交于 2019-12-07 11:27:26
问题 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 badgerports I've been unable to get it working. The error I typically encounter is: /home/alex/git/Solution/FSProject/FSProject.fsproj: error : Target named 'Build' not found in the project. What puzzles me is that looking at the project file, it doesn't

Can I pass an argument to msc through xbuild on the command line?

爱⌒轻易说出口 提交于 2019-12-05 08:30:48
Is there a way with xbuild, either through the command line or within a build script, to pass additional arguments through to the compiler? Specifically, I want to pass in --mcs-debug 1 to get a stack trace for an internal compiler error . I was able to work around it by updating %MONO%\bin\gmcs , but I expect there's a better way. 来源: https://stackoverflow.com/questions/18503033/can-i-pass-an-argument-to-msc-through-xbuild-on-the-command-line

What do these Mono/xbuild warnings mean and how do I fix them?

二次信任 提交于 2019-12-05 04:09:19
I build VS2010 projects with Mono's xbuild 2.10.5.0. The projects use the '.NET Framework 3.5 Client Profile' as the target framework (they must be 3.5 compatible and I don't need more than the client profile parts). I'm getting the following warnings: Build succeeded. Warnings: c:\Project\MyProject.csproj (default targets) -> C:\PROGRA~2\Mono\lib\mono\4.0\Microsoft.Common.targets (GetReferenceAssemblyPaths target) -> C:\PROGRA~2\Mono\lib\mono\4.0\Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v3.5,Profile

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

我是研究僧i 提交于 2019-12-04 04:36:47
问题 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 steps via a proper MSBuild script (which MonoTouch has yet to support) for various reasons which I won't go into, to focus on the question here. So far, here's what I've come up with: 1) Compile each assembly using smcs, e.g. /Developer/MonoTouch/usr

MonoDevelop command line compile a solution

妖精的绣舞 提交于 2019-12-03 10:54:52
The problem is as follows: I have a MonoDevelop project (ASP.NET) on my development workstation. I'm currently at a customer site, without my regular development environment on my laptop (Regulatory Burden). I have SSH access to my development workstation, but the network is too laggy to handle X11 comfortably. I need to make a minor adjustment and recompile. I tried using xbuild, with no effect: qdot@trigati ~/svn/proj/trunk/proj $ xbuild proj.csproj XBuild Engine Version 2.6.4.0 Mono, Version 2.6.4.0 Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009. MSBUILD: error MSBUILD0000: /home

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

空扰寡人 提交于 2019-12-01 21:42:43
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 steps via a proper MSBuild script (which MonoTouch has yet to support) for various reasons which I won't go into, to focus on the question here. So far, here's what I've come up with: 1) Compile each assembly using smcs, e.g. /Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/bright/src/MonoTouchAppWithLib/AppLib/bin/Debug/AppLib.dll "/r:

The assembly mscorlib.dll was not found or could not be loaded

房东的猫 提交于 2019-12-01 00:26:59
Firstly, I've seen this question , and while the problem seems similar, it is not the same. I'm running a trimmed down mono, built without the 4.5 profile using ./configure --with-profile4=yes --with-profile4_5=no . I have an application that targets .NET 4.0, built using mono's xbuild . When I run it against my trimmed down mono installation, I get this error: The assembly mscorlib.dll was not found or could not be loaded. It should have been installed in the `/opt/my-app/mono/lib/mono/4.5/mscorlib.dll' directory. Now, I'm not referencing only 4.0 assemblies - nothing from 4.5, AFAICS. Why

How can i build a visual studio solution using xbuild (from Mono)?

◇◆丶佛笑我妖孽 提交于 2019-11-29 14:41:04
I recently downloaded Mono 2 for my new MacBook. I'm trying to figure out how to compile Visual Studio solutions with xbuild, which is included in Mono. Any ideas? Update: xbuild supports solution files now. see xbuild David Mitchell The last time I checked, solutions weren't supported by xbuild (they use a different file format), but *.*proj files are. If you have a relatively simple solution, you may be able to get away with using xbuild on each project separately, but if your solution is very complex (with interdependencies between projects, etc.), you'll probably have to do a bit of

How can i build a visual studio solution using xbuild (from Mono)?

给你一囗甜甜゛ 提交于 2019-11-28 08:01:23
问题 I recently downloaded Mono 2 for my new MacBook. I'm trying to figure out how to compile Visual Studio solutions with xbuild, which is included in Mono. Any ideas? 回答1: Update: xbuild supports solution files now. see xbuild 回答2: The last time I checked, solutions weren't supported by xbuild (they use a different file format), but *.*proj files are. If you have a relatively simple solution, you may be able to get away with using xbuild on each project separately, but if your solution is very