I had a bizarre issue with my code not working with a new version of a CAD software's API. It seemed to be fixed after running windows 10 program compatibility troubleshooter.https://support.microsoft.com/en-gb/help/15078/windows-make-older-programs-compatible on visual studios. The only issue is, it only works from running it through that and clicking the test program button. If i pick the "yes it worked save settings" option then close the visual studios that was launched through test and open it again as i normally would, i have the same old issue. I thought i could try to manually make the changes that might be made but the program does not offer a "compatibility" tab in properties. Any suggestion why this might be the case or better yet, how i can manually and permanently apply the fix that running it in test mode seems to.
Note: I left out details about the initial problem of it not working with the API as its probably not helpful. One exception might be that the compiled .exe visual studios produces does not work when created outside of vs launched by test, but it does work if you put it on the desktop folder. Put it on a sub-folder in the desktop or anywhere else and it breaks.