visual studio 2017 on windows 11 for iot core x86 uwp app development

Ketan SHAH 0 Reputation points
2024-12-31T17:29:21.2133333+00:00

Hi,

I was using visual studio 2017 community on win 10 pro host m/c.

I am learning uwp app development on windows 10 iot core x86 image running in virtual box. My development interest is only 32bit Embedded products only.

Recently due to the resource crunch ,I have a new m/c running windows 11 pro edition and I have successfully shifted everything on windows 11 from my old setup of win 10.

After building uwp apps I can not deploy and debug the same from windows 11 m/c to running IoT core Image ( x86) on virtual box. I am getting the error DEP6721: Failed to deploy packages. The system cannot find the path specified. (Exception from HRESULT: 0x80070003)

If I do the same from another m/c running vs 2017 on win 10 to IoT core x86 image running on VirtualBox win 11 , It works fine.

Due to the x86 IoT core images are not supported for remote devices ,I can not use VS2019 or the latest VS2022. I have to use only VS2017 on win 11.

I also tried the same with IoT core x64 image running on VirtualBox , It works fine (from vs 2017 on win 11 pro).

This means VS 2017 installation is okay for x64 related work but giving error only for x86 images.

I also tried WinAppDeployCmd --> gives the same error.

I also compared the env variable and path for win 10 and win 11 m/c --> can not find any thing meaningful .

Please help.

Thanks,

Ketan

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Harry Vo (WICLOUD CORPORATION) 405 Reputation points Microsoft External Staff
    2025-08-11T03:31:24.4133333+00:00

    Hi @Ketan SHAH ,

    My name is Harry, Support Engineer who specialize in UWP (Universal Windows Platform). Thank you for reaching out on Microsoft Q&A!

    Based on your question, there are 3 situations:

    • Windows 10 works with IoT Core x86
    • Windows 11 works with IoT Core x64
    • Windows 11 does not work with IoT Core x86.

    To narrow the investigation, please compare the SDK version or any extensions, framework version in Visual Studio between 2 version (Window 11 and Window 10) to ensure that everything match and nothing missing.

    You mentioned that WinAppDeployCmd returns the same error. Can you please try again but with all 3 situations I mention above, using the update command which will create a log file at C:\temp\deploy.log:

    WinAppDeployCmd install -file <pathtoyourapp.appx> -ip <IoTdeivceIP> -log C:\temp\deploy.log -verbose
    

    Also, you can log the visual studio by running this command in Developer Command Prompt:

    devenv.exe /log C:\temp\vsdeploy.log
    

    I hope this can help you detect the cause of your issue!

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.