Skip to content

Assembly load issue #848

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

Closed
girish-a opened this issue Aug 18, 2015 · 3 comments
Closed

Assembly load issue #848

girish-a opened this issue Aug 18, 2015 · 3 comments

Comments

@girish-a
Copy link

I have a class library(Package) in which I have some RazorEngine 3.7.0 code which parses a template.

When I invoke the Parse() method on the library from a unit test, it works, but when I call it from a web API, I get the error "Could not load file or assembly 'System.Web.Razor, Version=3.0.0.0."

Not sure why this is happening.

I saw this StackOverflow discussion and thought it might be a similar issue:

http://stackoverflow.com/questions/29007962/how-can-i-diagnose-missing-dependencies-or-other-loader-failures-in-dnx/29161703#29161703

But even when I cleaned up all the packages and runtime folders, reinstalled dnvm and ran a restore, the issue persists.

I have uploaded the code sample to this repo - you should be able to replicate the problem with this code sample:
https://github.com/girish-a/try

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

@davidalpert
Copy link

davidalpert commented Dec 31, 2017 via email

@davidalpert
Copy link

davidalpert commented Dec 31, 2017 via email

ryanbrandenburg pushed a commit that referenced this issue Nov 26, 2018
[auto-updated: dependencies]
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants