Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

t4mvc, cannot resovle symbol "MVC"

i just switched from vs2010 to vs2012, and installed t4mvc. now. all my links are stop working.

return RedirectToAction(MVC.Admin.Food.AdminAdded());

I will get cannot resolve symbol MVC.

@Links.Content.images.btn_save_changes_png

I will get cannot resolve symbol Links.

i have no idea how to fix it, pleaes help me, thank you.

like image 815
qinking126 Avatar asked Dec 12 '25 16:12

qinking126


1 Answers

Can you make sure that T4MVC is generating its files? Try right clicking the .tt file and choosing 'Run Custom Tool', which should force the generation.

If the files are generated, you should be able to look at them to make sense of why they don't match your references.

like image 99
David Ebbo Avatar answered Dec 15 '25 23:12

David Ebbo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!