Compiling an .NET v1.1 executable with MS VS 2005

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nikola Skoric

    Compiling an .NET v1.1 executable with MS VS 2005

    The problem is really quite straightforward : I develop my applications
    in Microsoft Visual C# 2005 Express Edition, and I need to run the
    application on Windows XP which have .NET Framework version 1.1
    installed, and installing .NET Framework 2.0 is not an option.

    And, I can't believe what I'm seeing while googling. Is there really no
    way to compile code for .NET Framework 1.1 with Microsoft Visual C# 2005
    Express Edition? Please, tell me I'm getting it wrong, because I don't
    want to downgrade to VS 2002 if not absoultely necessary.

    --
    "Now the storm has passed over me
    I'm left to drift on a dead calm sea
    And watch her forever through the cracks in the beams
    Nailed across the doorways of the bedrooms of my dreams"
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Compiling an .NET v1.1 executable with MS VS 2005

    Nikola,

    Out of the box, you can not build solutions for .NET 1.1 with VS.NET
    2005. However, Microsoft has a project on gotdotnet.com called "MSBee"
    which is a set of MSBuild extras which will allow you to use the VS.NET 2005
    edition to build .NET 1.1 applications.

    From Orcas on, you will be able to select which framework you want to
    target out of the box.

    Hope this helps.


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

    "Nikola Skoric" <nick-news@net4u.hrwr ote in message
    news:MPG.20abe0 144ae856f89896f c@news.t-com.hr...
    The problem is really quite straightforward : I develop my applications
    in Microsoft Visual C# 2005 Express Edition, and I need to run the
    application on Windows XP which have .NET Framework version 1.1
    installed, and installing .NET Framework 2.0 is not an option.
    >
    And, I can't believe what I'm seeing while googling. Is there really no
    way to compile code for .NET Framework 1.1 with Microsoft Visual C# 2005
    Express Edition? Please, tell me I'm getting it wrong, because I don't
    want to downgrade to VS 2002 if not absoultely necessary.
    >
    --
    "Now the storm has passed over me
    I'm left to drift on a dead calm sea
    And watch her forever through the cracks in the beams
    Nailed across the doorways of the bedrooms of my dreams"

    Comment

    • Dave Shooter

      #3
      Re: Compiling an .NET v1.1 executable with MS VS 2005


      "Nikola Skoric" <nick-news@net4u.hrwr ote in message
      news:MPG.20abe0 144ae856f89896f c@news.t-com.hr...
      The problem is really quite straightforward : I develop my applications
      in Microsoft Visual C# 2005 Express Edition, and I need to run the
      application on Windows XP which have .NET Framework version 1.1
      installed, and installing .NET Framework 2.0 is not an option.
      >
      And, I can't believe what I'm seeing while googling. Is there really no
      way to compile code for .NET Framework 1.1 with Microsoft Visual C# 2005
      Express Edition? Please, tell me I'm getting it wrong, because I don't
      want to downgrade to VS 2002 if not absoultely necessary.
      >
      As I understand, Visual C# 2005 Express can only complie for the 2.0
      framework. However, this doesn't stop you from installing the 1.1 SDK and
      using a build tool such as NAnt (http://nant.sourceforge.net/) to build your
      app outside of the IDE.

      I can't recall if the express edition allows you to define external tools,
      but if you can, you can define NAnt as an external tool starting in the
      solution directory, where it will automatically start the default build
      script. You can then run it from within the IDE.



      Comment

      • Jon Skeet [C# MVP]

        #4
        Re: Compiling an .NET v1.1 executable with MS VS 2005

        On May 9, 1:57 pm, "Nicholas Paldino [.NET/C# MVP]"
        <m...@spam.guar d.caspershouse. comwrote:

        <snip>
        From Orcas on, you will be able to select which framework you want to
        target out of the box.
        Is that meant to target .NET 1.1 as well as 2.0/3.0/3.5? From memory,
        beta 1 doesn't offer 1.1 as an option. Admittedly it's getting to the
        stage where hopefully that's not such an issue...

        Jon

        Comment

        • Nicholas Paldino [.NET/C# MVP]

          #5
          Re: Compiling an .NET v1.1 executable with MS VS 2005

          Yes, Orcas supports projects that output from .NET 2.0 and on.

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

          "Jon Skeet [C# MVP]" <skeet@pobox.co mwrote in message
          news:1178715797 .045037.105430@ q75g2000hsh.goo glegroups.com.. .
          On May 9, 1:57 pm, "Nicholas Paldino [.NET/C# MVP]"
          <m...@spam.guar d.caspershouse. comwrote:
          >
          <snip>
          >
          > From Orcas on, you will be able to select which framework you want to
          >target out of the box.
          >
          Is that meant to target .NET 1.1 as well as 2.0/3.0/3.5? From memory,
          beta 1 doesn't offer 1.1 as an option. Admittedly it's getting to the
          stage where hopefully that's not such an issue...
          >
          Jon
          >

          Comment

          • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

            #6
            Re: Compiling an .NET v1.1 executable with MS VS 2005

            Nicholas Paldino [.NET/C# MVP] wrote:
            Out of the box, you can not build solutions for .NET 1.1 with VS.NET
            2005. However, Microsoft has a project on gotdotnet.com called "MSBee"
            which is a set of MSBuild extras which will allow you to use the VS.NET 2005
            edition to build .NET 1.1 applications.
            Or use NAnt which as a main feature support building for different
            platforms (different versions of MS .NET and different versions of
            Mono).

            Arne

            Comment

            • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

              #7
              Re: Compiling an .NET v1.1 executable with MS VS 2005

              Jon Skeet [C# MVP] wrote:
              On May 9, 1:57 pm, "Nicholas Paldino [.NET/C# MVP]"
              <m...@spam.guar d.caspershouse. comwrote:
              > From Orcas on, you will be able to select which framework you want to
              >target out of the box.
              >
              Is that meant to target .NET 1.1 as well as 2.0/3.0/3.5? From memory,
              beta 1 doesn't offer 1.1 as an option. Admittedly it's getting to the
              stage where hopefully that's not such an issue...
              2.0 has only been out for one and a half year (non-beta).

              There could easily be some production systems running on 1.1 where
              they want new features and an upgrade is not an option.

              Arne



              Comment

              • Nikola Skoric

                #8
                Re: Compiling an .NET v1.1 executable with MS VS 2005

                In article <eyHdznjkHHA.68 0@TK2MSFTNGP06. phx.gbl>,
                alwayskeepitloa ded@delete.me.g ooglemail.com says...
                As I understand, Visual C# 2005 Express can only complie for the 2.0
                framework. However, this doesn't stop you from installing the 1.1 SDK and
                using a build tool such as NAnt (http://nant.sourceforge.net/) to build your
                app outside of the IDE.
                Huh. I've downloaded MSBee, tried to figure out how it works and failed.
                In fact, I failed at the MSBuild part since all of the documentation I
                found is based on presumption that I have a giant project on my hand.
                So, there are no straightforward examples for a newbie (at least I found
                none).

                Then I turned to NAnt, for which I found some basic level examples. I
                even figured out how to use NAnt SlingShot all by myself ;-) But, after
                successfuly making .build file with SlingShot and successfuly runing
                NAnt, I just can't find the executable which I should get by building
                something...

                --
                "Now the storm has passed over me
                I'm left to drift on a dead calm sea
                And watch her forever through the cracks in the beams
                Nailed across the doorways of the bedrooms of my dreams"

                Comment

                Working...