Could not load file or assembly 'TypeShape, Version=8.0.1.0'
See original GitHub issueDescription
Retrieving the config fails with Could not load file or assembly 'TypeShape, Version=8.0.1.0,...
Repro steps
- Create a new project referencing FsConfig
- Create a config record type and use the default match expression from the docs to retrieve the config
Expected behavior
Config gets successfully retrieved.
Actual behavior
The following exception gets thrown:
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'TypeShape, Version=8.0.1.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'TypeShape, Version=8.0.1.0, Culture=neutral, PublicKeyToken=null'
at FsConfig.Core.parseInternal[T](IConfigReader configReader, FSharpFunc`2 fieldNameCanonicalizer, FieldValueParseArgs args)
at Program.main(String[] argv) in
Known workarounds
Add TypeShape directly to the project:
<PackageReference Include="TypeShape" Version="8.0.1" />
Related information
- Operating system: Ubuntu 18.04
- FsConfig: 2.1.5
- .NET Core 3.1.101
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:11 (4 by maintainers)
Top Results From Across the Web
The provider is not compatible with the version of Oracle ...
I did however get a follow error message that states: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies ...
Read more >Announcing .NET Core 1.0
The 'dotnet' app host, which is used to launch . NET Core apps. It selects and hosts the runtime, provides an assembly loading...
Read more >Can't seem to build Iosevka · Issue #380
6; Your make version: 3.81; Your results of npm list : ... I'm just trying to build a custom Iosevka using the examples...
Read more >Release History — OpenFF Toolkit 0.9.2+0.g7c3dfbae.dirty ...
PR #634: Fixes a bug in which calling RDKitToolkitWrapper.from_file directly would not load files correctly if passed lowercase file_format .
Read more >OpenFF Toolkit Documentation
The single- file installer packages an entire Conda distribution complete will all dependencies needed to run the Toolkit. These are provided ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@tamizhvendan I’ve just published version 3.0.0. The problem looks solved now. Tested with the following
Dockerfile:It looks like I need some more time to troubleshoot this. I will get back to you this weekend.