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

  • Home
  • SEARCH
  • 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 8819429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:21:23+00:00 2026-06-14T05:21:23+00:00

Several of my ASP.NET MVC 2 (.NET 3.5) projects uses SubSonic 2 as it’s

  • 0

Several of my ASP.NET MVC 2 (.NET 3.5) projects uses SubSonic 2 as it’s primary database accessor in the data layer of the project. This works just fine and everything within the database is accessible with no problems. However, recently, my work has enforced a “zero warnings” policy and so we have been going through all of our projects to eliminate any warnings from our projects (where possible).

The projects in question have only SubSonic warnings left to either eliminate or suppress, however, these are found within the generated classes themselves, which makes removing them quite problematic. The warnings I am getting are as follows:

  • “… overrides Object.Equals(object o) but does not override Object.GetHashCode() …” in ActiveRecord.cs
  • “… .Name’ hides inherited member ‘SubSonic.Schema.DatabaseTable.Name’. Use the new keyword if hiding was intended. …” in Struct.cs
  • “Multiple template directives were found in the template. All but the first one will be ignored. Multiple parameters to the template directive should be specified within one template directive” in Settings.ttinclude
  • “Compiling transformation: The variable ‘parameters’ is assigned but its value is never used” in SQLServer.ttinclude
  • “The C# 2.0 and C# 3.5 compilers are no longer supported. Templates will always be compiled with the version 4 compiler instead of ‘v3.5’ as specified.” in Context.tt

I have tried searching everywhere for solutions to these warnings but have had no luck so far. Has anyone else encountered such warnings and if so, how did you resolve them? Thank you.

  • 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-06-14T05:21:24+00:00Added an answer on June 14, 2026 at 5:21 am

    You are not going to like this.

    The only option that will solve your problems once and for all is to download the SubSonic sources, make the necessary changes to the templates, recompile and use your own binary instead of the stock download.

    In the long run I strongly recommend ditching SubSonic entirely. It’s not worth the pain.

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

Sidebar

Related Questions

I have a Solution with several projects in it, including two asp.net mvc projects
I'm in the process of developing an ASP.NET MVC project, and after several weeks
I am knee deep in starting a new ASP.NET MVC project. Several tutorials have
We have several projects (ASP.NET MVC) that will require a Role / User /
I've been working on an ASP.net MVC project that uses checkbox HTML Helpers in
I am building several different asp.net mvc 3 web projects all under one solution.
I am working on an ASP.NET MVC project. The data access in through a
I created a ASP.NET MVC 4 Web application. Within this application i implemented several
ASP.Net MVC Controllers have several methods of forwarding control to another controller or action.
While creating JavaScript with ASP.NET MVC I noticed several scope warnings and realized that

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.