Problems with InstallUtil on FW1.1

  • Thread starter Thread starter Giulio Petrucci
  • Start date Start date
G

Giulio Petrucci

Hi there,

I have to installa a Windows service on a machine which has only the
fw1.1 installed. I did the following:
- Create a WindowsService application (using the VisualStudio template);
- Create the ServiceInstaller;
- Imported a .dll in the solution (which is the logic of my application);
- Build the solution using MSBee to target with the fx1.1
- Run the InstallUtil.exe for the v1.1.etc of the framework...

....and got a System.BadImageFormatException.
Any suggestion?

Thanks in advance,
Giulio
 
Giulio Petrucci said:
Hi there,

I have to installa a Windows service on a machine which has only the fw1.1
installed. I did the following:
- Create a WindowsService application (using the VisualStudio template);
- Create the ServiceInstaller;
- Imported a .dll in the solution (which is the logic of my application);
- Build the solution using MSBee to target with the fx1.1 - Run the
InstallUtil.exe for the v1.1.etc of the framework...

...and got a System.BadImageFormatException.
Any suggestion?

..Net Framework 1.1 cannot load an assembly created with .Net Framework 2.0,
if that's what you have done.

As always, Google is your friend.

http://www.google.com/search?hl=en&q=System.BadImageFormatException.&btnG=Google+Search
 
Hi Mr.Arnold,

Mr. Arnold ha scritto:
.Net Framework 1.1 cannot load an assembly created with .Net Framework
2.0, if that's what you have done.

But if I have built the solution using MSBee and making the assembly
target with fw1.1 (see before), it should be able to load the assembly,
right?

Thanks,
Giulio

--
 
Giulio Petrucci said:
Hi Mr.Arnold,

Mr. Arnold ha scritto:


But if I have built the solution using MSBee and making the assembly
target with fw1.1 (see before), it should be able to load the assembly,
right?

Then the other problem could be that .Net can't find the assembly. I suggest
that you start reading the issues in the link provided that others are
having in this area in an attempt to find a solution.
 
Back
Top