Results 1 to 9 of 9

Thread: Framework related possibilities

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Framework related possibilities

    Is it possible to install VS 2010 first,then install VS2008?
    i am asking this because in many cases(specially while installing the O.S) i see that after installing the higher version the lower version of O.S cant be installed....and if want to install linux then it might be installed after installing all the windows O.S starting from xp,then vista,then win7 and finally fedora 12......

    please help

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Framework related possibilities

    It's certainly possible. The only potential issue is that the last version installed will be used as the default app for opening various file types. For instance, if you double-click on a .config file in Windows Explorer, it will open in the last version you installed. If that's not a problem then you should be fine.

    That said, I'd always install the older version first if I could.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Framework related possibilities

    one more thing:i dont have vs 2010 installed in my machine but i have vs 2008....so i am giving the screenshot of it:
    Name:  Untitled.jpg
Views: 111
Size:  11.3 KB
    if i change the target framework to 2.0(suppose) then while deploying the vs 2008 project should the prerequity be framework 2.0 or the .exe will also work in presence of the framework 3.5?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Framework related possibilities

    Quote Originally Posted by Tommy.net View Post
    one more thing:i dont have vs 2010 installed in my machine but i have vs 2008....so i am giving the screenshot of it:
    Name:  Untitled.jpg
Views: 111
Size:  11.3 KB
    if i change the target framework to 2.0(suppose) then while deploying the vs 2008 project should the prerequity be framework 2.0 or the .exe will also work in presence of the framework 3.5?
    .NET 3.5 is built on top of .NET 3.0 is built on top of .NET 2.0. If you have .NET 3.5 installed then you have .NET 2.0 installed anyway. Now that .NET 4.0 is all new, I'm not sure what that means for apps targeting older versions, but I'd expect them to work in the vast majority, if not all, cases.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Framework related possibilities

    suppose i did a code using the LINQ in vs 2008 and compile it with target framework 2.0,then will it work(since LINQ is not supported in vs 2005)

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Framework related possibilities

    Quote Originally Posted by Tommy.net View Post
    suppose i did a code using the LINQ in vs 2008 and compile it with target framework 2.0,then will it work(since LINQ is not supported in vs 2005)
    LINQ is new with .NET 3.5. If you aren't targeting .NET 3.5 or above then you can't use LINQ, regardless of the IDE.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Framework related possibilities

    So can i conclude that if i create a project in vs 2008 and put the target framework to 2.0 then i can do only those things that i can do with the vs2005?

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    595

    Re: Framework related possibilities

    if #7 is true then why should someone install vs2005 if he has vs2008 already installed in his machine?

  9. #9
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Framework related possibilities

    The VS IDE, the VB language and the .NET Framework are all different things. Each time new versions come out, you get a new version of each. VS 2008 and VB9 both have new features that VS 2005 and VB8 didn't have, which you can make use of even when targeting .NET 2.0.

    Probably the only reason to install an older version of VS if you already have a newer version is to share projects with other users of that version, e.g. I've posted projects in the CodeBank created in VS 2005 so that those users don't mis oput on my wisdom.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width