I downloaded a latex template for Wiley journal articles, and can open the template file but cannot seem to get Texstudio/Miktex to find the .cls file.
The template comes with a latex file which uses the class as an example, and if I open that right in the extracted ZIP folder, all is well; however, if I save-as anywhere else, I get a "cannot locate name.cls file".
I have made sure that I saved the extracted ZIP folder within a directory listed in the MikTex path (have tried two different locations) and I have refreshed the filename database (multiple times) but still the same error occurs. This also happens if I open a blank file and attempt to use the class. I have closed and opened TexStudio a number of times, but I am unsure of what else I can try.
latextemplates/tex/latex/
and then addlatextemplates
as a new root.