Question :
How to store the output “dxe” in the desired location when building the project?
Answer:
Set the output path for a DXE via the 'Output prefix' field in the Artifact tab. Follow the below steps to accomplish.
1. Right-click on project and choose Properties.
2. Go under C/C++ Build, under Settings.
3. Click on the Build Artifact tab.
4. On "Output prefix", enter the directory that want to contain the built file (including a trailing slash).
Simply put in a relative path, like "..\..\testfolder\loc\". Refer screenshot for reference.
Note that the specified folder must already exist. The tools will not create a new folder, and the build process will fail if the directory specified does not exist.
After setting this up, proceed to build the project, and the output file (.dxe) will be generated in the designated directory.
Re-create system.svc