Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mastoj opened this issue Sep 25, 2013 · 0 comments
Open

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

mastoj opened this issue Sep 25, 2013 · 0 comments
Assignees
Milestone

Comments

@mastoj
Copy link
Contributor

mastoj commented Sep 25, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants