Skip to content

Assembly Information Displayed in MVC4 Views #7

@MisterJames

Description

@MisterJames

Using precompiled views and the ApplicationPartRegistry with RazorGenerator (from CodePlex) and MVC4, there is a string of the assembly information that is displayed when the view is rendered in the host. I don't see the string in an MVC3 project.

I am building the view DLLs in a separate project altogether. The text that is displayed invariably looks something like the following:
, MyProject.ViewDllName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=

It is just output as plain text in line, not rendered in a tag of any kind, and always right before the HTML of the view is rendered/output. There's nothing before the , at the start nor after the = at the end

This is true of full ActionResults and views that are rendered via calls to RenderPartial. If I decompile the source of the view in the DLL, there does not seem to be any statements that would output this text.

Do you have any ideas as to what might be causing this text to be output?

Thanks in advance,
MisterJames

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions