bootstrap-select icon indicating copy to clipboard operation
bootstrap-select copied to clipboard

Added files packing rules for 'contentFiles\' for .NET Core and .NET 5.0+ Support

Open changhaitravis opened this issue 2 years ago • 0 comments

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! 👍

changhaitravis avatar Aug 05 '22 22:08 changhaitravis