Skip to content

Commit e76cf0a

Browse files
committed
修改 readme 文件
1 parent 1a5e32a commit e76cf0a

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

MSAddinTest/MSAddinTest.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
<ItemGroup>
5959
<Reference Include="Bentley.DgnPlatformNET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4bf6c96a266e58d4, processorArchitecture=AMD64">
6060
<SpecificVersion>False</SpecificVersion>
61-
<HintPath>C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\Bentley.DgnPlatformNET.dll</HintPath>
61+
<HintPath>$(Microstation)\Bentley.DgnPlatformNET.dll</HintPath>
6262
</Reference>
6363
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
6464
<SpecificVersion>False</SpecificVersion>
65-
<HintPath>C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\Assemblies\Newtonsoft.Json.dll</HintPath>
65+
<HintPath>$(Microstation)\Assemblies\Newtonsoft.Json.dll</HintPath>
6666
<Private>False</Private>
6767
</Reference>
6868
<Reference Include="System" />
@@ -77,7 +77,7 @@
7777
<RequiredTargetFramework>4.0</RequiredTargetFramework>
7878
</Reference>
7979
<Reference Include="ustation">
80-
<HintPath>C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\ustation.dll</HintPath>
80+
<HintPath>$(Microstation)\ustation.dll</HintPath>
8181
<Private>False</Private>
8282
</Reference>
8383
<Reference Include="WindowsBase" />

MSAddinTest/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
5252
//通过使用 "*",如下所示:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.0.0.0")]
55-
[assembly: AssemblyFileVersion("1.0.0.0")]
54+
[assembly: AssemblyVersion("0.3.0")]
55+
[assembly: AssemblyFileVersion("0.3.0")]

Readme.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ dllName.autoLoad=true,dllName.autoReload=true
245245
dllName.autoLoad=true,autoReload=true
246246
```
247247

248+
> 配置文件路径为:
249+
>
250+
> "_USTN_HOMEROOT" 变量位置下的`MSAddinTest\config.json`
251+
248252
## VisualStudio Debug 流程
249253

250254
**调试:**
@@ -284,14 +288,18 @@ dllName.autoLoad=true,autoReload=true
284288

285289
本插件预留了 UI 接口,但短期内不会实现。欢迎同志们 PR
286290

287-
## 参考
291+
## 开发环境
288292

289-
1. [C#基础--应用程序域(Appdomain) AppDomain理解_love_hot_girl的博客-CSDN博客](https://blog.csdn.net/love_hot_girl/article/details/82949177)
293+
1. VisualStudio 2022
294+
2. Microstation CE
295+
3. 环境变量 `Microstation`,值指向 Microstation 安装目录,路径末没有 `\` 号
290296

291-
2. https://docs.microsoft.com/en-us/dotnet/standard/assembly/load-unload
297+
## 赞助与支持
292298

293-
3. [C# 动态加载组件后怎么在开发环境中调试](https://www.cnblogs.com/DasonKwok/p/10510218.html)
299+
如果觉得插件不错,可以请作者喝一杯咖啡哟!
294300

295-
4. [在C#中使用AppDomain实现【插件式】开发](https://www.cnblogs.com/mq0036/p/14646523.html)
301+
<div style="display:flex;justify-content:space-around;">
302+
<img height="200px" src="https://i.loli.net/2021/08/13/JOw9cxomhBAZFW8.png" alt="wechat">
303+
<img height="200px" src="https://i.loli.net/2021/08/13/U2s7gKn1zRw3uP4.png" alt="ailipay">
304+
<div />
296305

297-
5. [cad.net dll动态加载和卸载](https://www.cnblogs.com/JJBox/p/13833350.html)

0 commit comments

Comments
 (0)