現在、Razor Generator を Web アプリケーションで動作させようとしています。このチュートリアルに従っていますhttp://stacktoheap.com/blog/2013/01/19/precompiling-razor-views-in-asp-dot-net-mvc-3/
プロジェクトで多くのエラーが発生しました。
The call is ambiguous between the following methods or properties: 'System.Web.Mvc.Html.PartialExtensions.Partial(System.Web.Mvc.HtmlHelper, string, object)' and 'System.Web.Mvc.Html.PartialExtensions.Partial(System.Web.Mvc.HtmlHelper, string, object)'
そしてまた
The type or namespace name 'UIStrings' does not exist in the namespace 'Resources' (are you missing an assembly reference?)
UIStrings は、文字列を含む単なるリソース ファイルです。
</span>@Resources.UIStrings.ViewOptionsText</span>
また、オンにしましMVCBuildViews
たが、これらのエラーは、Razor Generator をインストールするまで存在しません。なぜこれらのエラーが発生するのか、私は迷っているようです。