Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Windows Store Plugin creation

Discussion in 'Windows' started by iamvishnusankar, Sep 23, 2013.

  1. iamvishnusankar


    Aug 5, 2013
    I've written a .NET4.5 C# Plugin using WindowsStore Class library and successfully build it. When I tried to add it on <MyUnityProject>/Plugin/Win folder, It says internal compiler error.

    I had the same result when I compiled the plugin using Visual C# .NET4.5 class library (Not using the Windows store class). But , Everything worked fine when I build it using .NET3.5 framework.

    This is the error I'm getting when I try to add my Windows Store plugin to unity project

    Internal compiler error. See the console log for more information. output was:
    Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

    at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

    at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0

    at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in <filename unknown>:0

    at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0

    at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0

    at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0

    at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0

    at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

    Please Help me in resolving this
  2. Tomas1856


    Unity Technologies

    Sep 21, 2012
    Windows Store Apps plugins should be placed in Assets\Plugins\Metro
  3. iamvishnusankar


    Aug 5, 2013

    Ahhh!!! Working!!! I missed a piece of cake in rush . . You brought it to me !! Thanks a lot :)