Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

When adding a nuget package / assembly with a different namespace it cannot be resolved #459

@anegg0

Description

@anegg0

The "Nethereum.Accounts" package includes the "Nethereum.Web3.Accounts" namespace. The reason for this to avoid a major change until the next version.

There is also a package "Nethereum.Web3" with the same namespace.
Adding an "using" declaration for "Nethereum.Web3.Accounts" results in an error as it cannot be resolved.

Steps to Reproduce

  1. Create a new workbook and add #r "Nethereum.Accounts" and a using Nethereum.Accounts; statements
  2. Try to resolve the statements

Expected Behavior

The namespace is found in its package / assembly.

Actual Behavior

"Using" statement resolution returns an Error: " (1,17): error CS0234: The type or namespace name 'Accounts' does not exist in the namespace 'Nethereum' (are you missing an assembly reference?) `

Environment

Windows 10, Xamarin Workbooks 1.4.1

Can't do that: the app crashes on Help → Copy Version Information

Xamarin Workbooks 2018-06-26.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions