-
Notifications
You must be signed in to change notification settings - Fork 1k
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
RegFree COM for .Net core(net6.0) is looking for wrong dll versions of dependent libraries #40819
Comments
What exact file are you talking about? .NET Core doesn't really use manifest files for assembly resolution, so things like binding redirects which were common in .NET Framework don't work the same anymore. |
/cc @elinor-fung |
Looping back here with results of some offline investigation:
The build had |
Describe the bug
We are migrating Reg free COM project (server.dll) from .Net framework to .Net core, as per the documentation given here, able to build project successful and also see that COM call reaching to server, how ever the call is failing eventually because of "Could not load file or assembly 'A.b.c, Version=15.0.0.0",
Below are some observations which could help in investigation :-
Looks like something is missing or some issue in SDK ? .
To Reproduce
Exceptions (if any)
Further technical details
dotnet --info
Runtime Environment:
OS Name: Windows
OS Version: x.y.z
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.400\
Host:
Version: 8.0.4
Architecture: x64
.NET SDKs installed:
- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version7.0.400 [C:\Program Files\dotnet\sdk]
The text was updated successfully, but these errors were encountered: