Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8548

C# Class library built into .dll failed to load in grasshopper

$
0
0

@Petras wrote:

Hi,

.dll failed to load in grasshopper c# component:
//Import failed for ‘C:\Users\Petras\Documents\Visual Studio 2017\Projects\Test01\Test01\bin\Debug\netstandard2.0\Test01.dll’: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.

Probably, I am missing something very simple when creating C# library as .dll.

To simplify:

The following screenshots shows steps in visual studio; creating test C# static class and building it to .dll.

Grasshopper cannot load that .dll. What kind of project it must be in visual studio 2017, so that .dll could be loaded?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8548

Trending Articles