SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Don't associate with sln files automatically

Last post 12-23-2006 10:29 AM by Juergen Thomas. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 09-24-2006 3:20 PM

    • TiKu
    • Top 500 Contributor
    • Joined on 08-22-2005
    • Posts 5

    Don't associate with sln files automatically

    I just installed #develop 2.1 Beta 1 to take a look at it. I don't planned to replace my VS2005 with it, especially since I'm programming in C++ a lot and #develop isn't a C++ IDE.;)

    Unfortunately #develop changed the filetype association of sln files, so now my C++ projects are opened with #develop. To make things even worse, I opened up the options and told #develop to not associate with sln files and now those files are associated neither with Visual Studio nor with #develop. Restoring the association to Visual Studio isn't that simple, because VS uses a shell extension to display different sln file icons for different project format versions (VS05 projects have a small "8.0", VS03 projects a small "7.1" and so on).

    Since Visual Studio doesn't seem to provide a way to reassociate file types, I'll have to reinstall Visual Studio. :(

     

    It would be great if you'd stop #develop automatically associating with sln files. Instead you should extend the installer to ask the user which filetypes it should associate with and which not.

     

    TiKu 

  • 09-24-2006 5:14 PM In reply to

    Re: Don't associate with sln files automatically

    In the SharpDevelop options (File Associations page), uncheck .sln and SharpDevelop should restore the previous association.

    EDIT: I didn't read your post carefully, seems you already did this and it doesn't work correctly...

    Daniel Grunwald
  • 09-24-2006 5:28 PM In reply to

    Re: Don't associate with sln files automatically

    VS 2005 should have a Restore File Associations button under Tools | Options | Environment so you should not need to reinstall.

    It is planned to extend the installer so it asks if you want to setup file associations.

    I am wondering whether SharpDevelop2's Register file types at startup at application startup option should be false by default.

  • 09-24-2006 9:32 PM In reply to

    • TiKu
    • Top 500 Contributor
    • Joined on 08-22-2005
    • Posts 5

    Re: Don't associate with sln files automatically

    MattWard:

    VS 2005 should have a Restore File Associations button under Tools | Options | Environment so you should not need to reinstall.

    Looks like I had tomatos on my eyes. I didn't notice this button this afternoon. :)
  • 12-22-2006 8:27 PM In reply to

    • Bekas
    • Not Ranked
    • Joined on 12-22-2006
    • Posts 1

    Re: Don't associate with sln files automatically

    I had the same problem and, unfortunately, "Restore File Associations" button didn't work for me. I had to manually fix the file associations through the registry.

     I hope that the installer for future versions of SharpDevelop asks the user for this; it's really bad practice to hijack Visual Studio's file types without getting the user's permission.
     

  • 12-23-2006 9:36 AM In reply to

    Re: Don't associate with sln files automatically

    I never tried it, but: does VS ask? (scenario: SharpDevelop installed first, then VS) Don't get me wrong: I simply want to know.

    Chris 

  • 12-23-2006 10:29 AM In reply to

    Re: Don't associate with sln files automatically

    I first installed #D and then VS C# Express: VS didn't ask - and sln is connected further on to #D.

    Merry Christmas! Juergen 

    Software fuer Verlage (Publishers)
    #D + NET 2.0 + Firebird 2.0
    (formerly Delphi 5 + 2005 Pro)
Page 1 of 1 (7 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.