none
Known Issue: Error: An assembly with the same simple name 'Windows.Graphics.Printing3D.Printing3DContract' has already been imported. (Windows SDK and tools for Windows 10, version 1511) RRS feed

  • Question

  • When you compile a Windows Store Apps with the Windows SDK and tools for Windows 10, version 1511, you get the following error:

    Severity                Code      Description         Project  File         Line        Suppression State

    Error                     An assembly with the same simple name 'Windows.Graphics.Printing3D.Printing3DContract' has already been imported. Try removing one of the references (e.g. 'C:\Program Files (x86)\Windows Kits\10\References\Windows.Graphics.Printing3D.Printing3DContract\1.0.0.0\Windows.Graphics.Printing3D.Printing3DContract.winmd') or sign them to enable side-by-side.

    Monday, November 30, 2015 9:17 PM
    Moderator

Answers

  • To fix this problem, replace the Windows Desktop Extension for the UWP 10.0.10240.0 with the extension provided with the latest Windows SDK. 

    Steps:

    1. Right Click on your project name in Visual Studio’s Solution Explorer.
    2. Choose Add->Reference…
    3. Select Universal Windows from the Add Reference Dialog
    4. Click on Extensions

    In the “Filtered to” list,

    1. Uncheck the extension Windows Desktop Extension for the UWP 10.0.10240.0 from your project.
    2. Check the extension Windows Desktop Extension for the UWP 10.0.10586.0 to your project.
    Monday, November 30, 2015 9:18 PM
    Moderator