Solved

Publishing windows form for a 32-bit computer

Posted on 2014-04-08
2
264 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

15 Experts available now in Live!

Get 1:1 Help Now