Pergunta

I'm trying to add the following to my ASP.Net solution. I installed it using the nuget package "Install-Package Combres.Mvc"

so far I'm not having the best luck with it as I keep getting the following error

'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Combres' and no extension method 'Combres' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)

I also followed the advice of this link... and got same error:/

I'd like to make use of some compression & combination tool/framework so I'm hoping someone has any experience with this

Foi útil?

Solução

I scrapped the whole combress/casette route after a few failed attempts. I read up a bit and saw that Asp.Net MVC 4 supports bundles/combining & compressing natievly. Which worked quite well for me.

Outras dicas

Do you have

<%@ Import Namespace="Combres" %>

On the top of the page to include the Combres namespace?

For more information (and the Razor syntax) you can also look at: http://combres.codeplex.com/wikipage?title=5-Minute%20Quick%20Start&referringTitle=Home

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top