惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
GbyAI
GbyAI
WordPress大学
WordPress大学
月光博客
月光博客
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
博客园 - 司徒正美
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
Blog — PlanetScale
Blog — PlanetScale
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
L
LangChain Blog
腾讯CDC
T
The Blog of Author Tim Ferriss
量子位

博客园 - 夏狼哉

.Net framework 的浏览器定义文件 Windows按名称排序问题 IE的文档模式, 及Textarea呈现bug一例 SilverLight与WCF服务双工通讯第二篇:Net.Tcp binding SilverLight与WCF服务双工通讯第一篇:PollingDuplexHttpBinding SilverLight通过Net.TCP(NetTCPBinding)方式调用WCF服务 WCF与Asp.Net Web Application的深度整合方法 C#与Outlook交互收发邮件 分布式版本控制系统Mercurial(二):web server的架设 分布式版本控制系统Mercurial(一):Mercurial基本功能介绍 C#将汉字转换为拼音首字母 nbsp空格 在网络上共享条码打印机 WCF身份验证之二:使用MessageHeader进行验证 WCF身份验证之一:使用证书进行验证 Windows CE 5.0 Emulator [条码打印]使用斑马语言(ZPL)打印汉字 C#打印条码与ZPL 应用程序在网络上通信的实现(C#)
VS2010 targetFramework 错误
夏狼哉 · 2011-04-28 · via 博客园 - 夏狼哉

今天偶然在一个项目中发现var关键字附近被标记了语法错误, 一看提示:

Feature 'implicitly typed local variable' cannot be used because it is not part of the ISO-2 C# language specification

嗯? 我的项目明明一直是.net 3.5来着, 想了想, 大约是因为前几天我把项目从file system切换到iis时, vs推断framework出了故障, 于是用记事本打开.sln文件, 发现如下一行:

image

把最后那个2.0 改成3.5, vs要求重新加载解决方案, reload一下, ok了.