can‘t find views in plugin problem!

Apr 29, 2014 at 2:01 AM
i use this framework in my project , an create a simple plugin, it works!
then i create anather simple plugin, get the can't find the view or its master view problem.
and i see the code in AssemblyResourceProvider:
string[] resourceList = assembly.GetManifestResourceNames()
the resourceList is always emtpy.

where is the problem?
Coordinator
May 7, 2014 at 4:35 PM
Ensure that the view in your plugin dll is marked as "embedded" in the properties pane "Build Action". The default is "Content" which will not include the view in the assembly and at runtime it will not be able to find the view.

Views loaded from a plugin are contained as "embedded resources" rather than being regular files in the site as a typical MVC site would have.