c# - How to solve this error? -
how solve following error?
cs0234: type or namespace name 'helpers' not exist in namespace 'nerddinner' (are missing assembly reference?)
if error occurring within class:
add using nerddiners.helpers; using statements in class.
as short cut, can place cursor on relevant part of code , press ctrl + . , visual studio add you.
if error occurring within view:
add following top of view (under inherits definition)
<%@ import namespace="nerddinner.helpers" %>
or can add namespaces section of projects web.config
<namespaces> ... <add namespace="nerddinner.helpers" />
if error occurring within test class need add project reference main nerddinners project within add references option of test project.
Comments
Post a Comment