-
Notifications
You must be signed in to change notification settings - Fork 42
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
Loading the assembly fails with PowerShell Core 7 #45
Comments
Strange, it works in the classic none-core powershell 5, but not in pwsh... |
Ok, this is really strange. I tried to build & publish the lib myself, same error. When I just change the Version in the csproj to 1.0.11 instead of 1.0.12 it works perfectly. Changing it pack to 1.0.12 -> same error. What the hell???? |
Oooh. PowerShell 7.0.3 seems to also use Namotion.Reflection... At least on my machine there is a "C:\Program Files\PowerShell\7\Namotion.Reflection.dll"... And it is version 1.0.11 :( Is there anything I can do about it? |
Its part of the ps core installation!?! |
Whenever I try to call
Add-Type -Path "D:\Test\Namotion.Reflection.dll"
in a PowerShell session it fails with
Could not load file or assembly 'Namotion.Reflection, Version=1.0.12.0, Culture=neutral, PublicKeyToken=c2f9c3bdfae56102'
.The loading of a big .NET Core Project even with Entity Framework Core succeeds. Just the Namation.Reflection assembly cannot be loaded. Do you have any ideas what the issue could be? Any special dependencies or such? Some ideas that I could try?
The text was updated successfully, but these errors were encountered: