Skip to content

DLL version problem with System.Runtime.WindowsRuntime #1457

Open

Description

There is a DLL hell problem with System.Runtime.WindowsRuntime. Which versions shall I adjust?

Found conflicts between different versions of "System.Runtime.WindowsRuntime" that could not be resolved.
There was a conflict between "System.Runtime.WindowsRuntime, Version=4.0.14.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System.Runtime.WindowsRuntime, Version=4.0.15.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
    "System.Runtime.WindowsRuntime, Version=4.0.14.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" was chosen because it was primary and "System.Runtime.WindowsRuntime, Version=4.0.15.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" was not.
    References which depend on "System.Runtime.WindowsRuntime, Version=4.0.14.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.dll].
        C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.dll
          Project file item includes which caused reference "C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.dll".
            C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.dll
    References which depend on or have been unified to "System.Runtime.WindowsRuntime, Version=4.0.15.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [].
        C:\Dev\sw\SwLibrary\bin\Debug\netstandard2.0\SwLibrary.dll
          Project file item includes which caused reference "C:\Dev\sw\SwLibrary\bin\Debug\netstandard2.0\SwLibrary.dll".
            C:\Dev\sw\SwLibrary\bin\Debug\netstandard2.0\SwLibrary.dll
        C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\XamlCompiler\Microsoft.UI.Xaml.Markup.winmd
          Project file item includes which caused reference "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\XamlCompiler\Microsoft.UI.Xaml.Markup.winmd".
            Microsoft.UI.Xaml.Markup
        C:\Users\myuser\.nuget\packages\microsoft.appcenter\5.0.6\lib\uap10.0.16299\Microsoft.AppCenter.dll
          Project file item includes which caused reference "C:\Users\myuser\.nuget\packages\microsoft.appcenter\5.0.6\lib\uap10.0.16299\Microsoft.AppCenter.dll".
            C:\Users\myuser\.nuget\packages\microsoft.appcenter\5.0.6\lib\uap10.0.16299\Microsoft.AppCenter.dll
            C:\Users\myuser\.nuget\packages\microsoft.appcenter.crashes\5.0.6\lib\uap10.0.16299\Microsoft.AppCenter.Crashes.dll
        C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Numerics.Vectors.WindowsRuntime.dll
          Project file item includes which caused reference "C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Numerics.Vectors.WindowsRuntime.dll".
            C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Numerics.Vectors.WindowsRuntime.dll
        C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.UI.Xaml.dll
          Project file item includes which caused reference "C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.UI.Xaml.dll".
            C:\Users\myuser\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.14\ref\uap10.0.15138\System.Runtime.WindowsRuntime.UI.Xaml.dll
            Microsoft.UI.Xaml.Markup

Activity

  1. mc0re commented on May 30, 2025

    @mc0re
    Author

    I have a similar problem - "Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=4.0.15.0".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions