I ended up using msbuild to publish my ClickOnce projects:
%msbuild% project.csproj /t:clean,publish /p:Configuration="Release" /p:ApplicationRevision=%REVISION% /p:ApplicationVersion=%VERSION%.* /p:PublishDir=%publishrootdir%\Release
Start folder is set to the folder the csproj file resides in.
|