none
One of dev machine gives this error 2>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(268,9): error MC1000: Unknown build error, 'Could not load file or assembly 'file:///C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewor RRS feed

  • Question

  • In one of dev machines, it gives the following error.

    2>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(268,9): error MC1000: Unknown build error, 'Could not load file or assembly 'file:///C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.1\Facades\System.Threading.Tasks.dll' or one of its dependencies. The module was expected to contain an assembly manifest.' 

    What is wrong with the dev machine?  The project builds fine on other machines.

    Thanks,

    Peter

    Tuesday, June 12, 2018 5:21 AM

All replies

  • Hi Peter Ho,

    Thank you for posting here.

    For your question, what is the platform? X64 or x86?

    It sounds like your assembly which you loaded is compiled for x86 and you are running on an x64 process.

    Or maybe you are using a different .net framework assembly with your target .NET Framework. Please check it.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Monday, June 18, 2018 8:25 AM
    Moderator