question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assembly loading doesn't work as expected

See original GitHub issue

Describe the bug Loading the assembly from its path creates types differently from expected

To Reproduce Steps to reproduce the behavior:

  1. Using this version of the library ‘0.2.4’
  2. Run tests from https://github.com/godrose/netcore-load
  3. See the error in the test which uses the package as opposed to Assembly.LoadFrom approach

Expected behavior Tests should be green in both cases

Screenshots Irrelevant

Additional context .NET Core pre-3.0, VS 2017, Test Explorer

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
natemcmastercommented, Oct 1, 2019

New issue, if you don’t mind.

On Mon, Sep 30, 2019, 8:47 AM Gennady Verdel notifications@github.com wrote:

@natemcmaster https://github.com/natemcmaster I’m not sure whether to file a new issue as it seems very similar to the one you closed. Use this repo https://github.com/godrose/netcore-load/tree/master and observe how reverting the changes from the commit godrose/netcore-load@d5e945c https://github.com/godrose/netcore-load/commit/d5e945c1b7f6f5b54faf5d25f19ff1056871bf22 would fail the http://api/warehouse call. This functionality works in one of the old pre-release packages, 0.3.0-beta.36, for example.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/natemcmaster/DotNetCorePlugins/issues/41?email_source=notifications&email_token=AAUSHF77SHOYPSGHRBFWLY3QMINPVA5CNFSM4HJLCU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD76DZXI#issuecomment-536624349, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUSHF2UE7ADSBALYA6E2RDQMINPVANCNFSM4HJLCU3Q .

1reaction
natemcmastercommented, Jul 15, 2019

@jzabroski congrats on the wedding and enjoy your honeymoon! I’m available to help whenever you’re ready to proceed on this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Load assembly doesn't worked correctly
I think your syntax is wrong. Assembly.load(string) expects the assembly name. Assembly.Load("SampleAssembly, Version=1.0.2004.0, ...
Read more >
Best Practices for Assembly Loading - .NET Framework
Unexpected dependency loading can occur. It you load two assemblies that share a dependency, loading them with partial binding might result in ...
Read more >
Loading assemblies doesn't work in Terminal until I press ...
The Cmdlet Add-Type doesn't load the referenced assemblies until the method GetTypes is executed on the assembly object.
Read more >
When starting 3ds Max, a Plug-in Assembly Load Error ...
Issue: When starting 3ds Max, a Plug-in Assembly Load Error (Autodesk.Max.Wrappers.dll) error similar to the following will occur:
Read more >
Cannot debug net6.0-macos Apps - Developer Community
This is a regression. I can no longer debug net6.0-macos apps. It also fails for net6.0-maccatalyst apps. When I hit debug, the following ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found