I have STFW, the documentation, and poured through my own build scripts and cannot find the answer; even reading through a "Diagnostic" build log has yet to reveal what I am looking for.
When I build a VS2010 / MSSQL 2008 solution containing four projects, the output for each project looks like:
__target/$Arch_$Config/sql/$projectName/...
Hi,
I'm automating my MSBuild-based C# solution build using Hudson running on a Windows machine. My product depends on a number of third-party DLLs that need to be registered in some form or fashion for the build to work. Are there any best practices for performing that sort of registration via MSBuild or Hudson?
The particulars:
Red...
How do I get Teamcity to stop when an MSbuild target fails rather than continuing to run all targets?
...
I developed a Winform application that provides security, encryption and plays huge bunch of SWF files. I created a setup project for my application and it packages the files as uncompressed files. I would like to burn the ouptut files to a DVD but the problem being the size (6GB or more), it requires 2 DVDs at least. I would need to pro...
Where is a complete reference of ALL MsBuild properties ?? Like this
$(OutDir)
$(OutputPath)
$(TargetName)
$(TargetExt)
...
...
I'm trying to search for a set of assemblies based on the following convention within a directory:
{SubDirName}\{SubDirName}.dll
I've started by creating an MSBuild ItemGroup [by batching another ItemGroup on the .RecursiveDir portion].
<AllAssemblies Include="$(SourceDirectory)\**\Test.*.dll" />
<Dirs Include="@(AllAssemblies->'%(Re...
This whole setup process is fairly perplexing, and I feel like the documentation is written for CI and cloud experts. Can anybody lend some inght into their setup?
...
I'm trying to use the AspNetCompiler task within a custom msbuild file to precompile an asp .net 4.0 website. However, when i run:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe custom.msbuild /t:PrecompileWeb
it uses the v2.0.50727 aspnet_compiler. Is there a way to force it to use the v4.0.30319 aspnet_compiler? The reas...
I'm use msbuild for deploy my applications, using VS 2008, windows xp
It appears this errors:
warning MSB4011: There is a circular reference involving the import of file.
error MSB4006: There is a circular dependency in the target dependency graph involving target "Install".
ScriptDespliegue.Targets file call to task from $(MSBuild...
Hello,
I have a solution I am migrating from Visual Studio 2005 to 2010. Inside the IDE on developers machines, everything works fine, but my build server (with CC.NET) is giving me an error.
I have around 10 projects, 3 of which are not strong-named due to using unsigned references.
One of them (signed) has an InternalsVisibleTo anot...
I am using the MSBuild runner in Team city to build and deploy my project to a staging environment. Everything works perfectly except for the fact that it keeps removing my repository folder located in the root of the project.
In Visual Studio 2010 there is a check box in the publish profile dialog that says "Leave extra files on destin...
Hi, I need to read the XML from the file. I use following code:
<ItemGroup>
<SourceXsltFile Include="SourceFile.xml" />
</ItemGroup>
<ReadLinesFromFile File="@(SourceXsltFile)">
<Output TaskParameter="Lines" ItemName="FileContents" />
</ReadLinesFromFile>
But I need only the part of the file's content to be copied which resides ins...
Due to the extreme amount of .resx files in our application, I have created the following MSBuild script to compile all language .resx files into .resource, then embed them into satellite resource assemblies.
<Project DefaultTargets="Main" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Res Include...
Hi, I wish to start using MS-Build. I have lots of projects which I build manually (from Visual Studio) as of now. I want to automate build process and preferably from a machine onto which I don't wish to install Visual Studio. I started reading about MS-Build on MSDN. But I am yet to get a step by step guidance where to start and how to...
Hy guys
I'm writing script for CI system (Bamboo). So, it calls "msbuild.exe project.sln /p:Configuration=Release". In csproj file of mvc web application i defined after-build task in different ways.
None of these do publish:
<AspNetCompiler
VirtualPath="temp"
ToolPath="C:\Windows\Microsoft.NET\Framework\v4.0.30319"
PhysicalPa...
I am attempting to get the latest changeset version in a TFS MSBuild. I have tried a number of solutions, and have referenced http://stackoverflow.com/questions/1630823/tfs-and-msbuild-version-number-with-last-changeset without the desired result. Any other ideas?
Some blog entries/examples suggest using 'tf changeset /latest /i msbu...
Edited to indicate the VS'08 cannot compile a working dll, though I original said it could
We have a piece of VB code that compiles differently depending on what tools are used to compile it.
I have tried compiling this code on several different computers using Visual Studio '08, '10, and MSBuild 3.5 and 4. MSBuild 3.5 (which our bu...
I am using MSBuild/yuicompressor to combine and minify JavaScript.
As part of this process, I want to modify my script references so they have a timestamp in the querystring. That way, a user always gets the non-cached version of the file when a new release is published. For example:
<script type="text/javascript" src="/scripts/combine...
Hi all,
I'm having a little problem with Running Test on VS TFS 2008 Continuous Build.
The problem is that MSTest.exe search config file under
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\" path, so the error is:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\MyConfig.config could not be found.
Ther...
I'm customising a .csproj project to run some custom tasks before the main build. However, I can't get the tasks to execute at all.
I uncommented the <Target Name="BeforeBuild" /> element in the .csproj file and added a simple Message task, but when I build, the message doesn't appear in my output, so it seems the task isn't running. S...