I made a basic UML Class diagram of a class with two fields, a method, and a subclass with one field but when I hit generate code nothing happens. The console says it worked with no errors but when I look at the log it says "(Class): no file generated because the 'AppliesToElement' method of the template 'ClassTemplate.t4' evaluated to false." on both of my classes. What am I missing?
I fixed this by using the UML Model Explorer.
I went to the UML Model Explorer, then right-clickd the project, then clicked generate code which popped up this message:
which told me the component cache was out of date so I restarted Visual Studio. After that I tried to generate the code again through the UML Model Explorer and it Worked.