Forum Discussion
Pre Build Action in Windows Application Project
scoban Getting this error
Severity Code Description Project File Line Suppression State
Error PRI175: 0x8007000b - Processing Resources failed with error: An attempt was made to load a program with an incorrect format. AppSystem.Wap GENERATEPROJECTPRIFILE 1
Package format selected is neutral.
abhisinghal Thats not enough to go off of, do you have a sample project I can look at? Try building for x86/x64 instead?
- abhisinghalApr 23, 2020Copper Contributor
scoban Tried with that too but no change.
PFA a simple sample project where the error is thrown when creating the package.
Please advise.
- scobanApr 23, 2020
Microsoft
abhisinghal I was able to successfully package that app with a more recent version of Visual Studio and even tried with a slightly older version. Try deleting your bin/obj folders (Clean the project).
Did you see the error with the sample project as well?
- abhisinghalApr 23, 2020Copper Contributor
scoban Yes I did see that with the sample project before uploading it here.
Cleaned and built again and saw the same error again.
Just to make sure, I am building for Microsoft Store with the following options:
Here is my Visual Studio about box:
Pl advise.
Thanks