xbuild

Recursively copy all files with MSBuild

醉酒当歌 提交于 2019-12-23 17:17:34
问题 I have the following set of files with MSBuild: <ScriptFiles Include="Server/scripts/**/*.js" /> I then copy all of it over to another directory: <Copy SourceFiles="@(ScriptFiles)" DestinationFiles="@(ScriptFiles->'$(BuildDir)/WWW/scripts/%(RecursiveDir)%(Filename)%(Extension)')" /> However, what I want to do is copy *.js , and copy /yui/*.* . What I tried doing is: <ScriptFiles Include="Server/scripts/**/*.js;Server/scripts/yui/**/*" /> However, what this does is flatten the /yui/ directory

Is it possible to debug assemblies compiled with Mono / XBuild with Visual Studio on Windows?

戏子无情 提交于 2019-12-19 05:58:16
问题 I'm using XBuild to compile Visual Studio solutions for Mono. This generates the assembly + mdb file. Is there a possibility to debug this assembly with Visual Studio on Windows? When using "Attach to process" i can't debug because an error is shown that the symbols aren't loaded. I tried generating the pdb file for this assembly via Mono.Cecil (AssemblyDefinition, MdbReaderProvider, PdbWriterProvider) and loading it manually via Debug / Windows / Modules and "Load Symbol From / Symbol Path",

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

南笙酒味 提交于 2019-12-19 04:13:05
问题 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

Mono xbuild error CS1548 - key file has incorrect format

别说谁变了你拦得住时间么 提交于 2019-12-14 01:14:57
问题 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 trigger builds, not that it matters as I get the same result at the command-line.) I get " error CS1548: Error during assembly signing. The specified key file `AlphaBeta.pfx' has incorrect format ". There's not much google juice on this error. Does anyone

MonoTouch: custom msbuild task error

人盡茶涼 提交于 2019-12-13 05:39:10
问题 I'm trying to creating a custom task to generate an intermediate .csproj file (see this post for the reason.) The custom task is in a dll that presently references the .net 2.0 assemblies. The experimental msbuild/xbuild setting of MonoDevelop is enabled to force MonoDevelop to use xbuild to build the project. I am able to run this from the command line, via a project that references the task via a <UsingTask> element: ~/src/All/workspace/XBuildExt/bin/Debug> mono /Library/Frameworks/Mono

Error building C# Solution using xbuild (mono)

纵然是瞬间 提交于 2019-12-13 05:10:28
问题 I've searched the depths of the internet and I cannot find an answer or workaround for this problem. I have no idea either what is causing it. I keep getting the error in Xamarin Studio: Error: Error building target GetReferenceAssemblyPaths: UNC paths should be of the form \\server\share. Can someone explain this to me? Here's a link to one of the project files: http://pastebin.com/qZ5uGL9S 回答1: If you inspect your project file you have a couple of extra backslashes in some of your FXCopy

How do I make the MSBuild task in Mono's xbuild use the .NET 3.5 framework?

不羁岁月 提交于 2019-12-11 09:29:12
问题 I'm trying to build a MonoTouch project using xbuild (on a Mac, clearly). Here's my xbuild project: <Project DefaultTargets="Application" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ApplicationProjectFilePath>..\TestApp\TestApp.csproj</ApplicationProjectFilePath> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <MonoTouchReferencePath>/Developer/MonoTouch/usr/lib/mono/2.1/</MonoTouchReferencePath> </PropertyGroup> <Target Name=

Codesign returns unknown error after “replacing existing signature”

北慕城南 提交于 2019-12-10 16:33:57
问题 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 keychain jenkins.keychain (not the system or login keychain) that is referenced by Jenkins through the Keychains and Provisioning Profiles Plugin. This is the console log of Jenkins: Target _CodesignAppBundle: Codesign Task CodesignAllocate:

MonoDevelop command line compile a solution

蓝咒 提交于 2019-12-09 08:26:04
问题 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,

Code publish through jenkins for .net MVC solution in Ubuntu machine

不羁岁月 提交于 2019-12-08 10:54:09
问题 We have setup a jenkins CI build environment in ubuntu for .net code base. Following are the steps performed in jenkins and found to be working fine: - Get code base repository from git. - Build the code base using 'XBuild'. Build is possible with Release mode as well. Post build, the issue we are facing is with publishing the build code. We are able to follow above listed steps, build with MSBuild and publish in Windows. But in Ubuntu, we are unable to publish (locally or externally) as the