locked
mscorlib RRS feed

  • Question

  • Dear,

    I had problems in the past with mscorlib and memory stream and/or sql.client.

    depending on witch assembly i take works with mscorlib.dll version a memorystream but not sql.client. and the other way around.

    i put my assambly back to .net 4

    Now i would get add-in outlook 2000 and have the next problem.

    Warning 34 The primary reference "Microsoft.Office.Tools.v4.0.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0,Profile=Client". To resolve this problem, either remove the reference "Microsoft.Office.Tools.v4.0.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" or retarget your application to a framework version which contains "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". OutlookAddIn1

    greetings Wim

    Wednesday, August 8, 2012 8:28 PM

Answers

  • You need to change the project target to .NET Framework 4.0, and not .NET Framework 4.0 Client Profile.  This is a setting in the project's main settings page.


    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    • Proposed as answer by Mike Feng Friday, August 10, 2012 10:52 AM
    • Marked as answer by Mike Feng Thursday, August 16, 2012 9:38 AM
    Wednesday, August 8, 2012 8:42 PM