I made a custom task in my TFS build to examine my project's GlobalAssemblyInfo.cs file in order to extract an attribute (AssemblyInformationalVersion to be exact) in order to use its value in naming a zip file that I make with the build.
<UsingTask TaskName="GetAssemblyInformationalVersion.GetAssemblyInformationalVersionTask"
...
I'd like to calculate a path in a MsBuild task, to be used by another MsBuild task.
What is the best way to accomplish this?
Setting a environment variable, printing to Console, ...?
...
How do I keep values defined in one build target alive in other targert? If PropertyGroup is not the write MsBuild entity I should use here, what is? ReleaseDir is printed ok in "Package" target, but is empty in "DoPackage"
<Target Name="Package">
<PropertyGroup>
<ReleasesDir>c:\tmp</ReleasesDirBase>
</PropertyGroup>
<Message ...
I am new to .NET programming. We are a team of 4 members developing a web based application.
We will begin our development once the Requirement Specification and other formalities are
completed.
As suggested in this forum we are planning to use Visual SVN for source control. We are not
aware of Build tools, we heard that MSBuild and ...
After much Googling, I found a custom task that could increment my revision number while building my project using msbuild. However, the revision number is not being updated. Without modifying my "Microsoft.VersionNumber.targets" file, the build fails and says "The version specified '0.0.090903.0' is invalid". So I found this link which ...
I've got a pretty simple web site project that I want to build using CruiseControl.net.
On one page there is a user control nested within a repeater control, and I need to get a strongly typed reference to that user control in the ItemDataBound event handler:
ASP.usercontrols_stars_ascx stars = (ASP.usercontrols_stars_ascx)e.Row.Fin...
I am new to Cruise Control. I'm running a project where I use an MSBuild file to build my project. I'm using the NUNit task in the MSBuild Community Tasks project to run all of my unit tests and output an xml file with the test results with this command:
<NUnit Assemblies="@(OutputFiles)" WorkingDirectory="$(UnitTestResultsLocation)"
...
This may be a stupid question, as I'm not sure how MSBuild works with Delphi under the hood, but we have a Delphi app that needs to run with no .Net dependencies, and since we have updated our build process (now using team build with msbuild) the app won't run without .Net. I am just trying to narrow things down, so I'd appreciate any he...
I have googled everywhere for this solution and cannot find anything!
I want to have a msbuild script to do the following:
Build the project solution
Publish the built solution with the specified app.config (app.config.debug or app.config.release) to a specified folder (Development or Production)
With the specified configuration, know...
I have found that creating a zip file using the Zip task provided by MSBuild Community Tasks changes (or rather, deletes) any file attributes of the files being zipped. Here is one of my calls to the Attrib task to make DLLs inside a folder have the read-only attribute:
<Attrib ReadOnly="true" Normal="true" Files="@(DLLsToReadOnly)" />
...
Is it possible to build Visual Studio Database Project (.dbproj) on a machine without Visual Studio Team Suite or Team Foundation Build installed?
I've got a "clean" machine running CC.NET and would like to automatically build .dbproj projects using MSBuild. I wonder is it possible to copy required .targets files and some .dll and make...
I want to make a target in my MSBuild script that:
Fetch SVN revision/datetime from sources folder ('svn info' command)
Update VERSIONINFO resource from .EXEs and .DLLs generated by 'build' target
There is something ready to accomplish this? I'm asking just before reinvent another wheel...
I'm giving a look into http://msbuildexten...
I have searched all the custom tasks in Extension Pack and Community Tasks and finally found a task called Msi.Istall in SDC Tasks. But the documentation is bad and causes problems. I get errors regarding the properties passed to the installer. So I wrote a custom task that calls PsExec.exe from Msbuild but it hangs...
Below is my Inst...
I am attempting to a get a isolated build environment setup in my dev team.
The problem that I am presently hitting is a DotNet project which has a reference to a VB6 COM assembly.
The COM assembly is registered on the build system, but when I run msbuild against the sln I get the following error:
error MSB3303: Could not resolve COM ...
Is it possible to do this natively without addons or 3rd party tools?
I know there is the gacutil, but there is not an exe to run, otherwise i could've called it from the Exec task.
Has anyone done something similiar?
...
I'm having an issue with the Attrib task from the MSBuild Community Tasks Project when running on a 64 bit build machine.
I've put together this small test project to show what the problem is:
<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project=...
I use Teamcity on Windows 2003/IIS 6 for my continous integration environment. I use the msbuild runner. Whilst I know there are a number of tasks and way to handle config replacement and transformation between environments I'm particularly interested in this one provided by Microsoft based XSLT principles which looks like it refers to m...
Hi!
Is there a way to send e-mail from a MSBuild script using a task that get a connection from a SMTP server that listens to a non-standard port?
I've seen that tasks from Extension Pack, Community Tasks and SDC Tasks provide an attribute for the SMTP server name but no attribute for the server port.
Any idea?
Regards,
Olivier.
...
Hi Guys,
I have a solution which contains a project with a reference to a library that creates PDF files. The PDF library has a 32 bit version and a 64 bit version. During development, the project references the 32 bit version.
I am developing on a 32 bit machine. I have Cruise Control triggering a build every time I check something...
I could do with some pointers, code examples or references that may help me do the following in an msbuild file to help speed up the deployment process..
This scenario involves getting a developers 'local' version onto a 'development' server..
Increment a developers local Web Applications Assembly version number
Publish a developers l...