Monthly Archives: October 2012

Microsoft Fakes

Moq has been around for a while and Mole has replaced by Fakes.  Fakes touches on Stub and Shim. In this short code I will just discuss stub at this point of time. Download the sample from https://www.box.com/s/461b521f53e64ce9d7e9. You will … Continue reading

Posted in .Net | Tagged , | Leave a comment

The "TransformXml" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.Tasks.dll

If you have the above error then most likely is you have VS 2012 running without MS SQL 2008 or MS SQL 2012.

Posted in .Net | Tagged , | 3 Comments

The application which this project type is based on was not found

If you have an MVC2 application like the MovieApp application in MSDN, when you open this type project on VS 2012 (good luck) you will see the error message “The application which this project type is based on was not … Continue reading

Posted in .Net, Uncategorized | Tagged , , | Leave a comment

Windows 8 style app training kit

You can one of the three methods to develop same Windows 8 app. 1. HTML and JavaScript 2. XAML with C# 3. XAML with C++ Download the training kit to see how it works. http://www.microsoft.com/en-us/download/details.aspx?id=29854

Posted in .Net | Tagged , , | Leave a comment

How to convert SQL statement to LINQ statement using Linqer

1.       Download Linqer http://www.sqltolinq.com/ 2.       Install and open Linqer. 3.       Create connect to MS SQL (I have not tried other DB). 4.       Click file new. 5.       You can create SQL statement through View using SQL Management Studio. 6.       Copy the … Continue reading

Posted in .Net | Tagged , | Leave a comment

How to Enable and Disable spell checker in Winword

Go to Review tab -> Language -> Set Proofing Language. Check the checkbox Do not check spelling and grammar. How to Enable and Disable spell checker in Winword

Posted in Computers and Internet | Tagged , | Leave a comment

How to install Entity Framework 5 in Visual Studio 2012

Make sure you set your target framework to .NET Framework 4.5. Right click References then select Manage NuGet Packages. Type Entity Framework on the search. How to install Entity Framework 5 in Visual Studio 2012

Posted in .Net | Tagged , , | 1 Comment