-
Notifications
You must be signed in to change notification settings - Fork 72
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
Import-Module : Could not load file or assembly #19
Comments
looking.. |
See if the netstandard2.0 version works for you. I have created a separate redistributable for dot net core. |
@nsoy Thanks for the reply, however, seeing the same result so far with the same error message:
Unblocked the |
@nsoy - trying again with a privileged account, it appears the netstandard2.0 version is now loading:
Maybe worth adding a few notes in the Readme or elsewhere about this requirement? Or add a check for whether the PowerShell session has proper rights? |
@nsoy, FYI - the prior comment is for the GitHub prelease version. The most recent version (1902) from PowerShell gallery looks to be working well and does not appear to require privileged access. |
I have pushed the module to powershell gallery - try install-module and report issues loading assemblies if any. Thanks! |
Experiencing the similar experience issue #2 when attempting to load the module
Import-Module ./Microsoft.Graph.Intune.psd1
Results in an error:
with Release Preview 3, however, unblocking the
net471\Microsoft.Intune.PowerShellGraphSDK.dll
file is not yet resolving this error. Tried with elevated privileges. Working with Windows 10 Version 1803 with .NET framework version 4.7.2 (release 461808). Other suggestions to resolve?The text was updated successfully, but these errors were encountered: