2

I am trying to setup a deploy script to do a publish of our website rather than have to open VS to do a deploy/publish.

When i do a publish via VS it will include all referenced assemblies correctly however when I do it via the command line it will not. I am at a lose for what I am missing

My MSBuild command is:

msbuild "myproject.csproj" /T:Package;ResolveReferences /P:Configuration=Debug
/P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:CreatePackageOnPublish=True    
/P:MSDeployPublishMethod=RemoteAgent /P:WebProjectOutputDire="PreCompiled"
KMoraz
  • 14,004
  • 3
  • 49
  • 82
Derik Whittaker
  • 832
  • 1
  • 7
  • 10

0 Answers0