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

编程入门 行业动态 更新时间:2024-10-28 20:30:23
本文介绍了奇怪的ASP.Net错误: 4.6.1,VS2015-不支持插值字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

Strange ASP.Net Error (WebForms): 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>

推荐答案

请在以下网址查看最后一个答案 forums.asp/t/2061764.aspx?VS2015 + claims + it + does + not + support + interpolated + strings

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

如果其他人也有同样的问题,请在这里找到答案.它看起来像Roslyn针对网站项目类型的编译器一样与VS2015一起使用,必须单独下载.看: blogs.msdn/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

本文发布于:2023-11-12 19:34:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582336.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:奇怪   错误   ASP   Net   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!