Other target Framework than 1.1/2.0

Packages and compresses schema and contents of SQL Server databases

Moderators: JonathanWatts, Chris Auckland, David Atkinson, david connell, Anu Deshpande, Michelle Taylor, james.billings, Marianne

Other target Framework than 1.1/2.0

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

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
dannyyy
 
Posts: 1
Joined: Mon Feb 14, 2011 3:20 pm

Postby james.billings » Tue Feb 15, 2011 4: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...
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Packager 6

Who is online

Users browsing this forum: No registered users and 0 guests