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 782605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:24:43+00:00 2026-05-14T20:24:43+00:00

I’ve found an issue I believe where an assembly is making a call to

  • 0

I’ve found an issue I believe where an assembly is making a call to a .Net3.5 method in a .Net2.0 only environment. (None on the .Net service packs nor .Net 3.5 is installed)

I’d like to know if there are any programs that I can run like FXCop to check an assembly for adherence to only making method calls that are available in .Net 2.0 without the 3.5 extensions that were added.

I’ve been bitten by this before and I’d like to have a way to check assemblies so that before they are released they can be checked to prevent these kinds of issues.

Please don’t say require .Net 3.5 because whilst I’d like to go to this, it’s just not possible at this point.

  • 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-14T20:24:44+00:00Added an answer on May 14, 2026 at 8:24 pm

    There’s no such thing as a “.NET 3.5 method”, there are only .NET 3.5 assemblies. Added to the .NET 2.0 release, just like .NET 3.0. The base 2.0 classes and the CLR haven’t changed, using a method from a type that is only available in .NET 3.5 is easily avoided by using the Target Framework version feature in Visual Studio.

    Well, that’s the company line. It isn’t quite accurate, they actually did change the 2.0 assemblies in a few selected spots. Without changing the [AssemblyVersion], very naughty. The best example is WaitHandle.Wait(int). It didn’t exist in the original 2.0 release, it got added in 3.5

    They papered this over by concurrently releasing .NET 2.0 SP1 with .NET 3.5, it does have the added method. Again with .NET 3.5 SP1, concurrent with .NET 2.0 SP2. Fwiw, these service packs don’t just add missing methods, they also fix known stability and security problems.

    There is no tool that I’m aware of that can check if your code fails when .NET 2.0 RTM. The client was supposed to deploy the service packs. They are hard to avoid, Windows Update pushes them. If you want to support a client that refuses to deploy the updates then you’ll have to test your code on a virgin .NET 2.0 install.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm making a simple page using Google Maps API 3. My first. One marker
I have a bunch of posts stored in text files formatted in yaml/textile (from
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I am trying to loop through a bunch of documents I have to put
I have some data like this: 1 2 3 4 5 9 2 6

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.