This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- | |
http://www.lionhack.com/2014/02/13/msbuild-override-assembly-version/ | |
--> | |
<PropertyGroup> | |
<!-- This doesn't work --> | |
<BeforeCompile> | |
CommonBuildDefineModifiedAssemblyVersion; | |
$(BeforeCompile); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- A local copy of (X)HTML entities, containing the three subsets: | |
Latin-1 characters: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent | |
Special characters: http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent | |
Mathematical, Greek and Symbolic characters: http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent | |
--> | |
<!-- Portions (C) International Organization for Standardization 1986: | |
Permission to copy in any form is granted for use with | |
conforming SGML systems and applications as defined in | |
ISO 8879, provided this notice is included in all copies. | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Data.SqlClient; | |
using System.Reflection; | |
namespace HorribleThingsInHere | |
{ | |
/// <summary> | |
/// Workaround completely test-unfriendly sql error classes. | |
/// Copy-paste from http://stackoverflow.com/a/1387030/10245 | |
/// Adjusted with updates in comments | |
/// Adjusted to not use ctor indexes |