Render razor view to string without munging the html

后端 未结 1 1340
被撕碎了的回忆
被撕碎了的回忆 2021-01-21 07:39

I\'ve previously found answers on how to render an MVC 4 view to a string. However, I started using Visual Studio 2013 and now the result is not as expected. Se

1条回答
  •  情歌与酒
    2021-01-21 08:11

    This is actually a bug I ran into during the summer, see bug report and response from Microsoft here bug and workaround. Good news is that according to MS it should be fixed when VS2013 is released.

    Workaround is to disable the browser link feature see here browser link feature

    0 讨论(0)
提交回复
热议问题