Fix loading issues of the extension in VS2012
Merge pull request #335 from dungpa/vs2012

Fix loading issues of the extension in VS2012