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

KPM Pack should generate a web.config #677

Closed
glennc opened this issue Sep 30, 2014 · 3 comments
Closed

KPM Pack should generate a web.config #677

glennc opened this issue Sep 30, 2014 · 3 comments
Assignees
Milestone

Comments

@glennc
Copy link
Member

glennc commented Sep 30, 2014

The native module needs to find a bootstrapper assembly that will kick off the KRE. When packing an app we should generate/merge some web.config values to help find them. It would look like this:

<appSettings>
  <add name="kpm-package-path" value="../appdata/packages" /> <!-- OPTIONAL -->
  <add name="bootstrapper-version" value="1.0.3" />

  <add name="kre-package-path" value="../appdata/packages" />  <!-- OPTIONAL -->
  <add name="kre-version" value="1.0.3" />
  <add name="kre-clr" value="CLR|CoreCLR" />
</appSettings>

The names may change, but this is all the information that's required.

@davidfowl
Copy link
Member

Some of that information looks suspect compared to the k.ini. Can you be explicit about what each property is used for?

@glennc
Copy link
Member Author

glennc commented Oct 3, 2014

See: https://github.com/aspnet/Home/wiki/DesignNote-Native-Module-Bootstrapping

The top section is to find the bootstrapper, the bottom section for the bootstrapper to find the KRE

@davidfowl
Copy link
Member

The application base is missing. That's pretty fundamental to this all working

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