Hi,
When I execute delphi 2009 project using MSBuild command line, output always goes to C: drive
C:\MyProjects>MSbuild "C:\MyTestProject\Test.dproj" /t:Build /p:OutDir="C:\Output\bin\"
Why is this happening?
Thanks & Regards,
Pavan.
...
Hi folks,
I have two questions re: visual studio 2008 and post-build events.
1) How do i dynamically list the msbuild.exe full path, to be called by the post-build event? Currently, i have the following (which works beautifully, btw):-
C:\Windows\Microsoft.NET\Framework64\v3.5\msbuild.exe
"$(ProjectDir)MSBuild\MSBuildSettings.xml...
Hi all,
In reworking our deployment process I moved over to using an MSBuild project in place of our existing batch files. All of the major elements are in place, and I was looking to cut out a step or two but ran into a snag.
I'm creating a property called OutputPath using the CombinePath task, and, while I can access it with no is...
I have a solution I'm trying to get to build on TFS. I want to update the versions of all appropriate files, and I've been stuck trying to get this done. There are plenty of links on how to do it, but none of them work for me, due to one little issue... Scope.
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="DesktopBui...
Is there a built in way to download a file to a local directory using HTTP?
I can shell out to wget or write a custom task, but I wanted to make sure there wasn't an existing way to accomplish this.
Thanks in advance!
...
I'm defining http handlers on my web.config:
<add name="nsi" path="i.nsi" verb="GET" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0" />
The scriptProcessor points to the Framework64 f...
I have two VS2008 solutions. Both contain a web application. For both web apps I have added a web deployment project.
When I build the first one this is the command line I see in the output window.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe
-v /project.csproj -p C:\Projects\web\project\project -u -f
-d .\T...
95% of my time I program ASP.NET (MVC) web sites.
Should I care about MSBuild?
...
I am in the process of setting up teamcity and msbuild to automate our build process a good deal more than we do now. Each project that we work on is being set up as a seperate project in teamcity, and each of those projects is being set up with 3 build configurations: Development, staging, and live. Development is our standard CI build ...
I am trying to get MSTest working with CruiseControl.Net. I currently have it working prefectly for unit tests, but I would like to see my code coverage. When I run MSTest and export it to an XML file (using /resultsfile:"C:\output\results.xml") it seems that no Coverage information is exported. However when I run MS test and open the re...
Hi,
Can anyone please help me in converting the below nant script to MsBuild Script?
http://localhost//Tupe path="${triad_web_src_code.dir}\T.csproj" />
If it is not a web solution then I need not map the solution & the msbuild could be like this :
But this is not working fo...
I have an msbuild script that runs on Team Foundation build. One of the projects in the build is a clickOnce app. So far I have worked out how to get the script to publish the project to the right place but I am unable to set the click once application version.
I set the version using the TFSVersion Task from msbuildcommunitytasks thi...
I have a multi project solution in VS08. I just added a new Configuration called Release-VersionIncrement to the solution, specifying "use release" configuration as baseline. All project files were updated with that configuration. However, when I am trying to compile a specific project using this configuration, I get the following error:...
I have a managed (asp.net, actually) project that references a COM DLL. Right now, the reference in the .csproj looks like this:
<COMReference Include="thenameinquestion">
<Guid>{someguidhere}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
</COMReference>
...
I'm in the process of developing several custom build scripts for TFS and I'd like to know if there are any best practices for developing, testing and deploying TFS build scripts.
Do you setup development and QC environments that are seperate from the production build server? Are there other ways to isolate the process of developing the...
I've spent some time with new Database project in VS 2008 and decided to go with it (really cool). But i've also discovered that i cannot build it on our CI-server where .NET SDK only is installed. I tried to put Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets to the CI-server but it has too many dependencies on assemblies such as M...
I am preparing to move my team's source control from VSS over to TFS 2008.
This is for an asp.net website, and I am currently using a combination of nant scripts and Cruise Control to do all of the builds and deployments.
I've been trying to wrap my head around the best way to architect TFS build to do the same thing I'm doing with NA...
I am trying to publish an ASP.Net website through NAnt/MSBuild calls. MSBuild is called using the following arguments:
<arg value="SubsManager.sln" />
<arg value="/t:ResolveReferences" />
<arg value="/t:_CopyWebApplication" />
<arg value="/p:Configuration=Release" />
<arg value="/p:OutDir=..\builda\Release\Web\bin\" />
<arg value="/p:W...
I have set up multiple targets in a single xml file. I expect all targets to run but only the frist target gets executed.
Here is a simplified version of what iam trying to do:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="T1">
<Copy SourceFiles="c:\temp\a.txt" DestinationFolder="C:\temp2...
Motivation:
I have fxcop integrated in the build process, which makes fxcopcmd.exe run each time the target has changed or as long as there are warnings from the previous run of fxcop.
But when one works in the studio, devenv.exe often decides to compile the project in background for whatever reasons. For example, when I add a new proje...