As it’s outlined in Share docs, you need to add a reference to "Fuse.Share" in your project file to use this feature. Specifically, list “Fuse.Share” in the list of “Packages” in your .unoproj file.
After you make that change, run uno clean in your project folder and rebuild your project.