Other target Framework than 1.1/2.0

Forum for users of SQL Packager database archive utility

Other target Framework than 1.1/2.0

Postby dannyyy » Mon Feb 14, 2011 2:36 pm


We want to generate automatically an executable to give our customer a friendly way to install the database.

Our software projects are in .NET 3.5 / 4.0 and accordingly we use VS 2008 / 2010. But we have left the template project on 2.0.
As soon as we change anything on the GUI in the templeate project which is distributed by RegGate the application can't be run anymore in graphical mode. At first an exception happen that Console.WriteLine use a false handle. (Sure, we are in graphical mode). The internal switch 'consoleMode' doesn't work.
At second, when all Console.WriteLines are fixed the real exception appears. The resource file (*.resx) would not be language neutral. The real problem is, newer version of Visual Studio creates a more modern version of the resource files which can't be read at runtime.

Look at the two examples I have linked. First the original one. The second the one which was generated by adding a new labels and textboxes to the form.


Thank you in advance for any assistances.
Posts: 1
Joined: Mon Feb 14, 2011 2:20 pm

Postby james.billings » Tue Feb 15, 2011 3:36 pm

Thanks for your post.

I'm not quite sure what you mean, could you explain a little more?

I created a C# Project using packager, and opened it up in VS2008. This prompted to upgrade the project which I did. It ran fine. I could add extra controls to the form and it still worked, ok, and I also upgraded the project target to 3.5 - it still ran fine.

Are you integrating the C# project into another solution, and that's where it fails? If you can clarify the steps you're taking I'll see if I can find anything out...
Posts: 1122
Joined: Wed Jun 16, 2010 10:10 am
Location: Red Gate

Return to SQL Packager Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests