After my test, this problem does exist. But you can avoid it by the following methods:
1: Right-click the project and select Properties.
2: In the Debug tab, manually set the Start External Program path to the compiled file, for example:
Set to bin\Debug\WpfAppDebug.exe for Debug configuration
Set to bin\Release\WpfAppRelease.exe for Release configuration