No exe file generated during release mode in Visual Studio 2022
-
Hi,
I'm currently stuck in deploying my QT 6.5 project using Visual Studio 2022. My QT Widgets project compiles with no errors and I've set the build to Release x64. However, in my project folder, I do not see any generated exe files in the release folder.
What I've noticed:
When I pull down the configuration manager, I see that the Deploy square radio button is greyed out and only the Build button is checked off. I'm not sure why the deploy button is greyed out. Not sure if this is an issue(?)In the Output windows during the release build process, the final output is:
1>MyDeviceApp.vcxproj -> C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== ========== Rebuild started at 2:24 PM and took 11.258 seconds ==========
So this looks like it built correctly. However, when I go into the folder, I don't see the exe. Instead, I notice that there's a file labelled: MyDeviceApp.exe.recipe
If anyone has any insight on this, I would definitely appreciate the help/direction in how to remedy this issue.
Regards,R
-
Hi,
I'm currently stuck in deploying my QT 6.5 project using Visual Studio 2022. My QT Widgets project compiles with no errors and I've set the build to Release x64. However, in my project folder, I do not see any generated exe files in the release folder.
What I've noticed:
When I pull down the configuration manager, I see that the Deploy square radio button is greyed out and only the Build button is checked off. I'm not sure why the deploy button is greyed out. Not sure if this is an issue(?)In the Output windows during the release build process, the final output is:
1>MyDeviceApp.vcxproj -> C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== ========== Rebuild started at 2:24 PM and took 11.258 seconds ==========
So this looks like it built correctly. However, when I go into the folder, I don't see the exe. Instead, I notice that there's a file labelled: MyDeviceApp.exe.recipe
If anyone has any insight on this, I would definitely appreciate the help/direction in how to remedy this issue.
Regards,R
Hi and welcome to devnet,
Any chances you have an anti-virus running that nukes executable files created on your machine ?
-
Hi and welcome to devnet,
Any chances you have an anti-virus running that nukes executable files created on your machine ?
Hi,
Thank you for the reply. I only have the built-in Windows 10 Security installed and nothing else. I just did a quick check by deactivating the Virus & threat protection settings and then doing a > clean > rebuild and its still producing the .exe.recipe file and not .exeSo far, no luck :(
-
Hi and welcome to devnet,
Any chances you have an anti-virus running that nukes executable files created on your machine ?
I'm able to open the exe.recipe file with Code, the following is the exact output:
<?xml version="1.0" encoding="utf-8"?> <Project> <ProjectOutputs> <ProjectOutput> <FullPath>C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe</FullPath> </ProjectOutput> </ProjectOutputs> <ContentFiles /> <SatelliteDlls /> <NonRecipeFileRefs /> </Project>
?
-
I'm able to open the exe.recipe file with Code, the following is the exact output:
<?xml version="1.0" encoding="utf-8"?> <Project> <ProjectOutputs> <ProjectOutput> <FullPath>C:\repository\MyDeviceApp\x64\Release\MyDeviceApp.exe</FullPath> </ProjectOutput> </ProjectOutputs> <ContentFiles /> <SatelliteDlls /> <NonRecipeFileRefs /> </Project>
?
@solid-snake
If you keep a File Explorer window open onC:\repository\MyDeviceApp\x64\Release
I don't suppose you see anything come and go?If you capture the full, detailed output can you see what steps are/are not being performed?
-
Ok, its been resolved. The VS project apparently created a subfolder:
If you right-click in the solutions explorer window to open the project folder, I was directed here:
C:\repository\MyDeviceApp\MyDeviceApp\x64\Release\
Where its actually located:
C:\repository\MyDeviceApp\x64\Release\
VS released it in x64 one level up.
So the VS output dialog was correct, but I had assumed the open file directory within the solution explorer would take me to the correct Release folder. ugh.
Thank you again SGaist!
R. -
@solid-snake
If you keep a File Explorer window open onC:\repository\MyDeviceApp\x64\Release
I don't suppose you see anything come and go?If you capture the full, detailed output can you see what steps are/are not being performed?
@JonB
Hi, sorry for the late reply. I'm limited to 10 mins between each response but what you suggested was what I did use for the two different folders and one of them did populate as noted.Thank you again.
-
S solid snake has marked this topic as solved on