Hi,
I've adopted a Visual Studio solution that contains a number WiX projects. We build the solution from an MsBuild script to generate the product's installer msi.
The problem I'm experiencing is that if I build (and don't rebuild), even if exe's and dll's get updated that need to be put in the installer, the WiX build system doesn't ...
Anybody manage to get .net 4.0 applications compiling on a CI server without installing visual studio 2010 on a CI server. No SDK exists for .net 4.0. Have installed .NET 4.0
on CI Server. Msbuild.exe works for simple projects and give the following warning
(GetReferenceAssemblyPaths target) ->
C:\Windows\Microsoft.NET\Framework\v4....
Howdy, I'm having a bit of an issue runnning a NAnt script that used to properly build my .Net 2.0 based website, when compiling with VS2008 and it's associated tools. I've recently upgraded all the project/solution files to VS2010, and now my build fails with the following error:
[exec]
C:\Windows\Microsoft.NET\Framework64\v4.0.3...
Are the any MSBuild properties that Visual Studio sets? I'm looking to have some conditional behavior depending on the version (if any) of visual studio.
...
I've added the AssemblyInfo Task reference to my C# project file (VS2008 .NET 3.5), but when I build I get the following error
The "AssemblyInfo" task failed
unexpectedly.
System.ArgumentException: version
Parameter name: The specified string
is not a valid version number at
Microsoft.Build.Extras.Version.ParseVersion(St...
I know
<Error... />
task can stop the running process but it will raise an error. How can I get rid of that error but still be able to quit the program?
...
We use RoboHelp HTML X5.x.x to generate CHM files for our help system. Is it possible to run RoboHelp unattended, non-UI, like from a command-line, so it can be integrated with our MSBuild build process?
...
I'm working on a reusable MSBuild Target that will be consumed by several other tasks. This target requires that several properties be defined. What's the best way to validate that properties are defined, throwing an Error if the are not?
Two attempts that I almost like:
<?xml version="1.0" encoding="utf-8" ?>
<Project ToolsVersion="...
I’m seeing some odd behaviour I can’t explain.
I'm using wix to generate a msi and using the msbuild GenerateBootstrapper task to handle pre-requisites. It all seems to build correctly i.e. there are no error or warnings but the generated setup.exe won’t run. It gives a nice blank error dialog and the event log gives about the same inf...
We have started a new project but also have this problem for an existing project. The problem is that when we compile with a warning level of 4 we also want to switch on
'Treat all warnings as errors'
We are unable to do this at the moment because generated files (in particular reference.cs files) are missing things like XML comments a...
My scenario is this: I am currently testing out a new Team Foundation Server 2010 installation; which we will be moving to shortly.
Upgrading builds to work with TFS 2010 and the new MSBuild seems like a lot of work (it does not work out-of-the-box, at least). So what I would like to do, is to repurpose our old TFS Server to be a build...
I have a Visual Studio 2008 Solution where the main output exe is a VB.Net Winforms exe which has several VB.Net and C# dll's linked from the same solution. The whole solution is under version control with subversion.
Now I want to automagically update by generated files with the current svn revision number.
For this purpose I found thi...
Does anyone have any clue as to what this might mean?
(ClCompile target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB6006: "CL.exe" exited with code -1073741515.
It builds fine on my dev box but fails due to this error on our CI box. It's running on .NET 3.5.
Any ...
I want to share some class source files between two projects in Visual Studio 2008. I can't create a project for the common parts and reference it (see my comment if you are curious to why).
I've managed to share some source files, but it could be a lot more neat. I've created a test solution called Commonality.
The Solution Explorer o...
So I am using Visual Studio 2008 and VS.PHP 2.9 with Team Foundation Server to develop my PHP application. Unfortunately, I have to use TFS and Visual Studio - no switching to Subversion or Git.
I am in the process of writing an MSBuild script to, whenever files are checked into a certain directory in the tree, get the latest version o...
I created the ItemGroup shown in the code snippet. I need to iterate through this ItemGroup and run the EXEC command - also shown in the code snippet. I cannot seem to get it to work. The code returns the error shown below (note - the Message is written 2 times, which is correct), but the EXEC Command is not running correctly. The va...
Please tell me the difference between omake and nmake. We want to migrate from omake to nmake as we are rolling out clearcase. Please explain the process of migration from omake to nmake? Also please let me know if there are some complications.
...
I need to create multiple /testcontainer: parameters to feed into a task that exec's MsTest.
I have the following :
<ItemGroup>
<TestFiles Include="$(ProjectPath)\**\UnitTest.*.dll" />
</ItemGroup>
for each match in TestFiles I would like to build a string like so:
"/testcontainer:UnitTest.SomeLibrary1.dll"
"/testcontainer:U...
How can I force Visual Studio 2010 to use MSBuild 3.5 instead of the new 4.0 ?
...