私はunity3D 5で作業しています。そして私は外部をインポートしたい私のKinectDB.dll(entityframeworkで私のSQLサーバのdb機能を含みます)。。NET 4.5 framework)クラスライブラリを統一しました。しかし、ユニティコンソールは以下のようなエラーを表示します。私はこの問題を何時間も探しました。しかし、私は解決策を完了するために到達することはできません。これをどうすれば解決できますか?あなたのアドバイスは何ですか?前もって感謝します。Unity 5で.NET Framework 4.5を使用するには
ヒント:私は、.NET 3.5フレームワークとサンプルプロジェクトを作成しました。私はそれを単一性にインポートします。この場合、Unityは私にエラーを与えません。
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
Missing method .ctor in assembly -------\Assets\KinectDB.dll, type System.Runtime.Versioning.TargetFrameworkAttribute
The class System.Runtime.Versioning.TargetFrameworkAttribute could not be loaded, used in KinectDB
Can't find custom attr constructor image: Assets\KinectDB.dll mtoken: 0x0a00000e
このケースでは、webサービスを使用するのが適切ですか? – hkaraoglu
何をしているかによって異なります。 Webサービスはあまりにも遅すぎることもあります。他のものについては、彼らは大丈夫です。 – TomTom