Friday April 29th

Thursday April 28th

Wednesday April 27th

Custom MSBuild task for running sql scripts

joeyDotNet has created a custom MSBuild task to run any number of sql scripts in a directory

1 comments

All you need to do is this:

<ItemGroup>
<StoredProcScripts Include="$(RelativeSPDir)/*.sql" />
</ItemGroup>

<Target>
<Exec Command="isql -E -n -b -d DBName -i %(StoredProcScripts.Identity)" Condition="'%(StoredProcScripts.Identity)' != ''"/>
</Target>

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network