Just upgraded from 17-rc3 to 17-rc4 and it’s failing to build.
I’m getting this from co-pilot:
• Runtime TypeLoadException means an assembly version mismatch: some component expects a different Microsoft.OpenApi assembly (type Microsoft.OpenApi.Models.OpenApiInfo not found on the loaded assembly).
A lot of the known package developers has gotten this message from HQ
For most people, the problem is fixed by updating a name space (
using Microsoft.OpenApi.Modelsbecomesusing Microsoft.OpenApi. Some people might need to do a bit more.
Looks like you need to do something similar ![]()
Thanks @skttl
the only place I can find it being used is Block Preview which I updated to the latest version.
I wonder if @rickbutterfield has a newer one in the pipeline for v17?
![]()
Yep, will be out first thing tomorrow!
Thanks @rickbutterfield - does it address that issue?
It does! It uses the release version of the CMS so has the updated Microsoft.OpenApi references
Perfect and thank you.
It’s all very exciting!
Thanks again @rickbutterfield for working on this so quickly, the new release that now works for me is available:
