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

Commented Unassigned: 2.0.1 Load precompiled views from all referenced assemblies [110]

$
0
0
Instead of doing
```
assembly.GetTypes()
```
there should be a like of
```
foreach (var assemblyName in assembly.GetReferencedAssemblies()) {
// load types from assemblyName
}
```
That way you can simply reference assemblies with precompiled views and forget about the hassle.
Comments: Yes indeed, this method does load referenced assemblies eagerly. I meant to write CurrentAppDomain.GetAssemblies() instead, my bad :)

Viewing all articles
Browse latest Browse all 525

Trending Articles



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