类库中获取主程序启动路径:
Application.StartupPath
类库中获取类库所在路径(截取是为了去掉开头的file:/)
Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase).Substring(6)
系统桌面
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
我的文档
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
CAD引用:复制本地false, 嵌入互操作类型false ,否则其它版本的CAD客户端上报错