Преглед на файлове

1.修复ChangeSystem错误
2.升级到.net core 2.1

tanghai преди 7 години
родител
ревизия
65df1c0199

+ 1 - 1
Doc/运行指南.md

@@ -2,7 +2,7 @@
 ##### 1.visual studio必须使用vs2017(更新到最新版), VS2017需要勾选安装以下内容:
 a. .net 桌面开发  
 b. visual studio tools for unity  
-c. .net core 2.0  
+c. 去net core官网下载安装.net core 2.1  
 ##### 2. unity2017.4.3版,unity2018请自己摸索
 
 ##### 3. 启动unity2017, 菜单 File->open project->open 选中ET/Unity文件夹,点击选择文件夹按钮。

+ 1 - 1
Server/App/Server.App.csproj

@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <OutputType>Exe</OutputType>
-    <TargetFramework>netcoreapp2.0</TargetFramework>
+    <TargetFramework>netcoreapp2.1</TargetFramework>
     <AssemblyName>App</AssemblyName>
     <RootNamespace>App</RootNamespace>
   </PropertyGroup>

+ 1 - 1
Server/Hotfix/Server.Hotfix.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFramework>netcoreapp2.0</TargetFramework>
+    <TargetFramework>netcoreapp2.1</TargetFramework>
     <AssemblyName>Hotfix</AssemblyName>
     <RootNamespace>ETHotfix</RootNamespace>
   </PropertyGroup>

+ 1 - 1
Server/Model/Server.Model.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFramework>netcoreapp2.0</TargetFramework>
+    <TargetFramework>netcoreapp2.1</TargetFramework>
     <AssemblyName>Model</AssemblyName>
     <RootNamespace>Model</RootNamespace>
   </PropertyGroup>

+ 1 - 1
Unity/Assets/Scripts/Base/Object/EventSystem.cs

@@ -107,7 +107,7 @@ namespace ETModel
 				IChangeSystem changeSystem = obj as IChangeSystem;
 				if (changeSystem != null)
 				{
-					this.changeSystems.Add(loadSystem.Type(), changeSystem);
+					this.changeSystems.Add(changeSystem.Type(), changeSystem);
 				}
 			}
 

+ 1 - 1
Unity/Hotfix/Base/Object/EventSystem.cs

@@ -88,7 +88,7 @@ namespace ETHotfix
 				IChangeSystem changeSystem = obj as IChangeSystem;
 				if (changeSystem != null)
 				{
-					this.changeSystems.Add(loadSystem.Type(), changeSystem);
+					this.changeSystems.Add(changeSystem.Type(), changeSystem);
 				}
 			}