Questions tagged [kpm]

K Package Manager manages packages needed by applications to run. Packages in this context are NuGet packages.

ASP.NET vNext comes with new runtime environment called KRE. Besides KRE that runs ASP.NET vNext applications there are also tools for managing KRE versions and NuGet packages that application uses. This posting gives you quick overview about K-world components and explains shortly how to use them.

K has three components:

  • KRE – K Runtime Environment is the code required to bootstrap and run an ASP.NET vNext application. This includes things like the compilation system, SDK tools, and the native CLR hosts.
  • KVM – K Version Manager is for updating and installing different versions of KRE. KVM is also used to set default KRE version.
  • KPM – K Package Manager manages packages needed by applications to run. Packages in this context are NuGet packages.

Sourced from Gunnar Peipman's blog: ASP.NET 5: What are KRE, KVM, KPM?

10 questions
6
votes
1 answer

Restore bower components on Visual Studio build

I've just created my first ASP.NET 5 MVC 6 project in VS 2015. The web application project that comes out of the box. I figured out that bower components are stored in wwwroot/lib folder. I made an experiment and deleted it. After that I rebuilt the…
Andrzej Gis
  • 13,706
  • 14
  • 86
  • 130
2
votes
1 answer

c# class library using dnx will not run without dnx451

I am creating a POC to see how hard it would be to create our c# library projects, using the new DNX build approach. I installed VS 2015 and am running on: dnu --version 1.0.0-beta4-11566. My c# libraries still need to support .net 4.0, however I…
Patrick
  • 345
  • 2
  • 14
2
votes
1 answer

Dependencies from git

I'm playing a bit with the new Microsoft.AspNet.Identity but the 3.0.0-beta2 looks very different from the current state of affairs in git. I'd like to build against he git version. I seem to remember hearing that it possible to reference a git…
stimms
  • 42,945
  • 30
  • 96
  • 149
2
votes
1 answer

Unable to locate Remotion.Linq >= 2.0.0-alpha-002

I have updated my KRE to beta-11087. Running kpm restore on my project gives such a error : 'Unable to locate Remotion.Linq >= 2.0.0-alpha-002'. Is there anyone who has the same issue?
Mike
  • 3,766
  • 3
  • 18
  • 32
1
vote
1 answer

How to install MySql packages for Asp.Net 5.0 on Ubuntu?

I'm trying to connect to MySql from Asp.Net 5.0 MVC project on Ubuntu 14.04. I managed to get a connection following this example on the mono site. Now I have an MVC project created using the asp.net yo generator. I have included System.Data and…
Jack Vial
  • 2,354
  • 1
  • 28
  • 30
0
votes
1 answer

ASP.NET 5: kpm can't locate EntityFramework.Sqlite and Microsoft.Data.Sqlite packages

I'm trying to use SQLite in an ASP.NET 5 website, but I'm having trouble with EntityFramework.Sqlite and Microsoft.Data.Sqlite packages. The kpm restore command is giving me: C:\Users\jerom\Documents\Visual Studio…
Jérôme MEVEL
  • 7,031
  • 6
  • 46
  • 78
0
votes
1 answer

Is it appropriate to use KPM and dotnet cli tooling side by side?

I'm in the process of experimenting with migrating to an ASP.net 4.6 site to DNX. At the time of writing it's early days for the tooling in general. I've read that dotnet cli aims to replace KRE, KVM, KPM. However is it appropriate to use kpm along…
Alex KeySmith
  • 16,657
  • 11
  • 74
  • 152
0
votes
0 answers

k package manager - discovering packages

I am playing with ASP.NET 5. As part of that effort, I'm learning about the k package manager. I have my project.json file with a number of packages and everything is working. However, now I need to figure out what other packages I can use. I'm…
xam developer
  • 1,923
  • 5
  • 27
  • 39
0
votes
1 answer

How to properly kpm cache clean?

I'm trying to use ASP.NET 5 and their new command line tools (kpm, kvm, etc) on my Mac (OSX 10.10.1) but I'm having problems with kpm install. The install generally works fine, except when a new version of a package was just published, kpm says it…
Chris Montgomery
  • 2,344
  • 2
  • 19
  • 30
0
votes
1 answer

Is there a way to specify the NuGet package ID when running 'kpm build'?

When running kpm build against a project folder, the project.json metadata for the following fields is transferred to the output .nupkg file: Version Authors Description However, there does not seem to be a way to override the package ID or title…
Ant P
  • 24,820
  • 5
  • 68
  • 105