Solved

Publishing windows form for a 32-bit computer

Posted on 2014-04-08
2
266 Views
Last Modified: 2014-05-16
I was trying to publish a windows application but user receives the error message below.  I am building the windows form application on 64bit system using visual studio 2012.  On the property build page of the solution I have the "Any CPU" and "Prefer 32-Bit" selected.   What am I missing.  I believe the user may be running Windows XP as well.

that it is not a valid Win 32 application and is not properly formatted.
0
Comment
Question by:hojohappy
2 Comments
 
LVL 44

Assisted Solution

by:AndyAinscow
AndyAinscow earned 200 total points
ID: 39986232
Does the end user have the .net runtime installed that you build it for?  (eg. If you built it for .net 4.5 and the user has only .net 4 then that could be the problem).
0
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 300 total points
ID: 40044926
Does your application use any of the memory management that x64 would enable? If not, why not just compile the application as x86 for everybody? Large integer handling is a bit slower and you can only use 2GB of memory, but are you using those things in a way that would make a difference? If not, it might be worth considering skipping on the x64 build in general.

That said, what happens if you compile an x86 build specifically for this customer (rather than AnyCPU)? Can you confirm that they have the .NET framework installed? If they say they have the framework installed but it still doesn't work, can you write a "test" app for them that just has a popup, so you can confirm that it runs? Can they install something else that requires .NET (like Paint.NET) to confirm that they have the proper framework version installed?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now