milcore.dll missing from my system?

Hi guys, I'm finally getting around to playing with WPF. I created the simplest possible app that is just supposed to show a window and uses the simplest possible msbuild file. It compiles and builds 100% fine.

But when I run it, I end up with a DLLNotFoundException triggered by a missing milcore.dll file. My dev box has the following software on it,
  1. WinFX Runtime Componenets (Sept CTP)
  2. WinFX SDK (Sept CTP)
  3. C# Express Beta 2 (Although I'm currently just building everything from the cmd line)
I've searched my machine for milcore.dll and I can't find it. Searching the web for a solution has also turned up a blank.

Any ideas

Thanks.


Answer this question

milcore.dll missing from my system?

  • Iliya

    Well I can confirm that placing the missing files manually into the system32 folder at least gets XamlPad running without the NullReferenceException. So it's a problem with the installer for the September CTP. Don't know if I should bother logging a bug for it seeing as a new CTP will be out in a fe weeks.

  • raskal

    If all you are missing is milcore.dll then copying that over will solve the problem. However, there are several other files that go in system32 along with milcore, plus if you don't have this DLL it means setup didn't completely succeed, so there may be other things missing. Just for more info, please take a look at your system32 directory and see if you can find the following DLLs there:

    WindowsCodecsExt.dll
    UIAutomationCore.dll
    PresentationCFFRasterizerNative.v6.0.5070.dll
    PresentationNative.v6.0.5070.dll
    PresentationHost.exe
    WindowsCodecs.dll

    If all of those are there then perhaps you aren't in such bad shape. Certainly copying milcore.dll over will not cause any problems, so you can safely try that and see what happens.


  • canelo

    Hi Leonardo, I just uninstalled everything (SDK and runtime components) and started afresh. The install goes smoothely with no errors. I looked in my %SystemRoot%\system32 directory and there is no milcore.dll there (Maybe I should point out that I'm running Server 2003, which as far as I know is a WinFX supported platform).

    Do you think me manually inserting a copy of the dll will help


  • wenchiwang

    Thanks Leonardo,

    The only files from that list in my system32 folder are...

    PresentationNative.v6.0.5070.dll
    PresentationHost.exe
    PresentationCFFRasterizerNative.v6.0.5070.dll
    UIAutomationCore.dll

    So it looks like I can confirm that I'm missing

    milcore.dll
    WindowsCodecs.dll
    WindowsCodecsExt.dll

    Whats scary is that, like I said, the install process does not report any errors at all and says that the installation was succesful



  • nnnath

    hello,
    i'm having the same problem...
    where can i get the missing dlls
    thx

  • Jan Stranik

    milcore.dll installs with the WinFX Runtime Components and should be in your %SystemRoot%\system32 directory. If you don't find the DLL there then your installation was somehow incomplete.

  • milcore.dll missing from my system?