create a build package for a .sln without VS RRS feed

  • Question

  • User122796761 posted

    Hi All,

    I want to create a build package which contains dll, contents like views,css,images etc.

    Considering that my server/machine doesn't contain VS and VS Developer Command Prompt, I want to use Windows Command Prompt.

    Tried the below two commands from Command Prompt but no luck 

    msbuild C:\SourceCode\SourceCodeTool.sln /p:DeployOnBuild=true /p:PublishProfile=MyProfile
    MSBuild "C:\SourceCode\SourceCodeTool.sln" /T:Package /P:Configuration=test;PackageLocation="C:\Documents\msbuild\output\Package.zip"

    Could you please suggest how to achieve this?

    Thanks in advance!

    Monday, May 16, 2016 9:07 AM