zhangtaotao 5 years ago
parent
commit
afacff3550

+ 1 - 1
sample/EasyWeChatClient/EasyWeChatClient/App.config

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <configuration>
     <startup> 
-        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
     </startup>
 </configuration>

+ 1 - 1
sample/EasyWeChatClient/EasyWeChatClient/EasyWeChatClient.csproj

@@ -8,7 +8,7 @@
     <OutputType>WinExe</OutputType>
     <RootNamespace>EasyWeChatClient</RootNamespace>
     <AssemblyName>EasyWeChatClient</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
     <WarningLevel>4</WarningLevel>

+ 3 - 2
sample/EasyWeChatClient/EasyWeChatClient/MainWindow.xaml.cs

@@ -16,6 +16,7 @@ using System.Windows.Navigation;
 using System.Windows.Shapes;
 using WeChatCore;
 using WeChatCore.Common;
+using WeChatCore.Entity;
 
 namespace EasyWeChatClient
 {
@@ -35,7 +36,7 @@ namespace EasyWeChatClient
             CommonMethodCallBackHandlers.SendMsgCompleted += CommonMethodCallBackHandlers_SendMsgCompleted;
             new Task(() =>
             {
-                WeiChat.InitWeiChatRobot();
+                WeChat.InitWeiChatRobot();
             }).Start();
         }
 
@@ -44,7 +45,7 @@ namespace EasyWeChatClient
             
         }
 
-        void CommonMethodCallBackHandlers_ReceivedMsgAnalyseMsgCompleted(WeChatCore.Entity.MsgEntity obj)
+        void CommonMethodCallBackHandlers_ReceivedMsgAnalyseMsgCompleted(MsgEntity obj)
         {
             
         }

+ 1 - 1
sample/EasyWeChatClient/EasyWeChatClient/Properties/Resources.Designer.cs

@@ -19,7 +19,7 @@ namespace EasyWeChatClient.Properties {
     // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
     // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
     // (以 /str 作为命令选项),或重新生成 VS 项目。
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
     [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
     internal class Resources {

+ 1 - 1
sample/EasyWeChatClient/EasyWeChatClient/Properties/Settings.Designer.cs

@@ -12,7 +12,7 @@ namespace EasyWeChatClient.Properties {
     
     
     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")]
     internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
         
         private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));