Display: Cloud | List
Most Popular Tags
Results (35 total) All > msbuild (x)
MSBuild only reads environment variables in when it initializes the property collection, which in the general case is at some undermined time before you do any evaluating or building. After that they are static: each project starts with the same names and values.To get environment variables live, use the property functions, see GetEnvironmentVariable in http://msdn.microsoft.com/en-us/library/dd63
Last modified by DanMoseley - MSFT on 5/31/2010 11:03:44 PM
Environment variables are not "live" (How to: Use Environment Variables in a Build)
MSBuild only reads environment variables in when it initializes the property collection, which in the general case is at some undermined time before you do any evaluating or building. After that they are static: each project starts with the same names and values.To get environment variables live, use the property functions, see GetEnvironmentVariable in http://msdn.microsoft.com/en-us/library/dd63
Last modified by DanMoseley - MSFT on 5/31/2010 11:02:51 PM
Here: http://blogs.msdn.com/visualstudio/archive/2010/04/02/msbuild-property-functions.aspxalso, GetRegistryValue is not mentioned:$([MSBuild]::GetRegistryValue(`HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger`, ``)) // got default value using ``$([MSBuild]::GetRegistryValue(`HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger`, `SymbolC
Last modified by DanMoseley - MSFT on 5/20/2010 3:56:41 PM
Understanding MSBuild Integration (Code Generation in a Build Process)
More on configuration properties, items and targets here: http://www.olegsych.com/2010/04/understanding-t4-msbuild-integration.
Last modified by Reddevile on 6/23/2010 8:05:45 PM
Tags:  msbuild  t4
How to import XACT content with MSBuild (Standard Importers and Processors)
I have found a solution for how to build XACT content during runtime using MSBuild. I believe this will work with a hand-written project xml file, but I have gotten it to work with code that uses the MSBuild document object model to create the project in memory. Although there is no content importer or processor for building XACT content, the easiest way to tell MSBuild what to do with it
Last modified by Eliot Lash on 3/19/2010 8:00:21 PM
Tags:  3.1  audio  content  msbuild  pipeline  xact  xna
Incase of Multiple projects (MSBuild Command Line Reference)
Q: What would happen if my solution had multiple projects and I gave just the Solutionfile as the parameter: a. Builds all the projects in the solution. b. Builds only one project under the solution? A: It builds everything that is required in the solution. It builds it in the required order. It's quite handy, really.
Last modified by Bill.Y on 3/15/2010 9:49:54 PM
Tags:  msbuild
Name metadata (GetAssemblyIdentity Task)
The task also outputs metadata named "Name" with just the assembly name.
Last modified by Heath Stewart (MSFT) on 3/4/2010 6:56:58 PM
Lack of Information (MSBuild .Targets Files)
I totally agree with the previous comments. I cannot find any detailed information about MSBuild .Targets files here. This should be the landing page where we could find all the relevant information about it, instead of just a simple table with vague description.
Last modified by lerocha on 2/25/2010 9:06:05 PM
Tags:  contentbug  msbuild  targets
Apparently the Delete task wraps a "del" command line. This means it can't delete read-only files. Major PITA. ........... //granadaCoder edit// That is one of those things that half the people would complain "Hey, you deleted a file marked as read-only, why did you do that?" vs "Hey, delete the files, even if they are marked read-only". Considering the 2 options, I agree with the implement
Last modified by LoudRock on 2/17/2010 5:22:23 PM
Needs info on Silverlight .targets files (MSBuild .Targets Files)
I agree with what Daniel Portal said, and would like to see info that will help me understand the differences between the Silverlight 2.0 vs. 3.0 .targets files.
Last modified by __Bill__ on 1/21/2010 1:56:58 AM
Page view tracker