Problem with VS2008 Target Framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zacks@construction-imaging.com

    Problem with VS2008 Target Framework

    I am working on an application in VS2008. I have set the target
    framework to 2.0. I distributed the app to a coworker in MSI format.
    When he tried to install it, he was told that he needed to install the
    3.5 framework. I am wondering, when I created the project, I didn't
    even notice the dropdown in the create project dialog to select the
    target framework, so it was initially created with 3.5 as the target
    framework. But I went into the project properties and changed it to
    2.0. I wonder if that is why he was told he needed the 3.5 framework?
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Problem with VS2008 Target Framework

    Did you change the properties on the project which created the
    executable, or did you change the property on the setup project? The
    dependency on the .NET framework in the setup project has to be changed to
    ..NET 2.0 as well.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    <zacks@construc tion-imaging.comwrot e in message
    news:4bbdf4cc-44f5-4c9f-abe3-4ed8d486ee17@s3 7g2000prg.googl egroups.com...
    >I am working on an application in VS2008. I have set the target
    framework to 2.0. I distributed the app to a coworker in MSI format.
    When he tried to install it, he was told that he needed to install the
    3.5 framework. I am wondering, when I created the project, I didn't
    even notice the dropdown in the create project dialog to select the
    target framework, so it was initially created with 3.5 as the target
    framework. But I went into the project properties and changed it to
    2.0. I wonder if that is why he was told he needed the 3.5 framework?

    Comment

    • zacks@construction-imaging.com

      #3
      Re: Problem with VS2008 Target Framework

      On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
      <m...@spam.guar d.caspershouse. comwrote:
          Did you change the properties on the project which created the
      executable, or did you change the property on the setup project?  The
      dependency on the .NET framework in the setup project has to be changed to
      .NET 2.0 as well.
      >
      Thanks for your quick reply. Sure enough, I checked the setup
      project's properties pre-requisites, and 3.5 was checked and 2.0 was
      not.
      <za...@construc tion-imaging.comwrot e in message
      >
      news:4bbdf4cc-44f5-4c9f-abe3-4ed8d486ee17@s3 7g2000prg.googl egroups.com...
      >
      >
      >
      I am working on an application in VS2008. I have set the target
      framework to 2.0. I distributed the app to a coworker in MSI format.
      When he tried to install it, he was told that he needed to install the
      3.5 framework. I am wondering, when I created the project, I didn't
      even notice the dropdown in the create project dialog to select the
      target framework, so it was initially created with 3.5 as the target
      framework. But I went into the project properties and changed it to
      2.0. I wonder if that is why he was told he needed the 3.5 framework?

      Comment

      • zacks@construction-imaging.com

        #4
        Re: Problem with VS2008 Target Framework

        On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
        <m...@spam.guar d.caspershouse. comwrote:
            Did you change the properties on the project which created the
        executable, or did you change the property on the setup project?  The
        dependency on the .NET framework in the setup project has to be changed to
        .NET 2.0 as well.
        >
        OK, I unchecked 3.5 and checked 2.0 in the setup project properties
        prerequisites and rebuilt the setup. I tried installing the app on a
        computer that does not have 3.5 framework installed yet and the setup
        still tells me that I first need to install the 3.5 framework.

        And more ideas?
        >
        <za...@construc tion-imaging.comwrot e in message
        >
        news:4bbdf4cc-44f5-4c9f-abe3-4ed8d486ee17@s3 7g2000prg.googl egroups.com...
        >
        >
        >
        I am working on an application in VS2008. I have set the target
        framework to 2.0. I distributed the app to a coworker in MSI format.
        When he tried to install it, he was told that he needed to install the
        3.5 framework. I am wondering, when I created the project, I didn't
        even notice the dropdown in the create project dialog to select the
        target framework, so it was initially created with 3.5 as the target
        framework. But I went into the project properties and changed it to
        2.0. I wonder if that is why he was told he needed the 3.5 framework?

        Comment

        • Nicholas Paldino [.NET/C# MVP]

          #5
          Re: Problem with VS2008 Target Framework

          If you have 2.0 on both, then it should only look for .NET 2.0. Are you
          sure you are rebuilding the setup proejct? Doing CTRL+SHIFT+B will not
          rebuild the setup project, I've always had to right click on the setup
          project and select "Rebuild".


          --
          - Nicholas Paldino [.NET/C# MVP]
          - mvp@spam.guard. caspershouse.co m

          <zacks@construc tion-imaging.comwrot e in message
          news:6992ed03-c10e-42ea-bf1e-f7e5f4ad37e0@e6 g2000prf.google groups.com...
          On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
          <m...@spam.guar d.caspershouse. comwrote:
          Did you change the properties on the project which created the
          executable, or did you change the property on the setup project? The
          dependency on the .NET framework in the setup project has to be changed to
          .NET 2.0 as well.
          >
          OK, I unchecked 3.5 and checked 2.0 in the setup project properties
          prerequisites and rebuilt the setup. I tried installing the app on a
          computer that does not have 3.5 framework installed yet and the setup
          still tells me that I first need to install the 3.5 framework.

          And more ideas?
          >
          <za...@construc tion-imaging.comwrot e in message
          >
          news:4bbdf4cc-44f5-4c9f-abe3-4ed8d486ee17@s3 7g2000prg.googl egroups.com...
          >
          >
          >
          I am working on an application in VS2008. I have set the target
          framework to 2.0. I distributed the app to a coworker in MSI format.
          When he tried to install it, he was told that he needed to install the
          3.5 framework. I am wondering, when I created the project, I didn't
          even notice the dropdown in the create project dialog to select the
          target framework, so it was initially created with 3.5 as the target
          framework. But I went into the project properties and changed it to
          2.0. I wonder if that is why he was told he needed the 3.5 framework?

          Comment

          • zacks@construction-imaging.com

            #6
            Re: Problem with VS2008 Target Framework

            On Feb 29, 11:35 am, "Nicholas Paldino [.NET/C# MVP]"
            <m...@spam.guar d.caspershouse. comwrote:
                If you have 2.0 on both, then it should only look for .NET 2.0.  Are you
            sure you are rebuilding the setup proejct?  Doing CTRL+SHIFT+B will not
            rebuild the setup project, I've always had to right click on the setup
            project and select "Rebuild".
            >
            I always right click on the setup project and click on Build.
            >
            <za...@construc tion-imaging.comwrot e in message
            >
            news:6992ed03-c10e-42ea-bf1e-f7e5f4ad37e0@e6 g2000prf.google groups.com...
            On Feb 29, 10:56 am, "Nicholas Paldino [.NET/C# MVP]"
            >
            <m...@spam.guar d.caspershouse. comwrote:
            Did you change the properties on the project which created the
            executable, or did you change the property on the setup project? The
            dependency on the .NET framework in the setup project has to be changed to
            .NET 2.0 as well.
            >
            OK, I unchecked 3.5 and checked 2.0 in the setup project properties
            prerequisites and rebuilt the setup. I tried installing the app on a
            computer that does not have 3.5 framework installed yet and the setup
            still tells me that I first need to install the 3.5 framework.
            >
            And more ideas?
            >
            >
            >
            >
            >
            <za...@construc tion-imaging.comwrot e in message
            >
            news:4bbdf4cc-44f5-4c9f-abe3-4ed8d486ee17@s3 7g2000prg.googl egroups.com...
            >
            >I am working on an application in VS2008. I have set the target
            framework to 2.0. I distributed the app to a coworker in MSI format.
            When he tried to install it, he was told that he needed to install the
            3.5 framework. I am wondering, when I created the project, I didn't
            even notice the dropdown in the create project dialog to select the
            target framework, so it was initially created with 3.5 as the target
            framework. But I went into the project properties and changed it to
            2.0. I wonder if that is why he was told he needed the 3.5 framework?

            Comment

            Working...