Skip to content

Commit

Permalink
[1.1.0.0] AIVoice update
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyssesWu committed Jul 15, 2021
1 parent 49a9c7b commit 0a8e79e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AI.Framework.App.XmlSerializers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[assembly: AssemblyTitle("AI.Framework.App.XmlSerializers")]
[assembly: AssemblyDescription("VOICeVIO RemoteControl API")]
[assembly: AssemblyConfiguration("AIVoice v1.0.3.0")]
[assembly: AssemblyConfiguration("AIVoice v1.1.0.0")]
[assembly: AssemblyCompany("VOICeVIO")]
[assembly: AssemblyProduct("VOICeVIO RemoteControl API")]
[assembly: AssemblyCopyright("Copyright © VOICeVIO 2021")]
Expand All @@ -18,5 +18,5 @@

// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: XmlSerializerVersion(ParentAssemblyId = "b03badc4-15d7-42fa-9ef0-f2867ad7f6bc,", Version = "4.0.0.0")] //GUID is Module's version
[assembly: AssemblyFileVersion("2.0.1.0")]
[assembly: XmlSerializerVersion(ParentAssemblyId = "cd580d87-a715-4747-abda-4a408e08fa75,", Version = "4.0.0.0")] //GUID is Module's version
6 changes: 6 additions & 0 deletions AI.Framework.App.XmlSerializers/XmlSerializerContract.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Reflection;
using System.Threading;
using System.Xml.Serialization;
using AI.Talk.Editor;
using AI.Talk.Editor.Api;
Expand Down Expand Up @@ -27,6 +28,11 @@ public override bool CanSerialize(Type type)

public bool TryStartHost()
{
if (SynchronizationContext.Current == null)
{
return false;
}

FieldInfo remoteServiceHostField = null;
foreach (var fieldInfo in typeof(MainPresenter).GetFields(BindingFlags.NonPublic | BindingFlags.Instance))
{
Expand Down

0 comments on commit 0a8e79e

Please sign in to comment.