New Post: Read through an SQL recordset
Is there a way to use MSBuild Extensions to interate through a recordset returned from an SQL query. Each record will conatin name value pairs. If this is an old question can you please navigate me to...
View ArticleNew Post: Read through an SQL recordset
Yes I think so.... something like the sample just don't use *<!-- Execute SQL and return the result in an Item. Each column is available as metadata -->...
View ArticleNew Post: Remote registration of a dll
It's been a while, but would WMI help? Looking at the sample below you could try changing it to fire off what you need<!-- Start the Calculator --> <MSBuild.ExtensionPack.Management.Wmi...
View ArticleNew Post: Windows Service Class
I am trying to run a net stop iisadmin /y from the windoes service class. One of the properties in the documentation is CommandLineArgumnets. When I try to use this i get an eeror message indcating it...
View ArticleNew Post: Windows Service Class
What version are you using? According to the help, CommandLineArguments is not supported for StopStop (Required: ServiceName or Services Optional: MachineName, RetryAttempts) But you shouldn't get a...
View ArticleNew Post: Windows Service Class
I'm using version 4.0. So what you are saying is I cannot use it. Error message is: Build started 2/20/2014 9:40:40 AM. Project "C:\Nick\Build_01.proj" on node 1 (StopIIS target(s))....
View ArticleNew Post: Windows Service Class
I think you are using an old version. That was added in Nov 2012 so you need to upgrade to a newer release. October 2013 or April 2013 Mike
View ArticleNew Post: Read through an SQL recordset
Mike, I was actually asking how to interate through rows in a returned recordset. My recordset will have more than one row. I need to advance to the next row after getting the value from the current...
View ArticleNew Post: Read through an SQL recordset
The code returns a collection. you can iterate through it using %. Mike
View ArticleNew Post: How to make SecureFileLogger work?
Hi I been through the related blog post and also tried the rules.txt approach but my consolse disaplyes not dashed messages
View ArticleNew Post: Correct usage of NuGet installation
Hello, I'm using MSBuild Extension Pack as a NuGet package. In order to have access to the Extension Pack's task during build process I have following lines in my project file:<PropertyGroup>...
View ArticleNew Post: How to make SecureFileLogger work?
It's a file logger. Console output is unaffected. Mike
View ArticleNew Post: How to make SecureFileLogger work?
i want to hide message from my teamcity build is ther a way to do it?
View ArticleNew Post: Multi environment management with MSBuild using template files with...
I'm trying to achieve multi environment deployment management with msbuild using the following method: 1) using configuration template files. For...
View ArticleNew Post: Correct usage of NuGet installation
I didn't entirely understand what the problem is. If the MSBuild extension pack package exists and checked in to TFS (or Git), a new project will have to have the same import line you wrote above in...
View ArticleNew Post: Correct usage of NuGet installation
The point is not to check in MSBuild Extension Pack package to the version control system as NuGet manages to get the relevant package data. In this case you have a "corrupt" project file as long as...
View ArticleNew Post: Correct usage of NuGet installation
Ok, i see, wasn't aware before of the need not to check in packages to source control, but let nuget download missing packages instead ( I myself find little use for that). Anyway, according to this...
View ArticleNew Post: Correct usage of NuGet installation
As of NuGet 2.7 and above MSBuild Package Restore is deprecated. You have two ways: Manual nuget restore execution on the fresh project checkout before opening project in VS - in this case everything...
View ArticleNew Post: Correct usage of NuGet installation
So it seems to me that the condition you suggested on the msbuild extension pack *.tasks file should do the trick, no? If the package was not downloaded yet, you avoid importing a non existent file...
View Article