CodePlexProject Hosting for Open Source Software
Can I output the result of a SqlCmd to a variable of msbuild instead of a file?
No, you would have to use the ReadLinesFromFile task http://msdn.microsoft.com/en-us/library/ms164299.aspx
Thx Mike, I had figured out about ReadLines.
I think it would be greeat for some scenarios.
Image having to read a file every time you need to output a scalar value.
Is there a features it, I could put this in?
Hi Yvan, feel free to submit a patch where you have this working.
I am having some trouble figuring out how to use it. I am doing a select statement to an out file and the results of the file are:
(1 rows affected)
Use the SqlExecute task rather. It's shipping in 184.108.40.206, but is checked in now if you want to build it locally.
Draft documentation here: http://www.msbuildextensionpack.com/help/220.127.116.11/html/0d864b98-649a-5454-76ea-bd3069fde8bd.htm
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.