In VS – project properties – in the Build tab – platform target =X86
More Related Contents:
- Clean up Excel Interop Objects with IDisposable
- How to make a .NET Windows Service start right after the installation?
- How to start a process from windows service into currently logged in user’s session
- Conditionally use 32/64 bit reference when building in Visual Studio
- How can a windows service programmatically restart itself?
- What directory does a Windows Service run in?
- C# compiling for 32/64 bit, or for ‘Any CPU’? [duplicate]
- How to start a 64-bit process from a 32-bit process
- System.BadImageFormatException: Could not load file or assembly (from installutil.exe)
- Global Keyboard Hook from windows service
- Anatomy of a “Memory Leak”
- Install Windows Service with Recovery action to Restart
- Access x86 COM from x64 .NET
- What are alternatives to generic collections for COM Interop?
- “Register for COM Interop” vs “Make assembly COM visible”
- .NET Windows Service needs to use STAThread
- How do I use WPF bindings with RelativeSource?
- What is the difference between String.Empty and “” (empty string)?
- WPF: How to make canvas auto-resize?
- C# Unicode string output
- Balancing groups in variable-length lookbehind [duplicate]
- Calling a .net library method from vba
- Generate POCO classes in different project to the project with Entity Framework model
- How securely unguessable are GUIDs?
- How do I validate email address formatting with the .NET Framework?
- Recommended method for loading a URL via a scheduled task on Windows
- How to see JIT-Compiled code in .NET VM (CLR)
- How to call managed code from unmanaged code?
- .NET — Textbox control – wait till user is done typing
- Best way to detect a release build from a debug build? .net