Skip to content

Instantly share code, notes, and snippets.

@sheastrickland
Created April 29, 2014 06:28
Show Gist options
  • Save sheastrickland/11392088 to your computer and use it in GitHub Desktop.
Save sheastrickland/11392088 to your computer and use it in GitHub Desktop.
DbUp Compile error for SQL scripts which are not embedded
<Target Name="AfterBuild">
<Message Text="@(Content)" Importance="high" Condition="%(Content.Extension) == '.sql'" />
<Error Condition="%(Content.Extension) == '.sql'" Text="Nothing should be marked as Content, check your scripts are marked as Embedded Resource" />
</Target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment