You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In multiple projects scenario, for example there's "v1" and "v2" model builder.
"v1" reference Assembly A, B, C.
"v2" reference Assembly A, B, C, and D.
If we build the V1 first, Default assembly only loads "A, B, C".
When build "v2", since the default assembly statically in memory, it load "A, B, C", then there's no opportunity to load "D".
Expected result
What would happen if there wasn't a bug.
Actual result
What is actually happening.
Additional detail
Work around, create your own AssemblyResolver and input into the convention model builder.
The text was updated successfully, but these errors were encountered:
Short summary (3-5 sentences) describing the issue.
Assemblies affected
Which assemblies and versions are known to be affected e.g. OData ModelBuilder 1.x
Reproduce steps
There's a static instance for the default assembly resolver.
https://github.com/OData/ModelBuilder/blob/master/src/Microsoft.OData.ModelBuilder/Helpers/DefaultAssemblyResolver.cs#L21
In multiple projects scenario, for example there's "v1" and "v2" model builder.
"v1" reference Assembly A, B, C.
"v2" reference Assembly A, B, C, and D.
If we build the V1 first, Default assembly only loads "A, B, C".
When build "v2", since the default assembly statically in memory, it load "A, B, C", then there's no opportunity to load "D".
Expected result
What would happen if there wasn't a bug.
Actual result
What is actually happening.
Additional detail
Work around, create your own AssemblyResolver and input into the convention model builder.
The text was updated successfully, but these errors were encountered: