Making the PJS.Bootstrap theme work with Orchard 1.10.x
The PJS.Bootstrap theme, along with several other themes and modules doesn't work when combined with Orchard 1.10.x, with the orchard-debug-YYYY-MM-DD.log files generated in ~/App_Data/Logs containing errors along the lines of:
2017-08-19 15:25:05,822 [8] Orchard.Environment.DefaultBuildManager - Default - WARN Error when compiling assembly under ~/Themes/PJS.Bootstrap/PJS.Bootstrap.csproj.
System.Web.HttpCompileException (0x80004005): c:\PATH_TO_ORCHARD\orchard\Themes\PJS.Bootstrap\Handlers\BootstrapThemeSettingsPartHandler.cs(8): error CS0246: The type or namespace name 'UsedImplicitly' could not be found (are you missing a using directive or an assembly reference?)
The solution seems to be as simple as tweaking the referenced file (BootstrapThemeSettingsPartHandler.cs) to remove the UsedImplicitly attribute decorating the class. I've got a forked version on GitHub at https://github.com/robertwray/PJS.Bootstrap. This makes a couple of other tweaks that I found when searching to see if anyone else had this issue, where a fixed version was present at https://bitbucket.org/Lombiq/pjs.bootstrap-hg/src/. As the people that have made those updates seem to know what they're doing, I've taken their tweaks as well, especially as they seem to be relatively minor tweaks.
The release notes for Orchard 1.10 call out the fact that "JetBrains annotations has been removed":
If your modules were using some of these attributes you will need to remove them or to include them back into your projects.