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

AzureRM module fails to load #1693

Closed
TravisEz13 opened this Issue Aug 9, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@TravisEz13
Member

TravisEz13 commented Aug 9, 2016

Steps to reproduce

install the azure module (install-module azurerm)
ipmo azurerm

Expected behavior

The module should load

Actual behavior


PSMessageDetails      :
Exception             : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an
                        invocation. ---> System.TypeLoadException: Could not load type 'System.ICloneable' from
                        assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
                           at Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet..ctor()
                           --- End of inner exception stack trace ---
                           at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean
                        noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
                           at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean
                        fillCache, StackCrawlMark& stackMark)
                           at System.Activator.CreateInstance(Type type, Boolean nonPublic)
                           at System.Management.Automation.Runspaces.PSSnapInHelpers.ExecuteModuleInitializer(Assembly
                        assembly, Type[] assemblyTypes, Boolean isModuleLoad)
                           at System.Management.Automation.Runspaces.PSSnapInHelpers.Anal

Environment data

> $PSVersionTable
@vors

This comment has been minimized.

Show comment
Hide comment
@vors

vors Aug 11, 2016

Collaborator

This is expected, since AzureRM is compiled against full .net framework.

Collaborator

vors commented Aug 11, 2016

This is expected, since AzureRM is compiled against full .net framework.

@Krishna-Vutukuri

This comment has been minimized.

Show comment
Hide comment
@Krishna-Vutukuri

Krishna-Vutukuri Aug 18, 2016

Contributor

We are working on releasing a preview versions of AzureRM.Profile and AzureRM.Resources modules. Stay tuned for updates.

Contributor

Krishna-Vutukuri commented Aug 18, 2016

We are working on releasing a preview versions of AzureRM.Profile and AzureRM.Resources modules. Stay tuned for updates.

@pcgeek86

This comment has been minimized.

Show comment
Hide comment

pcgeek86 commented Aug 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment