Skip to content

Commit

Permalink
修改 readme 文件
Browse files Browse the repository at this point in the history
  • Loading branch information
uyoufu committed May 14, 2022
1 parent 1a5e32a commit e76cf0a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
6 changes: 3 additions & 3 deletions MSAddinTest/MSAddinTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
<ItemGroup>
<Reference Include="Bentley.DgnPlatformNET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4bf6c96a266e58d4, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\Bentley.DgnPlatformNET.dll</HintPath>
<HintPath>$(Microstation)\Bentley.DgnPlatformNET.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\Assemblies\Newtonsoft.Json.dll</HintPath>
<HintPath>$(Microstation)\Assemblies\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -77,7 +77,7 @@
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="ustation">
<HintPath>C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\ustation.dll</HintPath>
<HintPath>$(Microstation)\ustation.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="WindowsBase" />
Expand Down
4 changes: 2 additions & 2 deletions MSAddinTest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("0.3.0")]
[assembly: AssemblyFileVersion("0.3.0")]
20 changes: 14 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ dllName.autoLoad=true,dllName.autoReload=true
dllName.autoLoad=true,autoReload=true
```

> 配置文件路径为:
>
> "_USTN_HOMEROOT" 变量位置下的`MSAddinTest\config.json`

## VisualStudio Debug 流程

**调试:**
Expand Down Expand Up @@ -284,14 +288,18 @@ dllName.autoLoad=true,autoReload=true

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

## 参考
## 开发环境

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

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

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

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

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

0 comments on commit e76cf0a

Please sign in to comment.