Search code examples
vb.net.net-1.1downgrade

Backporting a VB.Net 2008 app to target .Net 1.1


I have a small diagnostic VB.Net application ( 2 forms, 20 subs & functions) written using VB.Net 2008 that targets Framework 2.0 and higher, but now I realize I need to support Framework 1.1. I'm looking for the most efficient way to accomplish this given these constraints:

  • I don't know which parts of the application are 2.0-specific.
  • I could reconstruct the forms without too much trouble.
  • I need to support SharpZipLib

My current idea is to find and install VB.Net 2003, copy over my code and iteratively re-create the tool. Are there better options?


Solution

  • Your app sounds small enough that I would create a fresh project/solution in a separate folder for the 1.1 framework, copy over the necessary files, use the "Add Existing Item" option, and then build. All the problems will bubble up to the surface that way.

    A rather "ugly" approach, but it'll show you everything you need to fix up front.