F5打开运行,如下:
复制保存如下指令:
编译:cmd /k C:WindowsMicrosoft.NETFrameworkv4.0.30319csc.exe /out:"$(CURRENT_DIRECTORY)$(NAME_PART).exe" "$(FULL_CURRENT_PATH)" & PAUSE & EXIT
运行:cmd /c "$(CURRENT_DIRECTORY)$(NAME_PART).exe" &PAUSE
编译且运行:cmd /K C:windowsMicrosoft.NETFrameworkv4.0.30319csc.exe /t:exe /out:$(NAME_PART).exe $(FULL_CURRENT_PATH) && $(NAME_PART).exe & PAUSE & EXIT
结果如下: