Skip to content

Commit

Permalink
Add external types to AssemblyInfo.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytra committed Jul 14, 2024
1 parent 84d16df commit cd414f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ProjectObsidian/ProjectObsidian.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>Project-Obsidian</AssemblyName>
<TargetFramework>net48</TargetFramework>
<LangVersion>11</LangVersion>
<Copyright>Copyright © 2023</Copyright>
<Copyright>Copyright © 2024</Copyright>
<Product>Project-Obsidian</Product>
</PropertyGroup>
<PropertyGroup>
Expand Down
10 changes: 9 additions & 1 deletion ProjectObsidian/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
//------------------------------------------------------------------------------

using System;
using System.Net;
using System.Reflection;
using Newtonsoft.Json.Linq;

using Elements.Core;

Expand All @@ -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)]
[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))]

0 comments on commit cd414f0

Please sign in to comment.