I'm trying to use the VssGet task of the MSBuild Community Tasks, and the error message "File or project not found" is beating me with a stick. I can't figure out what in particular the error message is referring to. Here's the task:
<LocalFilePath Include="C:\Documents and Settings\michaelc\My Documents\Visual Studio 2005\Projects\As...
When I do a ReadLinesFromFile on a file in MSBUILD and go to output that file again, I get all the text on one line. All the Carriage returns and LineFeeds are stripped out.
<Project DefaultTargets = "Deploy"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MS...
I have a target in my build script that will send an email with an attachment detailing svn changes for a module.
This works if I hard code a single email address however I now want to email multiple developers and the script is failing. Below is the code
<Target Name="MailInformationUpdate" DependsOnTargets="ZipArtifact" Condition=...
I have been using the Tigris community tasks to update various AppSettings keys using the XMLUpdate task.
Now, however I want to add a node to the system.net section to set up the proxy.
I declared a property
<PropertyGroup>
<proxy><defaultProxy> <proxy usesystemdefault="False" proxyaddress="http://IPADDRESS:PORT" />...
I am using a pre-build task in Visual Studio 2008 that invokes msbuild:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe $(MSBuildProjectDirectory)\version.targets /p:Configuration=$(ConfigurationName)
Inside version.targets, I am updating the AssemblyInfo.cs file to replace version information:
<FileUpdate
Encoding="ASCII...
I have a MSBuild project and I want the current date to be added to a zip file that I am creating.
I am using the MSBuildCommunityTasks.
''
'<'Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"'/>'
On the website http://msbuildtasks.tigris.org/ I can see a task called time. I hav...
We seem to be having an issue when running our deployment project in that, when it compiles, it seems to miss our master pages from the output.
Is there any way to 'force' the project to include .master files, either through editing the .wdproj file, or via another method?
Also, I've been reading up on the MSBuildTasks community projec...
Hi,
I'm trying to create copy/zip a pre-compiled site which is contains empty folders(after pre-compilation). Looks like empty folders is not included to the list of items after CreateItem task.
How I can care of empty folders?
thanks
...
I am currently using Msbuild and Msbuild.community.tasks using XMLUpdate and XMLMassUpdate to update various sections of my Web.Config one thing has me stumped though.
If I have:
<configuration>
<nlog throwExceptions="true" xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
I overrode the following target in my TFS build file to run various tasks that set up databases, import data, etc., etc. in Visual Studio 2008 - the aim was to stop only the website associated with an application pool on the server instead of stopping the entire W3SVC service on the entire machine (see alternate task for example):
<Targ...
I'm using Nightly build 1.3.0.477 of MSBuild Community Tasks and I'm having problem with XmlMassUpdate.
Here's what I want to do:
for each project, if it does not reference CommonAssemblyInfo.cs file, add that reference.
I'm doing it like this:
<Message Text="Path is $(MSBuildCommunityTasksPath)" Importance="normal" />
<!---->...
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 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)"
...
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)" />
...
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=...
Here's what I'm trying to achieve. I have a number of projects in C# and VB which I wish to export as template projects as part of my automated build process. Exporting templates is easy to do interactively, but I need to do it as part of my automated build process. Further, the template projects must actually be built prior to exporting...
I have attempted the following:
<!-- Specify the inputs by type and file name -->
<ItemGroup>
<CSFile Include = "$(MSBuildProjectDirectory)\..\Mine.cs"/>
</ItemGroup>
<Target Name = "Compile">
<!-- Run the Visual C# compilation using input files of type CSFile -->
<Csc Sources="@(CSFile)" />
<!-- Log the file name o...
What is the correct way to create a web site using the MSBuild Extension Pack?
I'm trying to use the MSBuild Extension Pack to create a web site using the following target. Unfortunately I don't have the syntax correct. This target will throw an exception saying "InvalidOperationException: The specified path already exists.\r". This is...
I’m using a few custom MSBuild tasks that are checked into source control. I would like to import these tasks into my TFSBuild.proj file that TFS uses to build the project. Right now I have created a 2nd project file that includes all of the uses of these custom tasks. I do this because I can run this project file after the workspace has...
I have an XSLT transform that I developed in VS. It works great when I use VS to run it (via XML->Show Xslt Output). However, when I execute it via the MsBuildCommunityTasks Xslt task I get wildly different results.
Specifically, the output is only the contents of a handful of elements I don't even reference in my XSLT. I guess the def...