ASP.NET MVC Bundled CSS missing in Nuget package


I have a site that is built using version 4 of .NET MVC and the CSS file is being bundled. When I use Octopack to package up the build files in TeamCity everything seems to work well and the site is deployed as expected. However, the CSS is not present so the site looks plain. Has anyone else had experience of this and if so can you share how you solved the problem with bundling?


Hi Gareth,

Thanks for getting in touch. Is it possible that you dont have the Build Action property of your css file set to Content? You need to have it set to content for Octopack to pick it up and pack it on the right path inside your package. See attached screenshot for better reference

Best regards,