Project won't build on someone elses computer.

Gavin Williams 761 Reputation points
2021-09-23T06:12:52.797+00:00

I have a C++ Universal Windows project that builds and runs on my system, and also on another laptop. But when I send it to my teacher, he is getting the following error:

The BaseOutputPath/OutputPath property is not set for project .... Please make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Release' Platform='x64' etc.

A very weird difference is that in my VS, the project is a Universal Windows project and on his system the brackets after the project say it's a Windows Store 10.0 project. I've never seen that before. Maybe it's relevant to the issue.

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,856 Reputation points
    2021-09-23T07:25:13.76+00:00

    Hello, Welcome to Micorosoft Q&A,

    The BaseOutputPath/OutputPath property is not set for project .... Please make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Release' Platform='x64' etc.

    Derive from your the error info, it looks you have not specific debug configuration for your project. UWP Projects do not support AnyCPU, please make sure your configuration manager is set up correctly.

    Open your project configuration manager -> check the build and deploy check options. and set the platform as x86 or x64 like the following.
    134498-image.png. For more info please refer to Understand build configurations document.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.