I have created two simple custom field controls as per guidance under umbraco documentation. I have following code
2 Class files
Two field types (.cshtml) under Partial views (under Themes and Umbraco field types respectively)
Two HTML files under Umbraco form Back office field types.
Then I have created package which includes all these files.
In second umbraco site, I have uploaded the created packages. But controls were not appearing under Umbraco forms.
Then I have explicitely included c# files in the project and then compiled project. After that, the controls were visible under Umbraco forms.
Is there any better way to separate out the projects so that I don't need to compile code ? Any recommedation from experts ? I can do class library project but not which Umbraco library I need to refer there.
Also, is it possible to include partial view in separate project and then deploy as package under Umbraco ?
I want my Umbraco base installation first up and running. Then I will install all packages on top them without any compilation of code or explicite include files in the project.
Project Structure Question
I have created two simple custom field controls as per guidance under umbraco documentation. I have following code
Then I have created package which includes all these files.
In second umbraco site, I have uploaded the created packages. But controls were not appearing under Umbraco forms.
Then I have explicitely included c# files in the project and then compiled project. After that, the controls were visible under Umbraco forms.
Is there any better way to separate out the projects so that I don't need to compile code ? Any recommedation from experts ? I can do class library project but not which Umbraco library I need to refer there.
Also, is it possible to include partial view in separate project and then deploy as package under Umbraco ?
I want my Umbraco base installation first up and running. Then I will install all packages on top them without any compilation of code or explicite include files in the project.
I need expert opinion.
is working on a reply...