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

Edited 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.

**Update**

Ofcourse I meant CurrentAppDomain.GetAssemblies() instead of Assembly.GetReferencedAssemblies()

Viewing all articles
Browse latest Browse all 525

Trending Articles