奇怪的ASP.Net错误:.net 4.6.1,VS2015-不支持插值字符串? [英] Strange ASP.Net Error: .net 4.6.1, VS2015 - interpolated strings not supported?

查看:58
本文介绍了奇怪的ASP.Net错误:.net 4.6.1,VS2015-不支持插值字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Strange ASP.Net Error (WebForms): .net 4.6.1, VS2015

错误BC36716 Visual Basic 12.0不支持插值字符串.

Error BC36716 Visual Basic 12.0 does not support interpolated strings.

不知道我为什么要这么做.为什么要在VS2015下报告VB 12.0?

No clue why i'm getting this. Why is it reporting VB 12.0 under VS2015?

  <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

Please look at the last answer at http://forums.asp.net/t/2061764.aspx?VS2015+claims+it+does+not+support+interpolated+strings

如果其他人也有同样的问题,请在这里找到答案.它看起来像Roslyn针对网站项目类型的编译器一样与VS2015一起使用,必须单独下载.看: http://blogs.msdn.com/b/webdev/archive/2014/05/12/enabling-the-net-compiler-platform-roslyn-in-asp-net-applications.aspx

希望它能为您提供帮助.

I hope it can help you.

这篇关于奇怪的ASP.Net错误:.net 4.6.1,VS2015-不支持插值字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆