cannot build photo editor sample, mdmerge.exe failed












0















Downloaded Cpp-Winrt PhotoEditor Sample from GitHub



Failed on Buld
1- Updated Nugget package for Win2D
2 -Retargeted project for latest SDK



No changes made just tried to build it out of the box.



Final lines of build where the error is



windows.system.profile.profilesharedmodecontract2.0.0.0windows.system.profile.profilesharedmodecontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract3.0.0.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.systemmanagementcontract6.0.0.0windows.system.systemmanagementcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.viewmanagement.viewmanagementviewscalingcontract1.0.0.0windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.xaml.core.direct.xamldirectcontract1.0.0.0windows.ui.xaml.core.direct.xamldirectcontract.winmd
1>C:Program Files (x86)Microsoft Visual Studio 2017 EnterpriseCommon7IDEVCVCTargetsMicrosoft.Windows.CppWinRT.targets(255,9): error MSB3075: The command "mdmerge.exe @D:DevelopmentProjectsSample PeojectsWinrtPhotoEditorWindows-appsample-photo-editor-masterx64DebugPhotoEditormdmerge.rsp" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "PhotoEditor.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



Any help much appreciated
Thanks










share|improve this question























  • Error code 5 translates to ERROR_ACCESS_DENIED. Have you tried what the error message told you? ("Please verify that you have sufficient rights to run this command.")

    – IInspectable
    Nov 13 '18 at 12:34











  • Sorry i forgot to mention. I already ran older copy of PhotoEditor with no issues, this is a fresh download from your github page. I run on this PC as Admin, and i never had to change any rights anywhere to get the old copy to build.

    – IkoLogs
    Nov 13 '18 at 18:30











  • Excuse me if am no expert on the tool chain behind Winrt, but other than running this on pc where i am admin, i am not sure what rights its asking for, and am not at this time trying to be an expert on the Winrt tool chain, just keeping it to sample code for now. And again i had no such issues last time i ran older version of same sample. And its unusual to download sample code thats giving rights errors

    – IkoLogs
    Nov 13 '18 at 18:33











  • Maybe someone who can help comes along thanks. The sample should build in Visual Stuido straight out of the box. And the older version i tried did just that. So why isnt this one. If you know what particular rights its looking for this time please explain if you are expert on Winrt tool chain, i am admin on this pc.

    – IkoLogs
    Nov 13 '18 at 18:36











  • Try running Process Monitor to find out, which operation fails and why. This will help you diagnose the issue.

    – IInspectable
    Nov 13 '18 at 19:37
















0















Downloaded Cpp-Winrt PhotoEditor Sample from GitHub



Failed on Buld
1- Updated Nugget package for Win2D
2 -Retargeted project for latest SDK



No changes made just tried to build it out of the box.



Final lines of build where the error is



windows.system.profile.profilesharedmodecontract2.0.0.0windows.system.profile.profilesharedmodecontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract3.0.0.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.systemmanagementcontract6.0.0.0windows.system.systemmanagementcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.viewmanagement.viewmanagementviewscalingcontract1.0.0.0windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.xaml.core.direct.xamldirectcontract1.0.0.0windows.ui.xaml.core.direct.xamldirectcontract.winmd
1>C:Program Files (x86)Microsoft Visual Studio 2017 EnterpriseCommon7IDEVCVCTargetsMicrosoft.Windows.CppWinRT.targets(255,9): error MSB3075: The command "mdmerge.exe @D:DevelopmentProjectsSample PeojectsWinrtPhotoEditorWindows-appsample-photo-editor-masterx64DebugPhotoEditormdmerge.rsp" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "PhotoEditor.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



Any help much appreciated
Thanks










share|improve this question























  • Error code 5 translates to ERROR_ACCESS_DENIED. Have you tried what the error message told you? ("Please verify that you have sufficient rights to run this command.")

    – IInspectable
    Nov 13 '18 at 12:34











  • Sorry i forgot to mention. I already ran older copy of PhotoEditor with no issues, this is a fresh download from your github page. I run on this PC as Admin, and i never had to change any rights anywhere to get the old copy to build.

    – IkoLogs
    Nov 13 '18 at 18:30











  • Excuse me if am no expert on the tool chain behind Winrt, but other than running this on pc where i am admin, i am not sure what rights its asking for, and am not at this time trying to be an expert on the Winrt tool chain, just keeping it to sample code for now. And again i had no such issues last time i ran older version of same sample. And its unusual to download sample code thats giving rights errors

    – IkoLogs
    Nov 13 '18 at 18:33











  • Maybe someone who can help comes along thanks. The sample should build in Visual Stuido straight out of the box. And the older version i tried did just that. So why isnt this one. If you know what particular rights its looking for this time please explain if you are expert on Winrt tool chain, i am admin on this pc.

    – IkoLogs
    Nov 13 '18 at 18:36











  • Try running Process Monitor to find out, which operation fails and why. This will help you diagnose the issue.

    – IInspectable
    Nov 13 '18 at 19:37














0












0








0








Downloaded Cpp-Winrt PhotoEditor Sample from GitHub



Failed on Buld
1- Updated Nugget package for Win2D
2 -Retargeted project for latest SDK



No changes made just tried to build it out of the box.



Final lines of build where the error is



windows.system.profile.profilesharedmodecontract2.0.0.0windows.system.profile.profilesharedmodecontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract3.0.0.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.systemmanagementcontract6.0.0.0windows.system.systemmanagementcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.viewmanagement.viewmanagementviewscalingcontract1.0.0.0windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.xaml.core.direct.xamldirectcontract1.0.0.0windows.ui.xaml.core.direct.xamldirectcontract.winmd
1>C:Program Files (x86)Microsoft Visual Studio 2017 EnterpriseCommon7IDEVCVCTargetsMicrosoft.Windows.CppWinRT.targets(255,9): error MSB3075: The command "mdmerge.exe @D:DevelopmentProjectsSample PeojectsWinrtPhotoEditorWindows-appsample-photo-editor-masterx64DebugPhotoEditormdmerge.rsp" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "PhotoEditor.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



Any help much appreciated
Thanks










share|improve this question














Downloaded Cpp-Winrt PhotoEditor Sample from GitHub



Failed on Buld
1- Updated Nugget package for Win2D
2 -Retargeted project for latest SDK



No changes made just tried to build it out of the box.



Final lines of build where the error is



windows.system.profile.profilesharedmodecontract2.0.0.0windows.system.profile.profilesharedmodecontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract3.0.0.0windows.system.profile.systemmanufacturers.systemmanufacturerscontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.system.systemmanagementcontract6.0.0.0windows.system.systemmanagementcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.viewmanagement.viewmanagementviewscalingcontract1.0.0.0windows.ui.viewmanagement.viewmanagementviewscalingcontract.winmd
1>Processing WinMD c:program files (x86)windows kits10references10.0.17763.0windows.ui.xaml.core.direct.xamldirectcontract1.0.0.0windows.ui.xaml.core.direct.xamldirectcontract.winmd
1>C:Program Files (x86)Microsoft Visual Studio 2017 EnterpriseCommon7IDEVCVCTargetsMicrosoft.Windows.CppWinRT.targets(255,9): error MSB3075: The command "mdmerge.exe @D:DevelopmentProjectsSample PeojectsWinrtPhotoEditorWindows-appsample-photo-editor-masterx64DebugPhotoEditormdmerge.rsp" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "PhotoEditor.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



Any help much appreciated
Thanks







c++-winrt






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 13 '18 at 8:30









IkoLogsIkoLogs

143




143













  • Error code 5 translates to ERROR_ACCESS_DENIED. Have you tried what the error message told you? ("Please verify that you have sufficient rights to run this command.")

    – IInspectable
    Nov 13 '18 at 12:34











  • Sorry i forgot to mention. I already ran older copy of PhotoEditor with no issues, this is a fresh download from your github page. I run on this PC as Admin, and i never had to change any rights anywhere to get the old copy to build.

    – IkoLogs
    Nov 13 '18 at 18:30











  • Excuse me if am no expert on the tool chain behind Winrt, but other than running this on pc where i am admin, i am not sure what rights its asking for, and am not at this time trying to be an expert on the Winrt tool chain, just keeping it to sample code for now. And again i had no such issues last time i ran older version of same sample. And its unusual to download sample code thats giving rights errors

    – IkoLogs
    Nov 13 '18 at 18:33











  • Maybe someone who can help comes along thanks. The sample should build in Visual Stuido straight out of the box. And the older version i tried did just that. So why isnt this one. If you know what particular rights its looking for this time please explain if you are expert on Winrt tool chain, i am admin on this pc.

    – IkoLogs
    Nov 13 '18 at 18:36











  • Try running Process Monitor to find out, which operation fails and why. This will help you diagnose the issue.

    – IInspectable
    Nov 13 '18 at 19:37



















  • Error code 5 translates to ERROR_ACCESS_DENIED. Have you tried what the error message told you? ("Please verify that you have sufficient rights to run this command.")

    – IInspectable
    Nov 13 '18 at 12:34











  • Sorry i forgot to mention. I already ran older copy of PhotoEditor with no issues, this is a fresh download from your github page. I run on this PC as Admin, and i never had to change any rights anywhere to get the old copy to build.

    – IkoLogs
    Nov 13 '18 at 18:30











  • Excuse me if am no expert on the tool chain behind Winrt, but other than running this on pc where i am admin, i am not sure what rights its asking for, and am not at this time trying to be an expert on the Winrt tool chain, just keeping it to sample code for now. And again i had no such issues last time i ran older version of same sample. And its unusual to download sample code thats giving rights errors

    – IkoLogs
    Nov 13 '18 at 18:33











  • Maybe someone who can help comes along thanks. The sample should build in Visual Stuido straight out of the box. And the older version i tried did just that. So why isnt this one. If you know what particular rights its looking for this time please explain if you are expert on Winrt tool chain, i am admin on this pc.

    – IkoLogs
    Nov 13 '18 at 18:36











  • Try running Process Monitor to find out, which operation fails and why. This will help you diagnose the issue.

    – IInspectable
    Nov 13 '18 at 19:37

















Error code 5 translates to ERROR_ACCESS_DENIED. Have you tried what the error message told you? ("Please verify that you have sufficient rights to run this command.")

– IInspectable
Nov 13 '18 at 12:34





Error code 5 translates to ERROR_ACCESS_DENIED. Have you tried what the error message told you? ("Please verify that you have sufficient rights to run this command.")

– IInspectable
Nov 13 '18 at 12:34













Sorry i forgot to mention. I already ran older copy of PhotoEditor with no issues, this is a fresh download from your github page. I run on this PC as Admin, and i never had to change any rights anywhere to get the old copy to build.

– IkoLogs
Nov 13 '18 at 18:30





Sorry i forgot to mention. I already ran older copy of PhotoEditor with no issues, this is a fresh download from your github page. I run on this PC as Admin, and i never had to change any rights anywhere to get the old copy to build.

– IkoLogs
Nov 13 '18 at 18:30













Excuse me if am no expert on the tool chain behind Winrt, but other than running this on pc where i am admin, i am not sure what rights its asking for, and am not at this time trying to be an expert on the Winrt tool chain, just keeping it to sample code for now. And again i had no such issues last time i ran older version of same sample. And its unusual to download sample code thats giving rights errors

– IkoLogs
Nov 13 '18 at 18:33





Excuse me if am no expert on the tool chain behind Winrt, but other than running this on pc where i am admin, i am not sure what rights its asking for, and am not at this time trying to be an expert on the Winrt tool chain, just keeping it to sample code for now. And again i had no such issues last time i ran older version of same sample. And its unusual to download sample code thats giving rights errors

– IkoLogs
Nov 13 '18 at 18:33













Maybe someone who can help comes along thanks. The sample should build in Visual Stuido straight out of the box. And the older version i tried did just that. So why isnt this one. If you know what particular rights its looking for this time please explain if you are expert on Winrt tool chain, i am admin on this pc.

– IkoLogs
Nov 13 '18 at 18:36





Maybe someone who can help comes along thanks. The sample should build in Visual Stuido straight out of the box. And the older version i tried did just that. So why isnt this one. If you know what particular rights its looking for this time please explain if you are expert on Winrt tool chain, i am admin on this pc.

– IkoLogs
Nov 13 '18 at 18:36













Try running Process Monitor to find out, which operation fails and why. This will help you diagnose the issue.

– IInspectable
Nov 13 '18 at 19:37





Try running Process Monitor to find out, which operation fails and why. This will help you diagnose the issue.

– IInspectable
Nov 13 '18 at 19:37












1 Answer
1






active

oldest

votes


















0














This issue is not resolved by the latest Winrt Update either. Only way to resolve is rollback winrt Nugget in Visual Studio.



As far as am aware, any Winrt project template will not build, until you go into Nugget and roll back your winrt version. I used the one just before the latest, builds fine.



Nugget saved the day.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53276780%2fcannot-build-photo-editor-sample-mdmerge-exe-failed%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This issue is not resolved by the latest Winrt Update either. Only way to resolve is rollback winrt Nugget in Visual Studio.



    As far as am aware, any Winrt project template will not build, until you go into Nugget and roll back your winrt version. I used the one just before the latest, builds fine.



    Nugget saved the day.






    share|improve this answer




























      0














      This issue is not resolved by the latest Winrt Update either. Only way to resolve is rollback winrt Nugget in Visual Studio.



      As far as am aware, any Winrt project template will not build, until you go into Nugget and roll back your winrt version. I used the one just before the latest, builds fine.



      Nugget saved the day.






      share|improve this answer


























        0












        0








        0







        This issue is not resolved by the latest Winrt Update either. Only way to resolve is rollback winrt Nugget in Visual Studio.



        As far as am aware, any Winrt project template will not build, until you go into Nugget and roll back your winrt version. I used the one just before the latest, builds fine.



        Nugget saved the day.






        share|improve this answer













        This issue is not resolved by the latest Winrt Update either. Only way to resolve is rollback winrt Nugget in Visual Studio.



        As far as am aware, any Winrt project template will not build, until you go into Nugget and roll back your winrt version. I used the one just before the latest, builds fine.



        Nugget saved the day.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 18 '18 at 1:13









        IkoLogsIkoLogs

        143




        143






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53276780%2fcannot-build-photo-editor-sample-mdmerge-exe-failed%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Hercules Kyvelos

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud