Skip to content

AssemblyResolutionException on attempt to build project using Puresharp #16

Description

@kjaworski

The following error appears during building a project in VS:

7>Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
7>   at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
7>   at Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name)
7>   at IPuresharp.Authority.Modules(AssemblyDefinition assembly)
7>   at IPuresharp.Authority.Modules(AssemblyDefinition assembly)
7>   at IPuresharp.Authority.Include(AssemblyDefinition assembly, Assembly[] dependencies)
7>   at IPuresharp.Authority.Manage(TypeDefinition type, MethodDefinition method)
7>   at IPuresharp.Authority..ctor(TypeDefinition type)
7>   at IPuresharp.Program.Manage(TypeDefinition type)
7>   at IPuresharp.Program.Manage(String assembly)
7>   at IPuresharp.Program.Main(String[] arguments)

And VS logs this error:
The command ""%USERPROFILE%\.nuget\packages\IPuresharp\5.0.5\build\net452\IPuresharp.exe" "C:\Sources\path_to_My.Internal.Company.Assembly.dll"" exited with code -532462766. My.Internal.Company.Assembly C:\Users\myuser\.nuget\packages\ipuresharp\5.0.5\build\netcoreapp2.1\IPuresharp.targets 11

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions