System.Reactive not showing up in Add Reference Dialog

Respondido System.Reactive not showing up in Add Reference Dialog

  • Dienstag, 25. Mai 2010 16:33
     
     

    So I've installed the most recent Rx for .NET 4, and am now trying to follow the videos, but I get to a stumbling point where they go to add the reference.  In the videos, the System.Reactive assembly shows up in the .NET tab of the Add Reference Dialog.  It does not show up in mine.  Actually, none of the three .dlls show up (reactive, interactive, coreex).

    I have found the .dll files in windows explorer, and added the reference via the Browse tab, but I wonder why it is so different for me and for the guy in the video.

Alle Antworten

  • Dienstag, 25. Mai 2010 16:58
     
     

    Hi insertAlias,

    just tried this on a fresh VM and for me the references did show up correctly. Are you using Visual Studio 2010 RTM? The references won't show up on RC or Beta 2.

    Regards,

     

    Jeffrey

  • Dienstag, 25. Mai 2010 18:20
     
     

    Yes, the VS 2010 RTM on Windows XP.

    I'll try installing it later at home to see what happens and get back to you.  It could be an issue with my VS install at work.

  • Dienstag, 25. Mai 2010 19:41
     
     

    Hi,

    This might be a stretch, but did you wait for the .NET tab to finish loading completely?  For me, the Rx assemblies don't show up until the list is basically completed, which on my slow computer can easily take up to a minute.

    Edit: BTW, I use VS 2010 RC and they actually do show up as well :)

    - Dave


    http://davesexton.com/blog
  • Mittwoch, 26. Mai 2010 01:18
     
     Beantwortet

    Well, I'm not sure what the deal is.  When I install the framework on my Windows 7 machine at home, everything works like it should.  All of the assemblies show up in the dialog.  Oh well, not sure what the problem is, but I'll learn the Rx Framework at home.

  • Mittwoch, 26. Mai 2010 02:47
    Besitzer
     
     
    You can always reference the assemblies from the install folder.
  • Mittwoch, 26. Mai 2010 09:14
     
     
    You can always reference the assemblies from the install folder.


    But where is the assembly located?

    The old version of System.Reactive.dll is located in Microsoft SDKs\Silverlight\v4.0\Toolkit\Nov09\Bin. But where is the Assembly located from toolkit Apr10?

    When I refrence the old one, the Observable-Class is missing some important functions like ObserveOn(). How can I get the newest Version of Rx to use Observable-Class?

  • Mittwoch, 26. Mai 2010 14:17
     
     
    The path you're describing is from the Silverlight toolkit's use of Rx, the Rx installer puts the binaries in c:\program files (x86)\Microsoft Cloud Programmability\Reactive Extensions\<version>\<Fx version>
  • Donnerstag, 27. Mai 2010 14:42
     
     
    The path you're describing is from the Silverlight toolkit's use of Rx, the Rx installer puts the binaries in c:\program files (x86)\Microsoft Cloud Programmability\Reactive Extensions\<version>\<Fx version>

    Thanks for your reply. I've figured out the solution. That was confusing for me, because in november 2009 the binaries where released with the newest toolkit.
  • Donnerstag, 17. Februar 2011 15:30
     
     
    For now I have the same problem on VS 2010.
  • Donnerstag, 17. Februar 2011 21:26
     
     

    I had a similar problem within VS 2010 when installing the Rx extensions for .NET 4.0 on Windows7.  I found the relevant assemblies at:

    System.CoreEx.dll: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.CoreEx\v4.0_1.0.2856.104__31bf3856ad364e35

    System.Reactive.dll:

    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Reactive\v4.0_1.0.2856.104__31bf3856ad364e35

    I'm not sure why my VS 2010 couldn't find the assemblies, but manually adding references worked just fine.

  • Dienstag, 21. Juni 2011 20:04
     
     

    Interesting... I can't find that Dll Mark describes above...  I have VS2010 and .NET 4.0 

    Researching....

    Problem turned out to be that I had not installed the RX extensions found here:

    http://www.microsoft.com/download/en/details.aspx?id=26224

    I had incorrectly thought they were in .NET 4.0

     


    JP
  • Mittwoch, 22. Juni 2011 03:05
    Besitzer
     
     
    We no longer install to the GAC. Assemblies will show up in the Add Reference dialog if you install the SDK. Alternatively, navigate to your x86 Program Files folder's "Microsoft Reactive Extensions SDK" directory and descend from there.
    using (Microsoft.Sql.Cloud.DataProgrammability.Rx) { Signature.Emit("Bart De Smet"); }
  • Dienstag, 14. August 2012 17:46
     
      Enthält Code

    Hit this one again today, I don't know why these binaries are not found in VS2010 even after downloading and installating the proper RX SDK.

    Here's a visual on how to fix it.

    In RX you would have had using statements like this below.  If you then change your project to .Net 4.0 (from a prior version where you had already used the RX SDK), the result from the compile is that it cannot find the needed assemblies.  This is true even if you download the most recect RX SDK. 

    Step 1) In your project remove the references listed below.

    • System.Reactive
    • System.Reactive.Windows.Threading

    Step 2) Add in these references instead per Bart's suggestion above.

    Not sure why, but also had to add this to App.Config file.  

          <dependentAssembly>
            <assemblyIdentity name="System.Reactive" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-1.1.11111.0" newVersion=" 1.0.10621.0"/>
          </dependentAssembly>

    So somewhere, somehow, a residual version pointer was causing the failure.  This is the root cause and should be fixed, but until we can find why it's happening, this is the proper circumvention.

    Good Luck!


    JP Cowboy Coders Unite!




  • Donnerstag, 13. Dezember 2012 19:58
     
     

    FYI: I installed just the minimal part of the v1.0.1126 SDK and the dlls are in c:\Program Files (x86)\Microsoft Reactive Extensions SDK\v1.0.10621\Binaries\.NETFramework\v3.5\