I have a DLL from a vendor, and I'd like to use it in my .cshtml files. I can't see where you add references to assemblies in Webmatrix though...or am I missing the point completely?
Create a bin folder in your site and copy it to there. WebMatrix doesn't provide a way to add references in the same way as VS. You need to add a using statement at the top of the CSHTML file:
@using MyThirdParty.Component;
No, you are not missing the point. I can see users of WebMatrix wanting to play with iTextSharp or similar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With