none
unresolved external symbol __CorDllMain@12 RRS feed

  • Frage

  • A couple of weeks ago, I sent this error which occured when compiling a Visual Studio 2010 dll with VS 2017. You requested a repro directory and  - with a delay (I do apologize!) this directory was sent to the forum. I cannot find this thread in the forum anymore and do not remember to whose attention repro.zip was sent (1st of march is the file creation date). I certainly caused the deleting of the thread by my delayed response. Would you kindly inform me how the still existing problem could be solved. Meanwhile, Visual Studio 2010 brings up a problem with a Windows-SDK header (my last post) and  I think it is time now to proceed with  VS 2017. I do have Repro.zip and will send the file in case it is no longer available with you.

    Peter Rudloff

    Dienstag, 26. März 2019 09:21

Antworten

  • Hallo,

    du brauchst die mscoree.dll . Diese befindet sich zum Beispiel im .NET Framework. Normalerweise reicht ein Update des .NET Frameworks.

    Gruß Guido


    für VS2010 brauchst du möglicherweise ein altes framework: http://www.chip.de/downloads/c1_downloads_18033068.html
    • Bearbeitet Guido Franzke Dienstag, 26. März 2019 10:26 link
    • Als Antwort markiert Peter Rudloff Donnerstag, 28. März 2019 10:12
    Dienstag, 26. März 2019 10:24

Alle Antworten

  • Hallo,

    du brauchst die mscoree.dll . Diese befindet sich zum Beispiel im .NET Framework. Normalerweise reicht ein Update des .NET Frameworks.

    Gruß Guido


    für VS2010 brauchst du möglicherweise ein altes framework: http://www.chip.de/downloads/c1_downloads_18033068.html
    • Bearbeitet Guido Franzke Dienstag, 26. März 2019 10:26 link
    • Als Antwort markiert Peter Rudloff Donnerstag, 28. März 2019 10:12
    Dienstag, 26. März 2019 10:24
  • Danke für den Hinweis

    Die mscoree.dll in system32 und syswow64 ist von 15.September 2018 und das aktuelle .Net (4.7) ist installiert.

    Vielleicht hilft die Warning vor dem genannten Link error:
    Warning    LNK4098    defaultlib 'ucrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library   

    Dienstag, 26. März 2019 12:17
  • Danke Guido, es war die Lösung! Ich mußte lediglich noch die mscoree.lib zum Linker Input hinzufügen!
    Donnerstag, 28. März 2019 10:16