Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am facing an issue about the razor file shows an error message:
"The name 'model' does not exist in the current context'
I tested many solution but still cannot fix it.
-- Main project (installed umbraco) - not that issue
-- project A for website A (empty project) - issue occur
-- project B for website B (empty project) - issue occur
How can i solve this error message?
if you are using visual studio then in an empty project install Umbraco.core library from NuGet Umbraco core
and second thing if you already install the core repos in the class library project then add the reference to your website project.
Hope that will help,
tried to install the Umbraco.core library and added the reference. But the error still there.
Have you added the namespace?
Sorry for late reply.
Do you mean "@using XXXX"?
There is my project structure.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted