Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

When we run web.cmd from output folder of kpm pack, we get 'The system cannot find the path specified.' #470

Closed
balachir opened this issue Jul 24, 2014 · 1 comment
Assignees
Milestone

Comments

@balachir
Copy link

WTE.10723

  1. New ASP.NET vNext Web Application (StarterWeb template)
  2. Publish to File System, to a path like : C:\PublishOut1
    Here is the command line that we invoke:
    "C:\Users\balach.kre\packages\kre-svr50-x86.1.0.0-alpha3-10163\bin\kpm.cmd" pack --runtime "C:\Users\balach.kre\packages\kre-svr50-x86.1.0.0-alpha3-10163" --out "C:\Users\balach\AppData\Local\Temp\ProjectKPublish\StarterWeb2--1810352212" --appfolder wwwroot --overwrite
  3. Open cmd prompt, cd C:\PublishOut1
  4. Run web.cmd

ACTUAL

The system cannot find the path specified.

image

This is the issue : web.cmd should be @"%~dp0approot\packages instead of @"%~dp0packages to get the location of klr.exe

image

EXPECTED
Server to start fine

@davidfowl davidfowl added the bug label Jul 29, 2014
@davidfowl davidfowl added this to the 1.0.0-alpha3 milestone Jul 29, 2014
@davidfowl
Copy link
Member

Looks like a regression @ChengTian

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants