Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3439360
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:18:02+00:00 2026-05-18T08:18:02+00:00

If I compile a simple(no additional libraries or assemblies) c# application, can I assume

  • 0

If I compile a simple(no additional libraries or assemblies) c# application, can I assume it will run on any new windows 7 machine natively or do I have to worry about end users having .Net or other libraries installed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:18:03+00:00Added an answer on May 18, 2026 at 8:18 am

    Windows 7 includes the .NET Framework 3.5.1 as an OS component.

    This means you will get:

    • .NET Framework 2.0 SP2
    • 3.0 SP2
    • 3.5 SP1
    • some post 3.5 SP1 bug fixes

    However, if you’re using newer versions of .NET, and if you’re using libraries that don’t get shipped with the above, then you still need to consider packaging these up in an MSI/installer.

    This page on Wikipedia has a good summary:

    http://en.wikipedia.org/wiki/.NET_Framework#Versions

    If this is anything more than a “quick and dirty” app, or unless you work in an area where you know exactly what the target machines look like (i.e. a corporate environment with a locked down OS image) then I’d suggest you look at building an installer and deal with pulling down the pre-requisites as appropriate. (WiX is my recommended way of doing that).

    http://wix.sourceforge.net/

    And WiX questions are tagged here on SO…

    https://stackoverflow.com/tags/wix/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to compile a simple hello-world-style program using the Windows command line. cl
I am trying to compile and run a simple java class within eclipse. The
I could not start an OpenCV application under Windows. Given the following simple OpenCV
I'm trying to compile a simple program, with #include <gtkmm.h> The path to gtkmm.h
I'm trying to compile a simple example of generic classes / type patterns (see
Is it just to test compile a simple program, with that header file #included
I'm writing some code which could really do with some simple compile time metaprogramming.
i am trying to compile this very simple piece of code class myList {
I'm trying to compile the following simple DL library example code from Program-Library-HOWTO with
This simple example fails to compile in VS2K8: io_service io2; shared_ptr<asio::deadline_timer> dt(make_shared<asio::deadline_timer>(io2, posix_time::seconds(20))); As

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.