Never mind, I just re-read through the source code, it's implemented. I don't understand why I'm not getting any results out of the RResult property though.
Jason Cusati
RawResult returns data but ReaderResult does not. Here's my XML:
<MSBuild.ExtensionPack.SqlServer.SqlExecute
TaskAction="ExecuteReader"
Sql="select distinct m.datasource, cts.description, 'load_' + cts.description + '.sql' as loadscriptfilename
from usr_conversionmap m
inner join stagingtablenamecode cts on m.stagingtablenamecodeid =
cts.id
where sourcetablename not in ('Constant', 'Derived') and fieldgroupname <> 'REFERENCE'
order by datasource, cts.description "
ConnectionString="$(ConversionEFAConnectionString)">
<Output PropertyName="RResult" TaskParameter="ReaderResult"/>
<Output PropertyName="FScripts" TaskParameter="FailedScripts"/>
</MSBuild.ExtensionPack.SqlServer.SqlExecute>
<Message Text="File names: @(RResult)"/>
<Message Text="File names: @(FScripts)"/>
<Message Text="File names: %(RResult.description)"/>
<Message Text="File names: %(RResult.loadscriptfilename)"/>
<MSBuild.ExtensionPack.FileSystem.File TaskAction="Create" Files="$(MSBuildProjectDirectory)\Project Outputs\Scripts\%(RResult.datasource\%(RResult.loadscriptfilename)" />
-------------------Jason Cusati
On Sat, Aug 4, 2012 at 6:35 AM, mikefourie <notifications@codeplex.com> wrote:
From: mikefourie
What do you mean execute reader is not implemented?
Read the full discussion online.
To add a post to this discussion, reply to this email (MSBuildExtensionPack@discussions.codeplex.com)
To start a new discussion for this project, email MSBuildExtensionPack@discussions.codeplex.com
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com