Skip to content
New issue

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

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

Already on GitHub? # to your account

ViewBag strings in MVC4 #31

Open
collmemaybe opened this issue Oct 18, 2012 · 1 comment
Open

ViewBag strings in MVC4 #31

collmemaybe opened this issue Oct 18, 2012 · 1 comment

Comments

@collmemaybe
Copy link

I'm assuming this could be a problem with MVC4. When outputting a string using

${ViewBag.Message}

I get this exception:

[RuntimeBinderException: The call is ambiguous between the following methods or properties: 'System.IO.TextWriter.Write(string, params object[])' and 'System.IO.TextWriter.Write(char[])']
CallSite.Target(Closure , CallSite , TextWriter , Object ) +181
System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2(CallSite site, T0 arg0, T1 arg1) +450

@SamousPrime
Copy link

Discussion about this bug is here https://groups.google.com/forum/#!msg/spark-dev/SzsWmNEbMko/0quehkHuAmQJ .

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

No branches or pull requests

2 participants