- Highlight the binary files, right click on them, and click Properties in the context menu
Set artifacts to copy on build - Set the Copy to Output Directory of the files to Copy Always
Set Copy to Output Directory to Copy Always - Update the solution by adding partial classes for each feature file with attributes
- Update the step files to fall back to the appropriate file path. This has to be done because the copied file will be placed in the root of the folder in the TestResults directory created by MSTest.
Done. MSTest now correctly works from the command line.
May your code compile fully optimized.
May your code compile fully optimized.