Added files packing rules for 'contentFiles\' for .NET Core and .NET 5.0+ Support #2770
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi bootstrap-select team:
One of my coworkers wanted a have a nice bootstrap themed override for the default browser handling of <select> dropboxes, and we selected your project, however we've recently transitioned to .NET 5.0 and 6.0 and found that your project is one of the ones that only target .NET 4.x and older's style. With the new project layout we'd appreciate the automagic copy to /wwwroot/*/ like how (twitter) bootstrap actual does it, so I reverse engineered the relevant lines from their bootstrap's nuspec file as seen on github and added it to bootstrap-select's.
.NET Core and 5.0+ automatically copy over content files to, as opposed to earlier which copies to 'content'
https://docs.microsoft.com/en-us/nuget/reference/nuspec#including-content-files
I haven't tried running nuget pack on my branch and importing it into one of our projects yet, but I plan to do so sometime next week, but I wanted to get the PR in earlier, in case someone is able to get it tested and confirmed good before I can.
Make sure to target the
dev
branch! 👍