Forum Discussion
Frank Chen
Oct 10, 2016Brass Contributor
Cannot compile SPFx Drop 4 and MDL2 under VS2015
I was trying to import SPFx Drop4 project to VS2015 by following the http://dev.office.com/sharepoint/docs/spfx/web-parts/basics/use-visual-studioon dev.office.com and wasn't able to compile it from ...
Frank Chen
Oct 15, 2016Brass Contributor
the instruction you provide was for upgrade. what I did was to update to Drop4 version and create a brand new SharePoint Framework project based on that.
As I said, I also followed the instruction http://dev.office.com/sharepoint/docs/spfx/web-parts/basics/use-visual-studio and got that error message. it seems like the visual studio instruction is out-of-date.
One thing I want to mention is the code is working if I just run "gulp serve" from command line.
Frank Chen
Oct 25, 2016Brass Contributor
I just tried the latest Drop5 version and it seems VS2015 was able to compile and start IE to point to workbench.aspx on my local. I guess the reason behind might be becuase I used TypeScript v2.0 for Drop4. Since the latest Drop 5 is using TypeScript V2.0 and it should fix the problem.