New Feature: Compatibility with Unity3d 5.4+

Offen
#1,375 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
csharp, unity
Bereich
game-dev, tooling

Rechercherichtung

Es werden keine Repository-Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, den gemeldeten Unity3d 5.4+ OSX-Fehler aus der ReflectionTypeLoadException und der v17 DLLNotFoundException zu reproduzieren, und untersuche anschließend die angeforderte Kompatibilität des Unity-Pakets; als abgeschlossen gilt die Aufgabe, wenn das Paket in den angegebenen Unity-Umgebungen erfolgreich installiert und geladen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I could not get Unity3d 5.4 OSX to work correctly with this project. I did not try Unity3d Windows. It would be a great feature to be able to use a Unity3D package to just install it in a project. I can see that there would be many Unity3d Editor plugins that could be made to take advantage of the libgit2sharp project.

From the latest branch v22:

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 :0
at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in :0
at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in :0
at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in :0
at Mono.CSharp.Driver.LoadReferences () [0x00000] in :0
at Mono.CSharp.Driver.Compile () [0x00000] in :0
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

Missing method .ctor in assembly /Users/mike/Projects/TestLibGit2Again/Assets/Plugins/Release/LibGit2Sharp.dll, type System.Runtime.Versioning.TargetFrameworkAttribute
The class System.Runtime.Versioning.TargetFrameworkAttribute could not be loaded, used in LibGit2Sharp
Can't find custom attr constructor image: /Users/mike/Projects/TestLibGit2Again/Assets/Plugins/Release/LibGit2Sharp.dll mtoken: 0x0a00000a

From the branch v17:
I got DLLNotFoundExceptions.

Vorherrschende Sprache
C#
Sterne
3.5k
Forks
925
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus libgit2/libgit2sharp

Alle Issues in libgit2/libgit2sharp

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.