I have a C# webforms project running in .net 4.6. When I try and publish in debug I get the following error :-
Unknown server tag 'webopt:bundlereference'.
This tag appears in my master page as the following: -
<webopt:bundlereference runat="server" path="~/Styles/css" />
It seems to compile okay, the error only appears when I try to publish