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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:30:57+00:00 2026-06-06T05:30:57+00:00

I have had a persistent problem with Visual Studio 2010 and any framework version

  • 0

I have had a persistent problem with Visual Studio 2010 and any framework version reporting this error, after adding a test project:

“Assembly Not Available in the Currently Targeted Framework”

So far, I have had this happen with only two assemblies, and always consistently:

  • System.ServiceProcess
  • System.Configuration.Install

The problem is that the project file does not identify a specific framework version for these references, showing version 0.0.0.0 in the properties. I can work around this by manually altering the project file to include <SpecificVersion>True</SpecificVersion> in the reference element.

This is a problem, because I am unable to Mole types that inherit or implement these problematic assemblies. The issue is that Pex and Moles generate their own project files, which are also broken, during the build process. There is no opportunity to manually fix these, and I think it’s just stupid to have to build a workaround using ICorProfilerCallback.JITCompilationFinished to get anything to compile.

So, does anyone else have this issue? I have already re-installed VS2010. I don’t see any fix for this.

I have most certainly researched this, and have been working around it all year. I’m getting rather annoyed by this, and think something has simply gone wrong or I don’t understand that this is intended behavior (I can’t imagine why…).

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

    Visual Studio 2010 generated the following reference elements, in the .csproj files:

    <Reference Include="System.Configuration.Install" />
    <Reference Include="System.ServiceProcess" />
    

    To correct the problem, the XML must be modified, to:

    <Reference Include="System.Configuration.Install">
        <SpecificVersion>True</SpecificVersion>
    </Reference>
    <Reference Include="System.ServiceProcess">
        <SpecificVersion>True</SpecificVersion>
    </Reference>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have had no luck with this task so far so grateful for any
I have had this problem w/ two seperate WYSWYG editors in my rails application
I have had this issue countless times with my Flex applications. When I export
I have had another question similar to this and have tried to see if
I have had a few problems getting this right, so I wanted to ask
I have had the following problem for a while and I am really not
I've been fighting this crazy problem for hours and have gotten nowhere. I have
I've had this problem in a couple of ZF applications now and it's very
I though I had solved this problem, but it is back: Code generation for
I am currently trying to solve this problem in MySQL. I have MySQLdb installed.

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.