2016-02-01 30 views

回答

3

请看看最后一个答案在 http://forums.asp.net/t/2061764.aspx?VS2015+claims+it+does+not+support+interpolated+strings

Found the answer here if anyone else has the same problem. It looks like the Roslyn compiler for Web Site project types is not icluded with VS2015 and must be downloaded separately. See: http://blogs.msdn.com/b/webdev/archive/2014/05/12/enabling-the-net-compiler-platform-roslyn-in-asp-net-applications.aspx

我希望它可以帮助你。

+2

只有链接的答案是不鼓励的,因为链接死亡或随时间而改变。这些网站的指示应该被复制到这个答案中。 – mbomb007

1

我试了一切!直到这工作。我删除了从NuGet安装的两个软件包。他们两个都来自微软,一个是Roslyn软件包,另一个是编译器。当我将这些内容从我的项目中删除时,所有关于插入字符串的错误都消失了。我在运行Visual Studio 2017

所以期待通过您的包裹并移除不需要(也许剩下的从旧体制就像我)......

我希望这可以帮助别人。