I have an ASP.NET solution that builds just fine from within VS2008.
However , it fails when i do this :
MSBUILD.exe c:\path-to-sln
It fails with a CS0006 error ("Metadata file 'dll_name' could not be found").
It also fails when I try with a .csproj of a project within the solution.
What is VS2008 doing that MSBuild is missing ? It...
Hi Fiburt,
Today I meet a similar problem and it reminds me about this thread. In Visual Studio, if we open the .csproj file, we see that they tell us to uncomment the two targets AfterBuild and BeforeBuild so as to execute them after and before the build of the current project accordingly.
My questions are: Where are these two targets...
Hi all
I'm attempting to replace a pattern in all my .aspx and .ascx file when I Publish my Webapplication.
When I am running the application locally, I don't care about the replace. But as soon as I need to Publish the solution I need a sequence of characters, let's say "ABC", replaced with "DEF" in all my .aspx and .ascx files.
How ...
I'm trying to set the preprocessor variable in wix and i'm unable to find an example of this or explanation on how to do it anywhere on the internet, i'm hoping somebody here can explain or show me where im going wrong!
I have tried the example shown here regarding setting var values
http://www.ageektrapped.com/blog/setting-properties-...
Tehnologies:
- CruiseControlNet
- Asp.net MVC 2 RTM
- enabled view compilation
The problem is UrlParameter.Optional setting. I can't seem to make it work when I use this setting inside a view.
When I compile inside Visual Studio, everything works fine, but when CCNet uses MSBuild to compile it it fails with following error:
errorCS010...
I want to package my VS2010 web application project ready for deployment with msdeploy.
On development machine I can do this using:
MSBuild.exe "C:\path\to\WebApp.csproj" /target:package
But on my build server I get this error:
error MSB4057: The target "package" does not exist in the project.
What am I missing on the build server?
...
I have been trying to get my MBUnit tests suite to work on Team City for many days now without any success.
My solution builds no problem. The program is with my tests. After googling for Gallio integration with Team City I tried many ways to make this thing work and I think I am close but need help.
I have included the gallio bin dire...
We have what I think is a fairly standard build process:
1. Developer: Check in code
2. Build: Polls repo, sees change, and kicks off build that:
3. Build: Updates from repo, Builds w/ MSBuild, Runs unit tests w/ nunit,
4. Build: creates installer package
Our security team allows us to pull from the build server, but does not allow the...
I asked a question this morning about an integration problem between Gallio and Team City. I changed the msbuild file to use the proper syntax with the latest Gallio build script API. Thank you for that Jeff Brown but now when I tried to build the application on Team City I get the following error :
An unexpected error occurred during...
I'm trying to select a list of test dlls that contain corresponding config files
MyTest.Tests.dll
MyTest.Tests.config
I have to use a createItem as the dlls are not available at the time of the script loading
<CreateItem Include="$(AssemblyFolder)\*.Tests.dll"
Condition="???"
<Output TaskParameter="Include" ItemName="Tes...
Just what the title says.
Given a build file (.csproj or msbuild.xml or whatever), I'd like to run a msbuild command that lists all the available, defined targets.
Does that function exist?
I know I could do an Xpath search or something, on the build file, but that wouldn't find targets that are defined in included files.
...
Is there a way to have MSBuild create an instance of IIS on another remote machine?
I do the builds (which occur locally using TeamCity AFAIK), but would like the code to be pushed up to our testing server once the build is completed. I am using IIS 6.x (Windows XP dev and Windows 2k3 Server for testing).
...
How do I have the build system automatically increment its version, like in the deployment wizard ?
...
We have a main web application that references several other projects. Do you check-in .csproj/.sln files into source control? If so, do you use these files for msbuild or do you just include *.cs to build your dll? Does ILMerge help in any way with performance?
...
I have a Php script that calls Msbuild via System:
<?php
system( "msbuild umlaut.proj" );
?>
This is the project file:
<?xml version="1.0" encoding="UTF-8"?>
<Project
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
DefaultTargets="EchoUmlaut"
ToolsVersion="3.5">
<Target Name="EchoUmlaut">
<Message Text="Umla...
I am running TeamCity on a virtual machine. I have installed the new Visual Studio 2010 release yesterday and converted my VS 2008 projects. I also have installed .NET Framework 4 on my virtual machine.
Before yesterday all my projects were building succesfully on the CI server but since I installed VS 2010 I get the following error me...
Visual Studio 2008 devenv keeps a list of projects for which one has answered Load project normally in the Security Warning for ProjectName ... The ProjectName project file has been customised and could present a security risk by executing custom build steps... dialog in the registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft...
Hello,
We want to create an .MSI package from a web deployment project in Visual Studio 2008.
Now we want to use continuous integration and we would need the .MSI package build in the nightly builds.
Till now we used standard Visual Studio Web Setup project, but this is not compatible with the MSBuild. So we decided to use WiX.
The prob...
Error 7 The type 'System.Web.Routing.RouteValueDictionary'
exists in both
'c:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll'
and
'c:\WINNT\assembly\GAC_MSIL\System.Web.Routing\3.5.0.0__31bf3856ad364e35\System.Web.Routing.dll'
c:\Projects\VS\solutionfolder\projectfolder\Views\group\Lis...
I have a msbuild task that builds my solution and I am migrating it from .net 3.5 to 4.0. I have some dependent DLLs that have Local Copy set to true. The 4.0 version of msbuild is not only copying the dependent DLL (which I want), it is also copying all dependent assemblies of that DLL from the 32 bit version of the GAC to my bin. Not o...