From cd414f0ee7e714283e16d9ae538d5d8af8fff050 Mon Sep 17 00:00:00 2001 From: Nytra <14206961+Nytra@users.noreply.github.com> Date: Sun, 14 Jul 2024 02:07:02 +0100 Subject: [PATCH] Add external types to AssemblyInfo.cs --- ProjectObsidian/ProjectObsidian.csproj | 2 +- ProjectObsidian/Properties/AssemblyInfo.cs | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ProjectObsidian/ProjectObsidian.csproj b/ProjectObsidian/ProjectObsidian.csproj index 339892e..f7b1f11 100644 --- a/ProjectObsidian/ProjectObsidian.csproj +++ b/ProjectObsidian/ProjectObsidian.csproj @@ -4,7 +4,7 @@ Project-Obsidian net48 11 - Copyright © 2023 + Copyright © 2024 Project-Obsidian diff --git a/ProjectObsidian/Properties/AssemblyInfo.cs b/ProjectObsidian/Properties/AssemblyInfo.cs index 251da04..3734633 100644 --- a/ProjectObsidian/Properties/AssemblyInfo.cs +++ b/ProjectObsidian/Properties/AssemblyInfo.cs @@ -9,7 +9,9 @@ //------------------------------------------------------------------------------ using System; +using System.Net; using System.Reflection; +using Newtonsoft.Json.Linq; using Elements.Core; @@ -25,4 +27,10 @@ // Generated by the MSBuild WriteCodeFragment class. //Mark as DataModelAssembly for the Plugin loading system to load this assembly -[assembly: DataModelAssembly(DataModelAssemblyType.Core)] \ No newline at end of file +[assembly: DataModelAssembly(DataModelAssemblyType.Core)] + +[assembly: ExternalDataModelType(typeof(Valve.VR.Imu_OffScaleFlags))] +[assembly: ExternalDataModelType(typeof(HttpStatusCode))] +[assembly: ExternalDataModelType(typeof(JObject))] +[assembly: ExternalDataModelType(typeof(JToken))] +[assembly: ExternalDataModelType(typeof(JArray))] \ No newline at end of file