I'm creating a class library project that will contain some ViewComponents. It is nice that VS 2015 can automatically produce the NuGet package for me, but is there any way that I can make it include content files like .cshtml view files that my ViewComponents will need?
Previously I've done packaging with batch files and nuspec files to make it include content, will I have to continue that approach or is there a way to tell VS 2015 about content files to include?
Copy the . nupkg file to a local folder. Add the folder to your package sources using the nuget sources add -name <name> -source <path> command (see nuget sources). Note that you need only set this local source once on any given computer.
Open your Visual Studio application. On the Tools menu, select Options. Expand the NuGet Package Manager and select Package Sources. Click the Add button (green plus), and enter the 'Package Name' and 'Package Source URL' of the Syncfusion ASP.NET Web Forms NuGet packages.
nuspec file is an XML manifest that contains package metadata. This manifest is used both to build the package and to provide information to consumers. The manifest is always included in a package. In this topic: General form and schema.
Create a class library project. Add a new . NET class library project named "StringLibrary" to the solution. Right-click on the solution in Solution Explorer and select Add > New Project.
Not doable as yet. The feature will be in beta7
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With