and i have added the view as an embedded resource. I have compiled the package and added it to the bin folder so i can select it when creating a new datatype.
I can also add the property to a new document type, however when i create a new document with the custom property i get the error below. What is the problem here?
Thanks in advance.
Could not find resource with resourcePath: Umbraco.PropertyEditor.Views.Editor.cshtml
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not find resource with resourcePath: Umbraco.PropertyEditor.Views.Editor.cshtml
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
PropertyEditor: Could not find resource
Hi,
I am new to Umbraco and i am trying to create my first PropertyEditor (for v5).
I have followed the tutorial of the RGBAPicker:http://umbraco.com/follow-us/blog-archive/2012/1/26/creating-my-first-v5-package.aspx to create a simple editor with just a text field.
In my EditorModel.cs i have added an embedded view:
[EmbeddedView("Umbraco.PropertyEditor.Views.Editor.cshtml", "Umbraco.PropertyEditor")]
and i have added the view as an embedded resource. I have compiled the package and added it to the bin folder so i can select it when creating a new datatype.
I can also add the property to a new document type, however when i create a new document with the custom property i get the error below. What is the problem here?
Thanks in advance.
Could not find resource with resourcePath: Umbraco.PropertyEditor.Views.Editor.cshtml
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not find resource with resourcePath: Umbraco.PropertyEditor.Views.Editor.cshtml
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
The problem has been solved. I had a mixup in my namespaces.
Thanks
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.