Skip to content

DLLs in output folder are not loaded when compiling razor view #80

@mastoj

Description

@mastoj

This might be something by design, but I think this should be fixed. I started playing with simple.web last week and one of the things I wanted to setup was js and css optimization like the one for regular MVC. To do that in a useful way I need to use a helper from another assembly in the view, and it turns out I can't do that since the assemblies that are loaded are only the ones specified by the types of the model or the handler when compiling the razor view.

My suggestion is to load all the assemblies that is in the output folder when compiling the razor view so it is possible to use helper methods from other assemblies than just the ones specified by the model, handler or the project assembly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions