.NET codes compiled in XP - can it run in Windows 7?

Am having issues running DLLs and exe's in Windows 7 32bit. These were compiled in XP 32bit. Is there any step missing? Should I have seperate packages compiled for Windows 7 and XP?

Visual Studio 2008
MSI installer

Any help is much appreciated. Thanks.
Who is Participating?
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
no need to build for XP. What is your exact problem?
tjoseph833Author Commented:
I have codes compiled in XP (as DLLs and EXEs app). the app doesn't run in windows 7.

one of the errors:
'the application unable to start correctly (0xc000007b)'

Éric MoreauSenior .Net ConsultantCommented:
do you have the same .Net framework installed? do you have any components/requirements that are nont installed?
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Try Run as Administrator.
Mohamed AbowardaSoftware EngineerCommented:
Maybe there is a problem with your .NET Framework that installed in your copy of Windows 7, try to download and install .NET Framework 3.5:

tjoseph833Author Commented:
OK. I will test it out ... I think its the .NET version issue and Win 7 Admin rights too.

How do we force check and install .NET Framework 3.5 during setup installation?

Thanks for all the prompt replies.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.