-
Notifications
You must be signed in to change notification settings - Fork 79
When adding a nuget package / assembly with a different namespace it cannot be resolved #459
Comments
Hi @anegg0, thanks for filing. I have created a very simple sample workbook that references the It sounds like you added the As for a Thanks for letting us know about the crash on Copy Version Information. I'm looking into a fix. Do you by any chance have some sort of clipboard utility program like TeraCopy installed? |
Thank you for your response @sandyarmstrong and apologies for the delay. I can install Teracopy of course. Just let me know what trace you need, glad to help. |
@anegg0 Sorry, what I meant about TeraCopy was that if you had it installed (or a similar utility), it might be indirectly responsible for the crash when running Copy Version Information. We are working on a bug fix release that will hopefully prevent that crash. |
No, I don't use that utility, I actually snapshot from my linux host.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On July 3, 2018 6:14 PM, Sandy Armstrong ***@***.***> wrote:
***@***.***(https://github.com/anegg0) Sorry, what I meant about TeraCopy was that if you had it installed (or a similar utility), it might be indirectly responsible for the crash when running Copy Version Information. We are working on a bug fix release that will hopefully prevent that crash.
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#459 (comment)), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AIlQ0dLsiN1ziSgLTGAXqXUMzzSv30IBks5uC-zggaJpZM4U4Ath).
|
You're running Windows in a VM? That could actually be related. Can you share what version of Linux, what virtualization software, etc? Thanks! |
host: Linux Mint 18.3 Sylvia |
Closing this issue as per #459 (comment). If I am misunderstanding the issue, please let me know and we can reopen. |
I provided the elements you requested regarding my environment, are there any other elements you need? |
From what I understand, the main issue you were asking about was why you could not access the So the bugs that came out of this report were:
|
Just extra feedback as I have tested this on my environment (s). Windows and Mac. The main issue is combining two packages. Nethereum.Web3 and Nethereum.Accounts. Nethereum.Accounts contains the namespace Nethereum.Web3.Accounts In this scenario even if you force #r to include the package, it cannot be resolved. Hence the thought that it was trying to be resolved by package name / DLL and ignoring the others. Although it is interesting that it worked for you. Maybe having the two using statements or might have been the order of #r? |
Can you provide a simple working C# console project that references the packages and has the behavior you want? That would make it easier for me to understand where Workbooks is falling short for you. |
Sure I'll post one tomorrow. |
Ok, I got it working on a new workbook following these steps. So yes it is probably now just #329 Step 1. Create a new workbook adding Nethereum.Web3 as a package. |
Source:
|
@sandyarmstrong thank you for your help. Although we could never clearly identify the cause of the issue, we found a workaround, so I guess this issue is fine to close. |
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
#r "Nethereum.Accounts"
and ausing Nethereum.Accounts;
statementsExpected 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
The text was updated successfully, but these errors were encountered: