Hello everyone,
I heard we could use placefile/binplace in VSTS to do task of copying existing file (already built) to other build repository location. But after quite some time search in both Google and MSDN library, I did not find any specific help for beginner.
Any recommended readings for a beginner for this topic?
thanks in advan...
Hello everyone,
We could use msbuild to build project from command line. My question is about -p option. This option is used to specify property key/value pairs. My question is, besides the key/value pair assigned by -p option from command line, any other already existing defined options? If there are such existing defined options, wher...
I have this bit of an msbuild project that is making me wonder why it the outcome is the way it is. Not that it is causing an issue or anything of the sort, but I would like to try and better my understanding of it.
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTarg...
Hi,
I'm trying to get our build scripts (which use MSBuild) working correctly on Vista and am finding that projects that have the Register Output (in linker options) option set to True fail to build from the command line with something like this:
Project : error PRJ0050: Failed to register output. Please try enabling Per-user Redirect...
Hi all,
I'm using TeamCity 4 to do CI with MSBuild. My problem is that when I try to copy file to the QA server, the msbuild fails, but if I change the script to copy locally it work. I've tried mapping the remote share as a local drive and still it doesn't seems to work.
This is my task on MSBuild:
<Exec Command="$(BATCH_PATH)deploy_D...
I would like to run a task if any file in an item list is missing. How do I do that?
My current script has a list of "source" files @(MyComFiles) that I translate another list of "destination" files @(MyInteropLibs), using the following task:
<CombinePath BasePath="$(MyPath)\interop"
Paths="@(MyComFiles->'%(filename).%(ex...
With Msbuild v3.5 I can include the "/m" switch to enable multiprocessor support . However I cannot find an equivalent property that hangs off of anything in Microsoft.Build.BuildEngine. How do I enable this setting via the API?
I tried to discover this myself by reflecting over Msbuild.exe (thanks Lutz!) but it doesn't use the BuildEn...
Hi guys
How does MSBuild called SVN task?
Is there any examples or tutorial?
Thanks for your help
nikky
...
At my place we are writing server side applications (WCF services) and we are looking forward automate the installation and run it in our nightly build process...
Moreover, we are looking forward installing it again and again on different servers...
We are searching for:
what is the best tool for nightly build?
(we are currently using...
I am very much new to the Continous Integration. Could anyone please let me know whether we could build a website using MSbuild?
Any information is appreciated.
...
I have a VS2008 solution that contains and ASP.Net website, an ASP.Net WCF service, and several silverlight projects/applications. Building the solution under any of the Configurations that I have defined (Debug, Staging, Release) in the IDE works great. I also have an MSbuild project that builds the solution using an MSBuild Task, run...
I have an Asp.Net MVC Web Application that I am developing. I have TeamCity installed on my development workstation, and have been running CI builds on. All has been working fine. I'd like to move TeamCity off of my machine, and onto the new dev/build server that was just delivered. I do not want to install Visual Studio onto the build s...
Instead of running an external program with its path hardcoded, I would like to get the current Project Dir. I'm calling an external program using a process in the custom task.
How would I do that? AppDomain.CurrentDomain.BaseDirectory just gives me the location of VS 2008.
...
I am running an external process in a custom msbuild task. This task is in assembly A which is called when I'm building project B. Everything works fine. However, when trying to clean the project. Visual Studio 2008 gives me an error saying "the process cannot access assembly A because it is being used by another process". Restarting Vis...
I have a VS 2008 solution with 2 projects. Project A builds into an assembly that is used by Project B (MVC project). I have created a custom task in Project A, which I call when building Project B.
I have come across 2 issues:
If my AssemblyFile property points to Project A's bin directory, everything works well. But when I want t...
my situation
In the C# project I am now working on we have a fairly big solution (80+ projects). Now rebuild times of 5 minutes+ are really becoming a quite problem using MSBuild from VS 2008.
In a analysis I did last week it turned out that my build time was spent as follows
1) Copying files to the projects and recopying it to the p...
Hello everyone,
I want to create a Visual Studio (I am using VSTS 2008) project which simply does file copy work, in more details, I will add some files to this project and this project copy files (included in this project) to some destination location when I build the project.
Any ideas how to do this in VSTS?
BTW: I heard using proj...
The Question and Answer can be found at: http://stackoverflow.com/questions/822104/xpath-in-msbuild-sdc-and-wix
Vaccano
...
Fresh Asking of this Question->
I have a WIX file that I need to modify using MSBuild. It starts like this:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
<?--... Various Removed Params ...-->
<Product Id='$(var.Produ...
I have succesfully added a custom build step to my TFS Team Build script, however, after my build fails (as intended by my custom build step), I want to add a URL to my custom failure report in the "Summary" section at the top of the build report.
This is the section that says...
"Build Name:"
"Requested by:"
"Team project:"
etc
How can...