Those keys may already exist, so you may need to replace them.
I am recommending this because it appears your are having issues with the models builder, which generates C# classes based on your document types/content types/compositions.
If you aren't using that feature, you can just turn it off with the above web.config change.
Those keys are inside Web.config and I made these changes but now I am getting the following error;
CS0234: The type or namespace name 'Home' does not exist in the
namespace 'Umbraco.Web.PublishedContentModels' (are you missing an
assembly reference?)
Duplicate PureLiveAssembly, PublishedContentModel, etc
Hey guys.
My team are just getting started to use Umbraco. Note; We are new to umbraco.
I cannot compile the project. I get alot of duplicate issues like:
Severity Code Description Project File Line Suppression State Error CS0579 Duplicate 'PureLiveAssembly' attribute
Active Error CS0579 Duplicate 'System.Reflection.AssemblyVersion' attribute
Active Error CS0579 Duplicate 'PublishedContentModel' attribute
The list continues..
We have also tried to compile this project on his computer, with the same results.
Hi, I can see that you fixed it. How did you resolve this issue? :)
Try adding this to your web.config:
Those keys may already exist, so you may need to replace them.
I am recommending this because it appears your are having issues with the models builder, which generates C# classes based on your document types/content types/compositions.
If you aren't using that feature, you can just turn it off with the above web.config change.
Those keys are inside Web.config and I made these changes but now I am getting the following error;
on the following line of code in cshtml file;
It looks like in need to use that feature but if I do I get the same above errors.
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.