diff --git a/FlowEdit/FlowEdit可视化流程编辑器.zip b/FlowEdit/FlowEdit可视化流程编辑器.zip new file mode 100644 index 0000000..38ecc69 Binary files /dev/null and b/FlowEdit/FlowEdit可视化流程编辑器.zip differ diff --git a/Library.Core/Serein.Library.Core.csproj b/Library.Core/Serein.Library.Core.csproj index 232da48..0f87f4b 100644 --- a/Library.Core/Serein.Library.Core.csproj +++ b/Library.Core/Serein.Library.Core.csproj @@ -6,6 +6,14 @@ enable D:\Project\C#\DynamicControl\SereinFlow\.Output Library + True + SereinFow + Net8运行时需要添加的依赖 + README.md + https://github.com/fhhyyp/serein-flow + LICENSE + True + latest @@ -41,6 +49,17 @@ + + + True + \ + + + True + \ + + + diff --git a/Library.Framework/Properties/AssemblyInfo.cs b/Library.Framework/Properties/AssemblyInfo.cs index 615246e..9b6d4f3 100644 --- a/Library.Framework/Properties/AssemblyInfo.cs +++ b/Library.Framework/Properties/AssemblyInfo.cs @@ -1,4 +1,5 @@ -using System.Reflection; +using System.Resources; +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -34,3 +35,4 @@ using System.Runtime.InteropServices; // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: NeutralResourcesLanguage("")] diff --git a/Library.Framework/Serein.Library.Framework.1.0.0.nupkg b/Library.Framework/Serein.Library.Framework.1.0.0.nupkg new file mode 100644 index 0000000..39614c0 Binary files /dev/null and b/Library.Framework/Serein.Library.Framework.1.0.0.nupkg differ diff --git a/Library.Framework/Serein.Library.Framework.nuspec b/Library.Framework/Serein.Library.Framework.nuspec new file mode 100644 index 0000000..2b0cebb --- /dev/null +++ b/Library.Framework/Serein.Library.Framework.nuspec @@ -0,0 +1,16 @@ + + + + Serein.Library.Framework + 1.0.0 + fengjiayi + fengjiayi + false + MIT + + https://github.com/fhhyyp/serein-flow + 基于WPF(Dotnet 8)的流程可视化编辑器的依赖库 + $copyright$ + SereinFow + + \ No newline at end of file diff --git a/Library/Serein.Library.csproj b/Library/Serein.Library.csproj index 20c62fa..02f0a33 100644 --- a/Library/Serein.Library.csproj +++ b/Library/Serein.Library.csproj @@ -3,6 +3,14 @@ net8-windows;net462 D:\Project\C#\DynamicControl\SereinFlow\.Output + True + SereinFow + 基础依赖 + README.md + https://github.com/fhhyyp/serein-flow + LICENSE + True + @@ -25,4 +33,15 @@ + + + True + \ + + + True + \ + + + diff --git a/NodeFlow/FlowStarter.cs b/NodeFlow/FlowStarter.cs index b9be258..e3b844c 100644 --- a/NodeFlow/FlowStarter.cs +++ b/NodeFlow/FlowStarter.cs @@ -139,15 +139,11 @@ namespace Serein.NodeFlow #region 选择运行环境的上下文 // 判断使用哪一种流程上下文 - var isNetFramework = false; - if (isNetFramework) - { - Context = new Serein.Library.Framework.NodeFlow.DynamicContext(env); - } - else - { - Context = new Serein.Library.Core.NodeFlow.DynamicContext(env); // 从起始节点启动流程时创建上下文 - } +#if NET6_0_OR_GREATER + Context = new Serein.Library.Core.NodeFlow.DynamicContext(env); // 从起始节点启动流程时创建上下文 +#else + Context = new Serein.Library.Framework.NodeFlow.DynamicContext(env); +#endif #endregion #region 初始化运行环境的Ioc容器 diff --git a/NodeFlow/Serein.NodeFlow.csproj b/NodeFlow/Serein.NodeFlow.csproj index c356542..6a9a6ec 100644 --- a/NodeFlow/Serein.NodeFlow.csproj +++ b/NodeFlow/Serein.NodeFlow.csproj @@ -5,6 +5,16 @@ enable enable D:\Project\C#\DynamicControl\SereinFlow\.Output + True + SereinFow + 管理节点的运行环境,非二次开发无须添加 + + README.md + https://github.com/fhhyyp/serein-flow + git + LICENSE + True + @@ -27,6 +37,17 @@ + + + True + \ + + + True + \ + + + diff --git a/README.md b/README.md index 9642f91..f5f59c4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ https://space.bilibili.com/33526379 # 如何加载我的DLL? 使用 **DynamicFlow** 特性标记你的类,可以参照 **Net461DllTest** 的实现。编译为 Dll文件 后,拖入到软件中即可。 +如果你不想下载整个工程文件,“FLowEdit”目录下放有“FlowEdit可视化流程编辑器.zip”压缩包,可以直接解压使用(但可能需要你安装 .Net8 运行环境)。 # 如何让我的方法成为节点? 使用 **NodeAction** 特性标记你的方法。 diff --git a/Serein.FlowRemoteManagement/Serein.FlowRemoteManagement.csproj b/Serein.FlowRemoteManagement/Serein.FlowRemoteManagement.csproj index 0c7929c..cc51859 100644 --- a/Serein.FlowRemoteManagement/Serein.FlowRemoteManagement.csproj +++ b/Serein.FlowRemoteManagement/Serein.FlowRemoteManagement.csproj @@ -5,6 +5,7 @@ enable enable D:\Project\C#\DynamicControl\SereinFlow\.Output + diff --git a/WorkBench/Serein.WorkBench.csproj b/WorkBench/Serein.WorkBench.csproj index 2e097eb..5d3bc19 100644 --- a/WorkBench/Serein.WorkBench.csproj +++ b/WorkBench/Serein.WorkBench.csproj @@ -7,6 +7,7 @@ enable True D:\Project\C#\DynamicControl\SereinFlow\.Output + MIT