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

Could not load type 'Umbraco.Cms.Core.Deploy.IGridCellValueConnector2' #147

Closed
callumbwhyte opened this issue Dec 1, 2022 · 2 comments
Closed

Comments

@callumbwhyte
Copy link

Trying to upgrade one of our Cloud sites to v11 and getting the following error locally preventing the application from booting. Looks like something is missing...

TypeLoadException: Could not load type 'Umbraco.Cms.Core.Deploy.IGridCellValueConnector2' from assembly 'Umbraco.Infrastructure, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null'.

The package references we have in our csproj are as follows:

<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
<PackageReference Include="Umbraco.Cloud.Identity.Cms" Version="11.0.18" />
<PackageReference Include="Umbraco.Cloud.StorageProviders.AzureBlob" Version="11.0.0" />
<PackageReference Include="Umbraco.Cms" Version="11.0.0" />
<PackageReference Include="Umbraco.Deploy.Cloud" Version="11.0.0" />
<PackageReference Include="Umbraco.Deploy.Contrib" Version="11.0.0" />
<PackageReference Include="Umbraco.Deploy.Forms" Version="11.0.0" />
<PackageReference Include="Umbraco.Forms" Version="11.0.0" />
@ronaldbarendse
Copy link

Hi Callum! We did change related interfaces in 11.0.0-rc2 (PR umbraco/Umbraco-CMS#13287), but since that introduced breaking changes, reverted those and added new versions, including IGridCellValueConnector2 in 11.0.0-rc6 (PR umbraco/Umbraco-CMS#13489). Your project seems to be using an outdated assembly that doesn't contain this interface, hence the error...

You can verify that the Umbraco.Infrastructure version 11.0.0.0 assembly does contain the Umbraco.Cms.Core.Deploy.IGridCellValueConnector2 type on FuGet.

Maybe your local NuGet cache contains the wrong version (use dotnet nuget locals all --clear to clear this) or a package is preventing the transitive dependency on Umbraco.Cms.Infrastructure to update to the final 11.0.0 version?

@callumbwhyte
Copy link
Author

Thanks @ronaldbarendse, you were absolutely right here!

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

No branches or pull requests

2 participants