随笔分类 -  visual studio

摘要:The problemI had this problem in Visual Studio 2005 and now I have it in Visual Web Developer 2008 express edition where when debugging a web application using the development web server the dynamic port number used by the server didn’t match what Visual Studio had used for the web browser. It was a 阅读全文
posted @ 2011-04-06 10:00 闭着眼睛想 阅读(346) 评论(0) 推荐(0)
摘要:在vs 2008中通过输入porp ,自动生成的代码段不是vs2005 中的格式,而是 public int MyProperty { get; set; }这种定义方式是c# 3.0的新特性:自动属性(Automatic Properties),但在.net 2.0的项目中不支持自动属性。因此我们需要新建一个代码段。1 新建一个propc.snippet文件,内容如下: [代码]2 拷贝此文件到... 阅读全文
posted @ 2009-10-24 12:33 闭着眼睛想 阅读(523) 评论(0) 推荐(0)