Blog Archives

Visual Studio Won’t Open CSHTML Files

I had an issue one day where Visual Studio would not open my CSHTML files.  It would give me the following error.

The operation could not be completed.  Invalid pointer.

So naturally I took to Bing.  I eventually found the work around on StackOverFlow.

The fix for me was not the question’s accepted answer but one further down.  I deleted the contents in the %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache folder.

After that I never had this issue again.

Advertisements

Getting Started With Angular 2 In Visual Studio 2015

Angular 2 And Visual Studio 2015?

VSTSNG2PaintI want to start learning Angular 2!  We have an enterprise project that will be developed in Angular 2.  In fact the contracting firm will create a minimum viable product and then it will be up to us to do the rest.  So I really must learn Angular 2.  We also use Visual Studio 2015 Enterprise edition.  Most of our current projects target .NET 4.

If you have looked into Angular 2 just a bit you will find a huge difference.  Most people are teaching it using Code or some other IDE that is not Visual Studio.  So my goal in this post is to take the 5 Min Quickstart from Angular 2 and make it run in Visual Studio 2015.

I will not go into detail on every bit, please see the Quickstart for that information.  I am just focusing on getting it running in Visual Studio 2015.

Read the rest of this entry