Skip to content

Instantly share code, notes, and snippets.

@sheastrickland
Created December 17, 2015 00:24
Show Gist options
  • Save sheastrickland/7ceb720d319de85b10a3 to your computer and use it in GitHub Desktop.
Save sheastrickland/7ceb720d319de85b10a3 to your computer and use it in GitHub Desktop.
<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>
<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