Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Mixed mode assembley

Mixed mode assembley

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharphelpwpfquestionannouncement
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    columbos14927
    wrote on last edited by
    #1

    Hello, Im using vs2010 .NET 4. Ive created a new WPF projects that uses assembley created in .NET 2. When i tried to compile i got the next error: "Mixed mode assembley is built against version v2.0.50727 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information". After googling i found the solution af adding those line to the app.config: <startup useLegacyV2RuntimeActivationPolicy = "true"> <supportedRuntime version = "4.0" sku = ".NETFramework,Version =v4.0"/> /startup> But the error still present. :( Can any one help? Thanks.

    R N 2 Replies Last reply
    0
    • C columbos14927

      Hello, Im using vs2010 .NET 4. Ive created a new WPF projects that uses assembley created in .NET 2. When i tried to compile i got the next error: "Mixed mode assembley is built against version v2.0.50727 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information". After googling i found the solution af adding those line to the app.config: <startup useLegacyV2RuntimeActivationPolicy = "true"> <supportedRuntime version = "4.0" sku = ".NETFramework,Version =v4.0"/> /startup> But the error still present. :( Can any one help? Thanks.

      R Offline
      R Offline
      rajeevcapgeminiindia
      wrote on last edited by
      #2

      Add the following code, it should work properly I have tried it.

      L 1 Reply Last reply
      0
      • R rajeevcapgeminiindia

        Add the following code, it should work properly I have tried it.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        What code?

        Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

        1 Reply Last reply
        0
        • C columbos14927

          Hello, Im using vs2010 .NET 4. Ive created a new WPF projects that uses assembley created in .NET 2. When i tried to compile i got the next error: "Mixed mode assembley is built against version v2.0.50727 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information". After googling i found the solution af adding those line to the app.config: <startup useLegacyV2RuntimeActivationPolicy = "true"> <supportedRuntime version = "4.0" sku = ".NETFramework,Version =v4.0"/> /startup> But the error still present. :( Can any one help? Thanks.

          N Offline
          N Offline
          NikulDarji
          wrote on last edited by
          #4

          http://social.msdn.microsoft.com/Forums/en/windowsazuretroubleshooting/thread/a8fd9cc6-f347-4c50-8dd5-147ecd686325[^] Follow this link and check the answers on this link it may helps you... :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups