2

Having to write

@using MyNameSpace

at the top of every view is a lot of work, is there a way to define it at one place and have the intellisense working for all the views?

1 Answer 1

3

See this SO question and first answer

Razor Syntax @Using and Namespace Declarations fail

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Matthew, I'll never be able to guess this one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.