When it's released will I still be able to create WebDeploy-compatible packages? Currently I do it like
msbuild my.csproj /t:Package
If there is an equivalent how will it look like? Can I deploy the package to non-IIS hosts?
Update: (thanks to @Victor Hurdugaci !)
kpm
becomes available after installing kvm
and then doing kvm upgrade
. Then, kpm bundle
fails:
'grunt' is not recognized as an internal or external command, operable program or batch file. The 'prepare' script failed with status code 1.
OK, it's broken for the moment but what are the promises? Will we get cross platform packages? WebDeploy compatibility? Cannot google anything.
The command that will create a deployable bundle is:
kpm bundle --runtime <name of runtime>
Example:
kpm bundle --runtime kre-coreclr-win-x64.1.0.0-beta3
The runtime is optional. Don't specify it if the environment where you deploy already has the K Runtime.
If you have the latest VS 2015 (CTP6), kpm should be available on the PATH
. If not, follow the instruction on the Home repo
要解决“无法识别'grunt'”错误,请在命令提示符下运行以下命令:
npm install -g grunt-cli
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.