Other target Framework than 1.1/2.0

dannyyydannyyy Posts: 2
edited February 15, 2011 10:36AM in SQL Packager Previous Versions
Hi,

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.

http://www.danflash.com/files/code/Original.resx
http://www.danflash.com/files/code/New.resx

Thank you in advance for any assistances.
Danny

Comments

  • 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...
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.