sougatamondal / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

ScriptFile not working in MSBuild #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the template for the MSBuild file from this site.
2. In the Target["Migrate"]/Migrate section, add an attribute of
ScriptFile="migrations.sql"
3. Run the MSBuild.
4. Console output reads as follows:

{ProjectRoot}\build.proj(25,9): error MSB4063: The "Migrate" task could not
be initialized with its input parameters. 

Done Building Project "{ProjectRoot}\build.proj" (migrate target(s)) -- FAILED.

Version 0.7.0.21797

Works fine without the ScriptFile attribute.  Expected to see system
generate a sql file so I could look at the scripts it generated.

Original issue reported on code.google.com by spencer....@gmail.com on 22 Aug 2008 at 8:13

GoogleCodeExporter commented 8 years ago

Original comment by geoffl...@gmail.com on 28 Aug 2008 at 1:17

GoogleCodeExporter commented 8 years ago
Spencer,
Are you using version 0.7?
This isn't supported until version 0.8 (not yet released) so you would need to 
build 
from the trunk.

Original comment by geoffl...@gmail.com on 5 Sep 2008 at 9:26

GoogleCodeExporter commented 8 years ago
Confirmed this works in SVN. Will be in Milestone-8 build.

Original comment by geoffl...@gmail.com on 11 Sep 2008 at 8:55