I have a service which needs to be deployed on a clients machine.
The destination machine is 64bit. My dev machine is also 64 bit. The app is really simple, listens on a port and does some db things. It targets .net 3.5
When I deploy the Anycpu, the X64 or the X86 version, the thing won't install on the clients machine.
I checked dependencywalker and it lists: devmgr.dll ieshims.dll wer.dll
anyhow...I install visual studio 2008 on the clients machine... check out all the sources. I don't change a thing and compile. Copy the exe over to it's dest locations...and what do you know..it works.
Dependencywalker still lists the same dependency problems.
How can it be that the act of compiling it on this machine gives me a different exe?
Edit: When I say it doesn't install. I mean that installUtil gives errors:
An exception occurred during the Install phase. System.InvalidOperationException: Unable to get installer types in the C:\services \incomingnotifications\IncomingNotifications.exe assembly. at System.Configuration.Install.AssemblyInstaller.InitializeFromAssembly() at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedSt ate) at System.Configuration.Install.Installer.Install(IDictionary stateSaver) at System.Configuration.Install.TransactedInstaller.Install(IDictionary saved State) The inner exception System.Reflection.ReflectionTypeLoadException was thrown wit h the following error message: Unable to load one or more of the requested types . Retrieve the LoaderExceptions property for more information.. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Module.GetTypes() at System.Configuration.Install.AssemblyInstaller.GetInstallerTypes(Assembly assem) at System.Configuration.Install.AssemblyInstaller.InitializeFromAssembly()
also...before compiling with visual studio, I checked that the service would still not install. After compiling it did work.
Edit2: Compiling it again on the devmachine and sending the binary over, results in the same errors. Compiling locally gives me an exe which works