升级组件引用,修正MQTT和NET引用Core版本不正确导致各个工具无法反射加载的问题。大石头 authored at 2024-08-22 22:13:47
diff --git a/XCoder/FrmMDI.cs b/XCoder/FrmMDI.cs
index 1c6922c..5f4b79d 100644
--- a/XCoder/FrmMDI.cs
+++ b/XCoder/FrmMDI.cs
@@ -54,6 +54,8 @@ namespace XCoder
void LoadForms(Type[] ts)
{
+ if (ts.Length == 0) ts = typeof(IXForm).GetAllSubclasses().ToArray();
+
var name = XConfig.Current.LastTool + "";
foreach (var item in ts)
{
diff --git a/XCoder/XCoder.csproj b/XCoder/XCoder.csproj
index 9443a79..285e330 100644
--- a/XCoder/XCoder.csproj
+++ b/XCoder/XCoder.csproj
@@ -390,10 +390,10 @@
<Version>2.6.2024.801</Version>
</PackageReference>
<PackageReference Include="NewLife.MQTT">
- <Version>2.0.2024.708</Version>
+ <Version>2.0.2024.822-beta1012</Version>
</PackageReference>
<PackageReference Include="NewLife.Net">
- <Version>4.3.2023.806</Version>
+ <Version>4.3.2024.822-beta1011</Version>
</PackageReference>
<PackageReference Include="NewLife.Redis">
<Version>5.7.2024.801</Version>