Is it possible to use an msbuild task to build a smart device project into a cab file for deployment.
I've seen a couple of pages on the web:
http://guystarbuck.blogspot.com/#115584006223003606
http://blog.opennetcf.com/ctacke/2008/09/18/AutomatingCABFileGenerationWithMSBUILD.aspx
but I can't believe that you have to go to that much t...
I've set up some rather large C++ projects to do integration builds in CruiseControl.NET, using MSBuild.
Now I'd like to schedule a complete Clean of the working directory once a night. How can I do that with CC.NET ?
...
This might be a duplicate question as I have found a few that are similar, but not exactly the same. The title pretty much says it all, but here are the details:
The basic setup I have in VS2008 is two web site projects (not web application projects!) living in the same solution; call them A and B. A depends on B, since B contains a use...
(this is a .net build server)
I'm getting the following error:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1679,9): error MSB3091: Task failed because "LC.exe" was not found, or the .NET Framework SDK v2.0 is not installed.
The task is looking for "LC.exe" in the "bin" subdirectory beneath the location spe...
Is there a way to have the publish command on a web application not push the pdb files?
perhaps using an msbuild post build script.
Thanks
...
When I use a post-build with my web project (which has an associated Silverlight 3 project in the solution, and uses a web service to access the DB), I get some really weird results. The post-build event creates a zip file from the published folder and uploads it, among other things. However, it doesn't seem to matter, because I seem t...
In my VB.NET project I have three configurations DEBUG|TEST|RELEASE.
Currently when I am building using MSbuild and TeamCity I hard code the configuration, which smells badly!, to TEST
<Configuration Condition=" '$(Configuration)' == '' ">Test</Configuration>
Now before everyone screams at me not to hardcode this, the reason this wa...
The title pretty much says it all...
this code does not write anything to the console cause the collection is empty.
Project p = new Project(engine);
p.AddNewImport(@"C:\mytarget.targets","");
foreach(Import imp in p.Imports)
Console.WriteLine(p.ProjectPath);
But!, if I debug the code the collections get the imports, I guess it h...
I have 3 MSBUild scripts for deployment,
1 for deploying UI
1 for deploying a couple of web services.
1 for deploying backend services.
Now I would like to create a one click deployment MSBuild script, which would call all the above 3 scripts, which can be executed from a TeamCity server.
So how can I call these three MSBuild scripts f...
If I create a list of Items in a MSBuild file is the order of the items maintained when passed to a task?
E.g. a list of database script files is specified in an ItemGroup. I then feed this ItemGroup to a custom task? Will the order be guaranteed or could the order change?
...
I am trying to add some stored procedure to a build process in visual studio (using MSBuild).
I have a database project (*.dbp) added to my solution, however unlike some of the other database projects available in VS i cannot build or run it. ( I believe this is the project file i want as I am using SQL2000)
How can i get the SQL scr...
I am looking to call an excel Macro as part of a build script. I was trying to use powershell to call into excel. I was using the following article as a reference:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept06/hey0908.mspx
This approach did not work due to the fact that there seems to be a bug that only allows ...
I want to execute the oracle's import utility in MSBuild as a task. Please give a detailed answer. I am a beginner.
...
I'm a complete noob with respect to msbuild but am encouraged to use it based on a previous answer to a question I posted a few days back.
Anyhow, I'm looking for some recommendations on getting started with MSBuild ... and in particular, using it to automate the deployment of ASP.NET MVC applications.
Thanks much!
...
When I queue two builds from the same Team Project, the first one starts immediately and the second is queued to run after the first is complete. However, when queuing two builds from different projects, they both start immediately. Is it possible to use this "queue" feature for builds from more than one project? I would like every bu...
I have a project using TXTextControl. This project contains a [myproject].exe.licenses file.
Originally, I had a set of NAnt scripts that compile the executable and other assemblies. The script used to build the executable has the following lines:
<resources>
<include name="${working.folder}\*.licenses" />
</resources>
We've repl...
We have a Visual Studio 2005 solution with 50 projects (mostly class libraries and some Win Form projects).
Doing a clean debug build with a freshly started Visual Studio peak memory usage (recorded by task manager) shows about 500mb.
Doing the same build (clean, debug) with MSBuild the peak memory usage is about 1600mb and it eventual...
I am using the Microsoft.Build.BuildEngine to build a number of projects. Projects that do not use Silverlight are building correctly while projects that do use Silverlight are not building. All of these projects (Silverlight and non-Silverlight) all build fine through Visual Studio 2008. I get the error message:
error CS0234: The...
I have a single solution with multiple database projects and an SSIS projects. The entire build and deploy portion takes a few minutes especially because we deploy unit test data along with the build.
Does Visual Studio 2008 allow me to display timestamps the output window of the build so I can keep track of things?
I know I can execut...
Today I've started adding Web Deployment projects for our web application, and noticed that the deployment project picks up everything that could be a content file from the web application, including the csproj files etc.
I've seen online how you can manually exclude files using the MSBuild task ExcludeFromBuild, and that is currently t...