New Post: Parallel NUnit
I'm currently using the NUnit task (in a batch, continueonerror=true) to run all my solution's test projects during my full build. Is there any way/best practice to run one test project on each...
View ArticleNew Post: Sync task is not working with sync 1.0 and 2.1 installed
Try changing the "Plataform Target" to "any CPU" from build properties of project.
View ArticleNew Post: Deploy windows service to local machine
I'm new to the extension pack and I'm using it to build a deploy task to install & start a service on the local machine. The service installs, and is set to 'automatic start' but the service is...
View ArticleNew Post: Deploy windows service to local machine
Hi Jason A few things... 1. Does the Account have permission to run as a service? if you should run something like this <MSBuild.ExtensionPack.Computer.ActiveDirectory...
View ArticleNew Post: Start website without credentials
Hi I just want my website to start after I deployed it. Is it possbile to do this with the extension pack? My website uses windows authentication, I don't want to login so I receive a 401:...
View ArticleNew Post: Deploy windows service to local machine
Hi Mike, Thanks for the help, it turned out to be a silly misunderstanding on my part, the value of the parameter ServiceName didn't match the name of the service class, once I got those lined up...
View ArticleNew Post: The "MSBuild.ExtensionPack.Framework.ILMerge" task failed...
You can use the GetFrameworkPath task to get the framework path so that you don't have to hard code it. <GetFrameworkPath> <Output TaskParameter="FrameworkVersion40Path"...
View ArticleNew Post: Problem using MSBuild.ExtensionPack.Tfs.TeamBuild TaskParameter="Info"
I can say that I was getting this issue, it was frustrating, certainly at seeing the response. Having worked this through, the problem exists in the Microsoft.TeamFoundation.Build.Client file. I...
View ArticleNew Post: Isolated inline code task
I'm playing around with MSBuild and MSBuild EP and I can't see a way to write an *inline* code task that runs in it's own isolated app domain - it's loading the target output to do some post...
View ArticleNew Post: MSBuild - Zip a zip file
I have tried to zip a zip file with msbuild zip but I cant get it to work. What am I doing wrong? I have done this <Target Name="BuildZip"> <ItemGroup> <!-- All...
View ArticleNew Post: MSBuild - Zip a zip file
Hi That's not the MSBuild Extension Pack zip task. The syntax for the MSBuild Extension Pack zip task can be found here...
View ArticleNew Post: MSBuild - Zip a zip file
oh. I have now change to what you say...but it says it cant find MSBuild.ExtensionPack.Compression.Zip Do you have any idea where that would be? The only thing I find is a msbuild folder with this...
View ArticleNew Post: MSBuild - Zip a zip file
do you have the import in your msbuild file? <Import Project="$(MSBuildExtensionsPath)\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks"/>
View ArticleNew Post: Putting MSBuild Extension pack into my codebase - is this a good...
I've wondered, why not have the .tasks file use $(MSBuildThisFileDirectory) by default? That way it can be dumped into the MSBuild directory, or included in a separate folder, such as a sub-directory...
View ArticleNew Post: Regex to extract text?
I am just wondering if I'm missing something obvious or there's actually not currently a way to do this: I have a file with contents such as: {some text} goes {here} {moretext} and I want to extract...
View ArticleNew Post: NuGet Package MSBuild.Extension.Pack Design Issue
Hi I am experiencing the exact same "frustration" as DonXML. I think my intention and ensuing questions/misunderstanding are similar. I want to use the nuget package at the solution level, not at any...
View ArticleNew Post: RemoveLines
I have a simple task to perform...1. If there is any content in a file which will always be SQL commands (inserts, updates, etc), run the file against the db.2. ... then empty the file.I am using the...
View ArticleNew Post: RemoveLines
According to the docs, Lines is a regex, so I'm not sure how your code is working at all. If you want to clear content, try using this <File TaskAction="RemoveLines"...
View ArticleNew Post: RemoveLines
That worked! Thanks a ton!I had tried Lines="*", but it did nothing. I don't know why I didn't think of ".*", except that it's been a while since I have really needed a real wildcard regular...
View Article