문제

I want to use a third-party library so I typed

Option Strict Off
Imports System
Imports NXOpen
Imports System.Diagnostics

but after compiling it says "cant find NXOpen Namespace" and so on

Why is that?

PS: NO, I am NOT using VisualStudio, I make everything in Notepad++ and compile via vbs on commandline

도움이 되었습니까?

해결책

You should add a reference to your NxOpen assembly when building:

vbc /reference:NxOpen.dll myvbsource.vb

(if your assembly is called NxOpen ...)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top