Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6842631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:07:26+00:00 2026-05-27T00:07:26+00:00

I want change the default code generator of ASP.NET MVC and use Hanselman Way

  • 0

I want change the default code generator of ASP.NET MVC and use Hanselman Way but there is an error as following picture when add view from controller:

enter image description here

this is about two namespaces that not in mentioned assemblies: 1-DataAnnotations in System.ComponentModel 2-Linq in System.Data

Edit:

Also there is a Warning:

IntelliSense is not available for assembly ‘System.ComponentModel.DataAnnotations’ in the FREE EDITION. Please consider buying PRO EDITION from t4-editor.tangible-engineering.com

I also clear the Custom Tool property for each template.

How can I fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:07:26+00:00Added an answer on May 27, 2026 at 12:07 am

    1-Sure using a standard CodeTemplates one of them is here:

    C:\Program Files (or x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp (or Visual Basic)\Web\MVC (or 2) 3\CodeTemplates

    2-Clear CustomTool Property for each Template.

    3-(If not work yet) Restart VS or close all opened Visual Studios and open your project again.

    4-(If not work yet) Restart IIS, and maybe need to restart Computer.

    5-(If not work yet) Update EntityFramework and restart vs

    6-(If not work yet) Open Visual Studio, go to Tools–>Extension Manager in Online Gallery Search and install: NuGet Package Manager (if not installed yet) Restart Visual Studio, now open Tools–>Library Package Manager–>Manage NuGet Packages.. in online part: search DataAnnotationExtension or DataAnnotationExtension.MVC3 and install it and restart VS.

    7-(If not work yet) I hope work as soon as possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to modify / change the way the floatformat works. By default it
I want change following javascript code to jquery code, How is it? With done
I'm using ASP.NET MVC WebApi as OData service and I want to query this
I'm use Rails 3.2, simple_form and it's default bootstrap generator. I want to use
I want to change the default code generated by visual studios 'add->class...' for C
When Dropdown is opened - I want to change default color of it. I
I want to change the default arguments passed to a Ruby function. For example,
I want to change the default homepage (which appears on typing http://myserverip:8080) and redirect
With Google Checkout, is there any way to pass in a default shipping address
I created a project using the newly Single page application of Asp.Net MVC 4.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.