I have Windows application in csproj in my solution, and I want generate Publish using command line (bat, cmd).
My script is (I put
for better reading):
SET MSBUILD="%SystemRoot%Microsoft.NETFrameworkv3.5MSBuild.exe"
SET CARWIN="....Security.CarWin.csproj"
rem msbuild para publish
%MSBUILD% /target:rebuild;publish %CARWIN%
/p:ApplicationVersion="1.0.0.0"
/p:Configuration=release
/p:PublishUrl="C:ClickOnceCarWin.WebInstallPublicacion"
/p:InstallUrl="http://desserver/carwinclickonce/Publicacion/"
/p:PublishDir="C:ClickOnceCarWin.WebInstallPublicacion"
note: I'll try too using /target:publish
But in path PublishDir or PublishUrl (C:ClickOnceCarWin.WebInstallPublicacion) not generates any files.
I have seen many posts in this site and google but I not found any solution.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…