I did a drag and drop of a file (xaml and backing file came with it) into a .Net standard library project in Visual Studio 2017. It won’t compile and complains about “Unknown identifier InitializeComponent” which would be in a UserControl. I think I have added the libraries that it depends on, but it must require something else. It would be nice if when a file is dragged and dropped, the library dependencies could be automatically determined (by Reflection?) and then have those libraries automatically added to the new project. As it is, I’m just hunting and pecking between a whole bunch of libraries in the original project to try to guess what is required.
And of course, every time I alter the libraries, the thing won’t compile because it complains about having no matching target (Echoes .Net or Echoes .Net Standard). And to fix that I have to go to Water to compile it. Then VS 2017 will be happy with that part and I can find out if I still have the problem with the InitializeComponent.
Or can one just not use UserControls in .Net Standard libraries?