msbuild-task
How to bind a target within MSBuild to a general error
We are using TFS build and we have a couple of custom steps within the configuration (e.g. running NUnit tests in AfterCompile target, deployment steps in AfterDropBuild target etc.). Now I wanted to[详细]
2022-12-21 09:42 分类:问答How do I determine the current operating system version in MSBuild?
Is there a native or custom MSBuild task available that returns the current OS version?Is there a binary that I could call via an Exec task?Or is there some 开发者_如何学Pythonother option?[详细]
2022-12-18 23:59 分类:问答Cruise Control.net Ms Build Task setting XML output Name
We are running version1.5.6755.1 of CruiseControl.net. Here is our block that executes a build <!-- MSBuild of Source Code-->[详细]
2022-12-18 19:01 分类:问答Use MSBuild to build Entity Framework Model without using the Project File?
I am in the process of build a script for a fairly big project. One of the projects require an Entity Framework Model to be compiled into a library. Due to the way the build server works, all builds a[详细]
2022-12-18 11:11 分类:问答date format in msbuild script?
In my msbuild script I\'m creating a zip file with year/month/day in the zip filename, but month and day are always written with no leading zero.[详细]
2022-12-17 23:49 分类:问答MSBuild ITaskItem RecursiveDir metadata disappears
I have a custom MSBuild task, which processes a set of files and returns a modified subset of this. Basically, I just create a new ITaskItem array out of the input, skipping some items.[详细]
2022-12-16 23:55 分类:问答Reading/Capturing DOS input for use in MsBuild
How do I capture/read DOS input for use in MsBuild? EDITED for clarification Currently I have 2 files.One batch file, the other is the core.msbuild file which contains the msbuild stuff.I want to be[详细]
2022-12-16 21:22 分类:问答Change only Revision number in AssemblyInfo.cs with MSBuild FileUpdate task
I need to change only the revision number of an AssemblyInfo.cs file. The version number is in the format Major.Minor.Build.Revision e.g. 1.4.6.0.[详细]
2022-12-15 23:36 分类:问答How can I access app.config on the BeforeBuild event from a custom MSBuild task?
I\'ve wri开发者_开发技巧tten a custom MSBuild task to generate model code from MSSQL stored procedures. I want to use the same configuration for my task to connect to the database as the application d[详细]
2022-12-14 02:36 分类:问答Is it possible to access files stored in TFS’s source control from the TFSBuild.proj file before the “Get” build task?
I’m using a few custom MSBuild tasks that are checked into source control. I would like to import these tasks into my TFSBuild.proj file that TFS uses to build the project. Right now I have created a[详细]
2022-12-10 22:55 分类:问答