CodePlex MSBuild Tasks - usr & pwd in proj file?

Apr 12, 2014 at 2:12 AM
Edited Apr 12, 2014 at 2:15 AM
In the CodePlex MSBuild Tasks docs it says
include this directly in your .csproj file
and then shows an element that contains a username and password
<PropertyGroup>
    ...
    <User>User</User>
    <Password>Password</Password>
</PropertyGroup>
I don't understand this. The .csproj will be checked in to CodePlex for all to see.
Apr 14, 2014 at 3:52 AM
I ended up using MSBuild property command line switch to pass in the usr and pwd to the script
msbuild create-release.proj /target:CreateRelease /p:UserName=codeplex-username /p:Password=codeplex-password 
It would be nice if the Tasks docs showed this command line switch and advised against putting the usr and pwd in the *.csproj files.