C# .NET project fails to compile because of System.Data.SqlClient SortOrder data type.

Had a headache because of compilation of project which was using System.Data.SqlClient SortOrder data type. After some hours of investigations we found out that Microsoft .NET framework 2.0 SP1 was not installed on the machine. .NET 2.0 contains system.Data.SqlClient namespace but not SortOrder type in it. SP1 adds this data type to the namespace [...]

Data Dude and Visual Studio 2005: Full Text Indexes on Views With Schema Binding are Ignored During Deployment

Data Dude and Visual Studio 2005: Full Text Indexes on Views With Schema Binding are Ignored During Deployment. SQL Script import works. *.fulltextindex.sql files are created, but indexes are ignored to deploy …  This  is  solved in visual studio 2008.  In case you are using  2005  put these scripts to your post deployment scripts ….

How To Make Or Mark Method Or Property Obsolete/Deprecated

How To Make Or Mark Method Or Property Obsolete/Deprecated

[Obsolete("This method is obsolete")] public void SomeMethod() { //do something; }