Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembly reference mismatch causing crash when opening application #15535

Closed
dkocher opened this issue Jan 11, 2024 · 4 comments
Closed

Assembly reference mismatch causing crash when opening application #15535

dkocher opened this issue Jan 11, 2024 · 4 comments
Assignees
Labels
bug installer Windows Installer
Milestone

Comments

@dkocher
Copy link
Contributor

dkocher commented Jan 11, 2024

Top-level Exception
Type:        System.IO.FileLoadException
Message:     Could not load file or assembly 'System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source:      Cyberduck.Core.Refresh
Stack Trace: at Ch.Cyberduck.Core.Refresh.Media.Imaging.Icon`1..ctor(Stream stream)
   at Ch.Cyberduck.Core.Refresh.Services.WinFormsIconProvider.GetImages(Stream stream, GetCacheIconCallback getCache, CacheIconCallback cacheIcon, Boolean& dispose)
   at Ch.Cyberduck.Core.Refresh.Services.WinFormsIconProvider.Get(Object key, String path, String classifier, Boolean returnDefault, Image& default)
   at Ch.Cyberduck.Core.Refresh.Services.WinFormsIconProvider.GetDisk(Protocol protocol, Int32 size)
   at Ch.Cyberduck.Core.Refresh.Services.WinFormsIconProvider.BuildProtocolImageList()
   at Ch.Cyberduck.Core.Refresh.Services.WinFormsIconProvider..ctor(ProtocolFactory protocols, ProfileListObserver profileListObserver, IconCache iconCache, IIconProviderImageSource imageSource)
   at lambda_method(Closure , IArguments )
   at StructureMap.Construction.BuilderCompiler.FuncCompiler`1.<>c__DisplayClass2.<CreateBuilder>b__0(IArguments args)
   at StructureMap.Pipeline.ConstructorInstance.Build(Type pluginType, BuildSession session, IInstanceBuilder builder)
@dkocher dkocher added bug installer Windows Installer labels Jan 11, 2024
@dkocher dkocher added this to the 8.7.3 milestone Jan 11, 2024
@dkocher
Copy link
Contributor Author

dkocher commented Jan 11, 2024

Regression from 8213293.

@dkocher
Copy link
Contributor Author

dkocher commented Jan 11, 2024

Fix in bf2fb3b.

@dkocher dkocher closed this as completed Jan 11, 2024
@AliveDevil
Copy link
Contributor

Stack trace points to #15451 as regression, not #15524.

@AliveDevil
Copy link
Contributor

AliveDevil commented Jan 11, 2024

Difficulty in observing this while developing:
Building in VS enables ProjectReferences to provide transient dependencies.
Due to the build infrastructure project reference building is disabled1. So when building and running locally this is a non-issue, while CI will happily ignore newer references.

Footnotes

  1. https://github.com/iterate-ch/cyberduck/blob/master/windows/build.xml#L60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug installer Windows Installer
Projects
None yet
Development

No branches or pull requests

2 participants