msbuild-task
What is the difference between a PreBuildEvent, BeforeBuild target and BeforeCompile target in MSBuild?
I recently had to move some co开发者_如何学JAVAde from a PreBuildEvent in Visual Studio into the BeforeBuild target to make it work on AppHarbor. While doing so, I also noticed a BeforeCompile target.[详细]
2023-03-04 06:32 分类:问答How do I copy files to a network share that requires a password using MSBuild?
I\'ve created an MSBuild.xml file to automate our ASP.NET project builds. It builds the project, publishes it, zips it and copies the zip to a network share. This all works perfectly, provided that I[详细]
2023-02-25 09:19 分类:问答Determine if workspace exists on build server
Is it possible to determine whether a workspace exist on the server given the local path using tf.exe?[详细]
2023-02-25 08:36 分类:问答MSBuild & TFS2010 Find Dlls
I am trying to create a custom MSBuild task that will run my nUnit tests either locally or during a TFS2010 build.The script works great locally but I can\'t seem to find the test dlls on the TFS buil[详细]
2023-02-24 17:43 分类:问答Using MSBuild to Build Multiple Configurations
I\'m trying to edit my project file to enable me to have a project that builds multiple build configs at once. I\'ve done this using a batching approach and using the MSBuild task (see below).[详细]
2023-02-21 15:13 分类:问答MSBuild error MSB3021: Unable to copy file. Could not find file 'obj\Release\myWebProject1.dll'
When using TeamCity to compile my MSBuild XML task script, it fails with this: [10:43:03]: myWebProject1\\ myWebProject 1 .csproj (3s)[详细]
2023-02-14 17:10 分类:问答MSBuild project won't load if Import fails?
I created a build target in a project file (App.Tests.csproj) that imports a project: <Import Project =\"$(Location)\\Special.Tasks\"/>[详细]
2023-02-14 14:58 分类:问答MSBuild custom task "Hello World" walkthrough
Can someone write (or link to) a walkthrough that explains exactly how to create a custom MSBuild task and run it during a build?I\'m looking for a custom task that inherits from Microsoft.Build.Utili[详细]
2023-02-14 14:57 分类:问答MSBuild - trying to run xUnit (.net) tests
I\'m trying to set up a C# project that\'ll run xUnit tests when I build, so I can use them in continuous integration.I have a regular project, a class library test project using xUnit, and my test ru[详细]
2023-02-14 01:03 分类:问答How to modify an assembly before it is packaged in a XAP?
I have a MSBuild task that modifies an assembly. At the moment I place the Task in the AfterBuild Target of the project file. Unfortunately this does not work for Silverlight because the XAP is packag[详细]
2023-02-09 18:53 分类:问答