开发者

how to clean one projectfile with devenv?

How can I clean a single vc project file? I tried this:

devenv SolutionName.sln /Clean SolnConfigName The\Path\t开发者_JAVA百科o\the\FileToClean.vcproj

but it dosn't work. How can I do it? thanks


According to the MSDN reference for /Clean the syntax is:

devenv /clean SolnConfigName SolutionName [/project ProjName] [/projectconfig ProjConfigName]

For example:

devenv /clean Debug "C:\Documents and Settings\someuser\My Documents\Visual Studio\Projects\MySolution\MySolution.sln" /project "CSharpWinApp\CSharpWinApp.csproj" /projectconfig Debug


I replaced "The\Path\to\the\FileToClean.vcproj" with "FileToClean". Now it works

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜