简体   繁体   中英

VB.NET project upgrade VS2005 to VS2008

I have a VB.NET 2.0 project developed using VS2005 Free Edition and I am considering to upgrade it to VS2008 FE, mainly because I have problems once per year, whenever my Temporary Certificate expires .

I was wondering if you can point to some resources describing in what parts of the code I should pay attention after the upgrade. My project uses only two external components ( zipforge and objectlistview ) and I am not using any databases, in case this information is of any use to your answers.

Try to open your project in VS2008, the wizard will ask you whether you want to convert your project, you hit yes, then point - to create backup, and show log after conversion. At the end wizard will show you conversion results. If any error will occur, you'll be able to clearly see its location. then it will be up to you if you want to upgrade project to .NET 3.5 version, but if no - fine, VS 2008 has .NET 2.0 support as well.

If you want to stick with the .NET 2.0 framework once you upgrade to 2008, click on My Project in the Solution Explorer, select the Compile tab, Advanced Complile Options button, Target Framework drop down box. If you don't do this, the project defaults to using the latest framework, 3.5, which could cause problems when you deploy upgraded exes if you inadvertantly start using 3.5 only features and your target PCs don't have 3.5 installed. Changing this option before you start making changes to your source prevents you using 3.5 only features.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM