Windows Service in VC++.NET 2003

L

Leonid

Hello,

I'm trying to create Windows Service using VC++ .NET 2003
Standard similar to sample from 'Walkthrough: Creating a
Windows Service Application in the Component Designer'
from MSDN.com. When I try to install this service I got
message "Exception occurred while initializing
installation: System:IO:FileLoadException: Unverifiable
image 'MyFirstWinService.exe' can not be run". How to fix
it in VC++ .NET 2003 Standard?

Regards
Leonid
 
P

Pent

I think installutil can't deal with assemblies that have native code. You
need to write installer in C# and then use installutil or just do the
install entries in C++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top