Skip to content

Solved the problem with the System.Web.Razor couldn't be found.#4

Open
fredrikn wants to merge 5 commits intoWebApiContrib:masterfrom
fredrikn:master
Open

Solved the problem with the System.Web.Razor couldn't be found.#4
fredrikn wants to merge 5 commits intoWebApiContrib:masterfrom
fredrikn:master

Conversation

@fredrikn
Copy link
Contributor

Added a comment in the web.config:

  <!--<dependentAssembly>
    <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  </dependentAssembly>-->

Merge from the main project
When removing the dependecny assemboy System.Web.Razor from the
web.config, it solved the problem. May be a conflict between the GAC and
the files referenced. At least the sample project works now.
… a bug.

There is a bug probably in the RazorEngine, a temporary workaround is
added to solve the current issue so the sample site will work.
@JonKragh
Copy link

Thanks for this workaround!

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

Successfully merging this pull request may close these issues.

2 participants