gpt4 book ai didi

asp.net - 奇怪的 ASP.Net 错误 : .net 4.6.1,VS2015 - 不支持内插字符串?

转载 作者:行者123 更新时间:2023-12-01 12:30:01 25 4
gpt4 key购买 nike

奇怪的 ASP.Net 错误(WebForms):.net 4.6.1, VS2015

Error BC36716 Visual Basic 12.0 does not support interpolated strings.

不知道为什么我会得到这个。为什么在VS2015下报VB 12.0?

  <system.web>
<compilation debug="true" strict="true" explicit="true" targetFramework="4.6.1"/>
<httpRuntime targetFramework="4.6.1"/>
</system.web>

最佳答案

请查看最后的答案 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

希望对您有所帮助。

关于asp.net - 奇怪的 ASP.Net 错误 : .net 4.6.1,VS2015 - 不支持内插字符串?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35127022/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com