All I want to do is include this:
@using MyProject.WebUI.Properties
Across all my views without having to type it in each View, is there a way to do that in the ViewStart or Web.Config? Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Add your namespace to the views web.config under the namespaces element:
Note that you might have to close and reopen the view file that you want intellisense in for these changes to take affect.