Last post May 16, 2016 10:43 AM by bbcompent1
May 16, 2016 09:07 AM|ay1585|LINK
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!
May 16, 2016 10:43 AM|bbcompent1|LINK
As I understand it, it at one time was a hard requirement because VS compiler is inside Visual Studio; however, you could try something called MSBuild from GitHub located at
https://github.com/microsoft/msbuild and I say try it because I personally have not tried it myself but it seems some others have success using it: