Closed vimarx closed 3 years ago
this does not relate to the module rather to your system
for e.g. see
also did u use powershell core to run the command?
not core.... l
the XpandPwsh is designed to work with Pwsh
Installed Powershell 7.1 (last version) and
PS C:\TFS2020\F2011\PreSolicitud\PresolicitudW.Web\bin> Get-ReferenceConflict Get-ReferenceConflict: Could not load file or assembly 'System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
Could not load file or assembly 'System.Private.CoreLib, Version=5.0.0.0
i suggest u try another machine this one looks problematic, this is a system assembly and from the version we can guess that somthing went wrong with your .net5.0 attempts
We will try to answer all questions that do not require research within 24hr. To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.
This case is prioritized.
also note that XpandPwsh is used from all Azure pipes so it installs fine as long as there is powershell core present, let me know how it goes
It's weird 1) in Powershell 7.1, GetReferenceconflict CLOSES the PS Window! 2) Powershell 7.2 preview, raises Get-ReferenceConflict: Could not load file or assembly 'System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
on the other hand I solved #800 partially, the web sites are running fine if I copy output dlls to another PC
i recommend u spent 10 min to setup windows on hyper-v (build-in-windows) which is a vm with snapshots. Having a clean vm handy u can easily test and see if your system is to blame cause it works on mine and on Azure
this may have a sense ? https://github.com/icsharpcode/ILSpy/issues/2228
i recommend u spent 10 min to setup windows on hyper-v (build-in-windows) which is a vm with snapshots. Having a clean vm handy u can easily test and see if your system is to blame cause it works on mine and on Azure
I do not have any experience in hyper-v (only with VMware), can you provide a quick link about your suggested setup?
yeah it about dotnet5.0 at least
hyperv is same like vmware however it by far better in my opinion performance wise, just do a start\hyperv manager and go with the menus to create a VM same as u do with VMWare.
But VMWare is also good if u have one u could test powershell and xpandpwsh there
Hi,
I got the error
Get-ReferenceConflict : Could not load file or assembly 'Microsoft.Uev.CabUtil, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null'.
At line:1 char:1
+ Get-ReferenceConflict
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-ReferenceConflict], FileLoadException
+ FullyQualifiedErrorId : System.IO.FileLoadException,XpandPwsh.Cmdlets.GetReferenceConflict
is it about the file?? (strange assembly for being in the bin) can u run it from an empty folder and not from your bin path?
another W2019 (existing) give me the same (net core 5 ) related and in a third dev pc, the following PS C:\Program Files\PowerShell\7> Get-ReferenceConflict Get-ReferenceConflict: Could not load file or assembly 'System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
is it about the file?? (strange assembly for being in the bin) can u run it from an empty folder and not from your bin path?
No the file is not in path. It is locate in c:\Windows\System32
Same error on an empty folder.
It runs from the c:\Windows\system32 folder.
PS C:\WINDOWS\system32> get-referenceconflict -path "C:\DevProjects\iXISIF\iXISXRM.Win\bin\Debug"
OK.
Get-ReferenceConflict Get-ReferenceConflict: Could not load file or assembly 'System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
i cannot repro in a clean VM sorry for not tried b4, it looks like the dynamic assembly loading uses a strategy max and with the donnet5 release it gets confused.
Issue is deprioritized
as no Assignee found
and scheduled for auto-close
if no activity in the next 60 days
. Thanks a lot for your contribution.
๐๐ฒ๐๐ฐ๐ฟ๐ถ๐ฏ๐ฒ ๐๐ต๐ฒ ๐ฏ๐๐ด Get-ReferenceConflict : No se puede cargar el archivo o ensamblado 'mfcm140d.dll' ni una de sus dependencias. No se puede encontrar el mรณdulo especificado. En lรญnea: 1 Carรกcter: 1