开发者

Is there a way for VS2010's devenv.exe /out switch to replace an existing log file?

开发者 https://www.devze.com 2023-03-16 11:48 出处:网络
When building using the Visual Studio 2010 devenv command line, the /out switch will append to the file if it e开发者_如何学JAVAxists.

When building using the Visual Studio 2010 devenv command line, the /out switch will append to the file if it e开发者_如何学JAVAxists.

Is there a way to force it to overwrite the file contents instead?

I'm trying to avoid needing an additional pre-build step to delete the file before automated builds.


I had the some problem, but the official MS documentation does not offer a solution for this. So I guess the answer to your question would be no.

Why do you want to avoid a pre-build step?


Have you tried /Rebuild instead?

0

精彩评论

暂无评论...
验证码 换一张
取 消