DIRCA_CHECKFX Return Value 3 – VS 2013 Deployment Project

Must be installed VS 2010 from which you can get the valid file “dpca.dll”. Close Visual Studio 2013 Copy file with replace dpca.dll from C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\VSI\bin. Open Project Rebuild

VS2013 does not compile ASP.NET MVC5 views

Right click your web project in the Solution Explorer. Click Unload Project. Right click the project and click Edit <projname>.csproj. Make sure you have this element (add it if it doesn’t exist). <Project> <PropertyGroup> <MvcBuildViews>true</MvcBuildViews> </PropertyGroup> </Project> Scroll down to the bottom. You should see some comment “To modify your build process, add your task … Read more

Is Visual Studio 2013 optimizing correctly in the presence of /OPT:ICF?

This does not seem like a valid optimization according to the draft C++11 standard section 14.8 [temp.fct.spec] says (emphasis mine going forward): Each function template specialization instantiated from a template has its own copy of any static variable. [ Example: template<class T> void f(T* p) { static T s; }; void g(int a, char* b) … Read more

How do I open an old MVC project in Visual Studio 2012 or Visual Studio 2013?

Opening an unsupported MVC project in Visual Studio 2012 or Visual Studio 2013 is actually pretty easy to accomplish with two steps. In fact, as bytebender’s comment indicates, these same steps should apply to and work for MVC 1 projects. However, I haven’t tested them and therefore cannot guarantee that they do in fact work. … Read more

Where is the “Create Unit Tests” selection?

This feature was cut from VS. http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/08/what-s-new-in-visual-studio-11-beta-unit-testing.aspx Generate Unit Test Wizard – In VS2010 you could right click on a method in your code and we would generate a unit test into your test project. This wizard was very tightly coupled to MS-Test and depended on features like Private Accessors to do its work, so … Read more

Can’t install nuget package because of “Failed to initialize the PowerShell host”

Setting an execution policy to RemoteSigned or Unrestricted should work. It must be changed under an administrator mode via a PowerShell console. Be aware that changes will be applied according to the bit version of the PowerShell console, so 32bit or 64 bit. So if you want to install a package in Visual Studio (32 … Read more