在开发中,常会遇到各种各样的问题.或许是环境的问题,或许是使用问题.以下是本人在开发过程中遇到的一些问题总结.
(一).用vs打开项目是出现"vs2008无法打开项目文件E:/project/Hsalesat/website/wesite.csproj”.此安装不"如果是这个提示
解决方法:
出现该问题可能是由于你安装mssql是否导致的 问题,请运行: devenv.exe /resetskippkgs 即可恢复.
(二).vs2008开发的目标程序是2.0的,但是生成的安装程在安装的时候出现需要.net framework 3.5
解决方法如下:
By default a setup project in VS2008 will want to include the 3.5 redistributable. You need to switch that to the 2.0 redistributable. Try the following
Your setup project should have a folder called "Detected Dependencies" when viewed in Solution Explorer. One of the values will be "Microsoft .Net Framework". Double click on that node which will open up the "Launch Conditions" page. There will be a node in the tree named ".Net Framework". Select that and hit F4 to bring up the properties window.
In the Properties window there will be a row named "Version" with the value 3.5.XXX. This is a combo box. Switch it to the 2.0.50727 value