1

I recently updated my SPFx framework to v1.5.0 and I wanted to create a solution that has both Extensions (Application Customizer) and Client Side Webparts. Now if I try creating a WebPart first and then try adding an Extension with
(yo @microsoft/sharepoint), I get prompted asking :
Add a new Web Part to solution ######
?What is your Web part name ?

The same thing applies for Extensions as well. My ask is has MS removed the ability to add both Extensions and WebParts to single solution ?
Any pointers is/are welcome...

  • MS has identified this as a bug, link. More updates to follow this week. – Anupam Jagatdeo Jun 18 '18 at 7:45
1

This was indeed a bug with SPFx v 1.5.

It was fixed with recently released SPFx 1.5.1. Simply update your yeoman generator and recreate the projects using the below commandlet:

npm install @microsoft/generator-sharepoint@latest -g

Reference - SPFx v1.5.1 Release notes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.