Surpress MSBuild Architecture Mismatch Warning
When using MSBuild.exe to compile a project, I got the following warning in some cases: There was a mismatch between the proce…
When using MSBuild.exe to compile a project, I got the following warning in some cases: There was a mismatch between the proce…
The following code compiles fine but throws an Exception at runtime. Microsoft is aware of this issue but decided not to fix it as…
Most linux users nowadays are used to compiling with autotools, specifially using the ./configure command before building with mak…
For the last few years I've been creating Thread's to handle workload that would case the UI thread to freeze like the followin…
It took me a while to figure out how to do this: var objectContext = ((IObjectContextAdapter)dbContext).ObjectContext; var refres…
Entity Framework can be slow when inserting data using a foreach loop for example. This Method uses the SqlBulkCopy class to speed…
Method: > A method is a piece of code that is called by a name that is associated with an object. In most respects it is identica…
This class detects USB devices attached/removed to the system. using System; using System.Management; namespace X_ToolZ.Helpers {…