F5打开运行,如下:
复制保存如下指令:
编译:cmd /k C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:"$(CURRENT_DIRECTORY)\$(NAME_PART).exe" "$(FULL_CURRENT_PATH)" & PAUSE & EXIT
运行:cmd /c "$(CURRENT_DIRECTORY)\$(NAME_PART).exe" &PAUSE
编译且运行:cmd /K C:\windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /t:exe /out:$(NAME_PART).exe $(FULL_CURRENT_PATH) && $(NAME_PART).exe & PAUSE & EXIT
结果如下:
时间: 2024-10-08 14:34:09