Search code examples
asp.netnugetasp.net-core-mvc

Nuget Packages with content in ASP.net 5


I have a couple packages that include content files (an example would be the wurfl package for getting device data from a user agent, it includes it's database file in the nuget package marked as content).

When adding these packages in an asp.net 5 setting, the content doesn't get added anywhere.

Where or how do I get at the content of these nuget packages added to my solution?


Solution

  • http://blog.nuget.org/20150729/Introducing-nuget-uwp.html

    Deprecated Features

    Starting with NuGet 3.1 when using project.json, we are deprecating support for executing the install.ps1/uninstall.ps1 scripts and delivering elements in the /content folder of packages. Installing packages that have these elements will not execute the install.ps1 file and will not copy content to your project.

    Read the link for more on why...