Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i use visual studio 2010, vb.net, mvc3.
i want to use @Scripts.Render("~/Content/theme-cs")
and i have added references system.web.optimization.
but i cant create that code, and i dont know why...

so, i try like this
@System.Web.Optimization.Styles.Render("~/Content/theme-css")

thats good and see well,,, but when i run, there is error :
Could not load file or assembly 'WebGrease, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.


What I have tried:

i have searched in google. but i dont know what i must to do.
i am beginner.
please helm me....
Posted
Updated 17-Sep-16 10:32am
v2
Comments
[no name] 17-Sep-16 15:03pm    
"The system cannot find the file specified." is perfectly clear. Which word did you not understand?
bejos3519 17-Sep-16 15:16pm    
what i must to do for the system can find the file specified..?
because i think do well... i have added references system.web.optimization.
and why the system cant find it ?

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900