Skip to content
Permalink
Browse files

[Rendering] Properly register Xenko.Rendering in AssemblyRegistry (fixes

 #409 and fixes #410)
  • Loading branch information
xen2 committed Mar 13, 2019
1 parent 559f0c4 commit 7be25ab4aceae0a017f133aa495527afa015bdf3
Showing with 17 additions and 0 deletions.
  1. +17 −0 sources/engine/Xenko.Rendering/Module.cs
@@ -0,0 +1,17 @@
// Copyright (c) Xenko contributors (https://xenko.com)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Reflection;
using Xenko.Core;
using Xenko.Core.Reflection;

namespace Xenko.Rendering
{
internal class Module
{
[ModuleInitializer]
public static void Initialize()
{
AssemblyRegistry.Register(typeof(Module).GetTypeInfo().Assembly, AssemblyCommonCategories.Assets);
}
}
}

0 comments on commit 7be25ab

Please sign in to comment.
You can’t perform that action at this time.