Skip to content

Instantly share code, notes, and snippets.

@Dillie-O
Created November 28, 2012 17:41
Show Gist options
  • Save Dillie-O/4162784 to your computer and use it in GitHub Desktop.
Save Dillie-O/4162784 to your computer and use it in GitHub Desktop.
Pre-Build Event to check Provider Manifest Token
findstr /c:"ProviderManifestToken=\"2005\"" "$(SolutionDir)DAL\cptt.edmx" >nul 2>&1
if errorlevel 1 echo Invalid Manifest token for DAL. Modify cptt.edmx file in a text editor and set the ProviderManifestToken property to 2005.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment