Dean Leigh
09/15/2023, 6:29 AMAn error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
Generated Code
One or more compilation references may be missing. If you're seeing this in a published application, set 'CopyRefAssembliesToPublishDirectory' to true in your project file to ensure files in the refs directory are published.
The type or namespace name 'Home' does not exist in the namespace 'Umbraco.Cms.Web.Common.PublishedModels' (are you missing an assembly reference?)
+
public class Views_Home : Umbraco.Cms.Web.Common.Views.UmbracoViewPage<ContentModels.Home>
I have added:
<!-- Referenced assemblies (DLLs) will be copied to the publish directory when you build and publish your Umbraco project -->
<CopyReferencedAssembliesToPublishDirectory>true</CopyReferencedAssembliesToPublishDirectory>
As instructed by the error message but I still get the same error.
A full import in Usync then a Rebuild (not a build) fixes it.
How can I prevent this in teh first place?rickbutterfield
09/15/2023, 7:58 AMUmBootstrap.Models
Dean Leigh
09/15/2023, 9:44 AM"exclude": [
"umbraco/**"
But we now need the models - we didn't know how to exclude an entire folder but include one within it so for now we have:
"exclude": [
"umbraco/Logs/**",
"umbraco/Data/**",
"umbraco/Licenses/**"
Just released it as 0.1.4 and testing now