Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Issue: Custom tool error: Unable to load one or more of the requested types. [96]

$
0
0
I'm getting the following error in VS when I save my cshtml helpers. The generated file is deleted also.
```
Error 2 Custom tool error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

```

I've recently moved to VS2012, and this is the first time I have edited my helpers since. Any ideas?
Comments: Found problem source: HostManager.IsMvcProject: if (content.IndexOf("System.Web.Razor, Version=2.0.0.0", StringComparison.OrdinalIgnoreCase) != -1) I don't have reference to System.Web.Razor assembly. I think we should check System.Web.Mvc assembly version too if System.Web.Razor reference not found. As a workaround I added reference to System.Web.Razor assembly

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>