'DotNet command for building and generating zip file on mac machine
Can anyone help me with the .net command for building and generating zip file.
I am trying to run below command on mac machine.
dotnet build ManageWebAppSourceControl.csproj /nologo /p:PublishProfile=Release /p:PackageLocation="" /p:OutDir="./package/bin" /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /maxcpucount:1 /p:platform="Any CPU" /p:configuration="Release" /p:DesktopBuildPackageLocation="./package/package.zip"
It is building and generating the dlls under package folder but it's not generating the zip file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|