Reputation: 11885
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.
Upvotes: 3
Views: 455
Reputation: 43193
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.
Upvotes: 1
Reputation: 2620
try clearing the VS caches and update to the latest build of ReSharper.
the caches are located at
C:\Documents and Settings\Administrator\Local Settings\Temp\VWDWebCache
and possibly here
C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\WebsiteCache
REF:How do you clear your Visual Studio cache on Windows Vista?
Below are listed some helpful links:
May be its a KNOWN ISSUE which has been RESOLVED
Upvotes: 0