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>
...
I'm trying to build RIA-enabled Silverlight project on the continuous integration server. There is no Visual Studio installed on it. Therefore I'm missing some libraries/targets.
What needs to be installed in order to build RIA project with only MSBuild?
...
I wish to execute an EXE as a part of my post MSBuild tasks , once all the projects in my solution are build (The exe should get executed only after the complete build of my solution and not the individual projects).
Now how do i accomplish that ? I guess i need to add a post build task item in the MSBuild.
Can someone suggest a solut...
My server is running on windows server 2008, IIS 7.
My client is Windows server 2003 or Windows XP.
I want to start/stop websites remotely.
I easily managed to do it interactively using IIS 7 manager on my clients machines (cf http://blogs.iis.net/bdela/archive/2007/10/08/remote-administration-managing-iis-7-rco-from-windows-xp-2k3-and-...
I have an MSBuild file that manipulates the AssemblyInfo file before the application is compiled. At the end of the build, it restores the AssemblyInfo file. It does this by backing up the file, manipulating it, and then after build time, restoring the file.
This works fairly well except when an error occurs during the build. It then...
We are running Cruise Control 1.5.7256.1 and using it to do builds using Nant and Nantcontrib. The builds are failing and succeeding correctly, but when they fail the related error messages are being shown on the CCNet Build Report page. See image below
The build errors can be seen on the View Build Log page, but they aren't making it...
Hi All,
I'm working on a application where multiple dev will check-in everyday. I want to copy latest files only after check-in and successful TFS build to a share location. Currently I'm using post build script something like
Attrib -r "$(ProjectDir)Data*." /S & xcopy /S /Y /I "$(ProjectDir)Data*." "ShareLocation"
But the biggest ...
Hello,
In process of internationalizing our .NET applications we stumbled to the fact that there is a lot of room for human error.
Most popular is that a string is present in neutral culture resource file, but is not in culture-specific resource file. So, at runtime a neutral string gets loaded (which has been written by a programmer, n...
I'm attempting to create a 3.5 build from a 4.0 set of code. It almost works the following msbuild options: /tv:3.5 /p:targetframeworkversion=v3.5. The issue is that I get a conflict for those classes that have moved to new assemblies in 4.0, for example:
error CS0433: The type 'System.Web.Security.RoleProvider' exists in both 'c:\Win...
I'm working to upgrade our CI system with CruiseControl, MSBuild and MSDeploy. I've created separate build configurations for each stage of our web site, and set up MSBuild to run the following command to build the web package:
C:\...\MSBuild.exe C:\...\xxx.csproj /target:Package
This gives me the xxx.zip file and the xxx.deploy.cmd ...
Hi, my solution has two web projects. What I want to do is to build the solution through team city but have each web project going to a different output directory?
Does anyone know how to do this?
I am using Nant but I believe I can push through any required parameters into MSBuild.
Thanks.
...
Hi,
I'm getting an error in a VS2010 DB project that indicates I have too many charachters in my build path.
How can I change my default build path for all project types?
Something like
c:\build\$(projectname)\......
Thanks!
EDIT:
I've moved my project to the root of the C: drive and I still get the error with my DB project. I ...
i'm taking a list of files *.config and copying them to a list of directories. The directories are relative to a path C:\branches\ have a name and then the name.UnitTest.
so the copy looks like this without being refactored/batched:
<Target Name="CopyClientConfigs">
<ItemGroup>
<ClientConfigDestinations Include="$(LocalSourcePath)...
I try to update our build-process so that it code sign all the assemblies and installers:
1) Build all the projects
2) Sign their outputs
3) Build installers (msi, with VS2010 Setup Projects)
4) Sign installers
The problem I have is, that in Step 3, the Installer-Project takes the primary output out of the obj-folder. But in step 2 I ta...
is it somehow possible to run tests with it?
I am always getting message:
(CoreTestConfiguration target) ->
MSBUILD : warning : Visual Studio Team System for Software Testers or Visual Studio Team System for Software Developers is required to run tests as part of a Team Build.
...
I have a Visual Studio 2010 SharePoint project. If I choose 'Package' from the project menu, a .wsp file is generated. How can I invoke the same build from command line (i.e. what /target is required for MSBuild)?
...
This is my first dive into MSBuild so I'm feeling pretty lost.
The end goal is to run an executable which will output a file, and we want the output of the build to be that file. In this build there is no VS project what so ever.
The build is being run by TFS build services.
At this point all I'm trying to do is generate a file and...
I'm in the process of upgrading our VS 2008 solution to run on VS 2010
I managed to successfully build in VS 2010
My next step now is to configure a build machine running TFS 2008
Whenever I start a build it does my projects in alphabetical order with no regard for dependencies. I've googled a lot and I can't seem to find a solution t...
Hi all,
I have a MSBuild script that builds my windows forms application, generates the application manifest and signs it, then generates the deployment manifest. The script also generates the publish.htm file for me.
Now I need to generate the setup.exe file and so far I have not been able to figure out how VS generates it. How can I ...
I am trying to incorporate FxCop directly into my build. I am using the MSBuild Community Tasks. I have a targets file like this:
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<FxCopToolPath Condition="'$(FxCopToolPath)' == ''">$(MetaSharpL...