CShell icon indicating copy to clipboard operation
CShell copied to clipboard

Can't add an 'assembly reference' to the workspace

Open ashleydavis opened this issue 9 years ago • 1 comments

I've installed CShell (it's very nice thank you).

I wanted to use it to explore Deedle.

So I created a new workspace. I installed Deedle into the workspace using nuget:

nuget install deedle

I then used the 'Workspace' menu 'Add Reference from File' and selected the Deedle assembly.

This didn't appear to change anything in the workspace.

I can't import the Deedle name space in the interactive window:

using Deedle;

I get the following error:

(1,8): error CS0246: The type or namespace name `Deedle' could not be found. Are you missing an assembly reference?

I wondered if Deedle was the problem so I installed and referenced Newtonsoft.Json and it worked fine.

So there is something wierd about about the Deedle assembly that makes CShell fail silently.

Any ideas why this might be?

Can you think of any workaround so I can get Deedle loaded and start exploring it?

An extra bit of information: Deedle is written in F#. Maybe this is the reason CShell won't load it. It is supposed to be usable from C# thought.

ashleydavis avatar Oct 01 '15 08:10 ashleydavis

I've built CShell from latest code in github. The latest code fixes this problem.

I was able to make a reference to Deedle. I also had to add a reference to FSharp.Core which is a dependency of Deedle. Now I can use Deedle in CShell.

Please close this issue when you have released a new version of CShell.

ashleydavis avatar Oct 01 '15 22:10 ashleydavis