Bug 41425 - Reactive Extensions packages strange behavior. Missing error messages?
Summary: Reactive Extensions packages strange behavior. Missing error messages?
Status: RESOLVED FIXED
Alias: None
Product: Workbooks & Inspector
Classification: Xamarin
Component: Agent: WPF ()
Version: 0.8.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: xamarininteractive
URL:
Depends on:
Blocks:
 
Reported: 2016-06-01 08:59 UTC by Antao Almada
Modified: 2016-08-31 08:30 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Antao Almada 2016-06-01 08:59:21 UTC
Error messages may be missing making it hard to understand whats wrong.

Multiple test cases with multiple packages from the ReactiveX family. The first two, don't work but don't show  errors; the next, targetting WinRT, shows the expected error message; the last, targetting Windows Forms, works but maybe it shouldn't.


# Test case - 'Rx-Main'

## Steps to reproduce

1. Create a WPF Workbook

2. Add package Rx-Main 2.2.5

## Result

Nothing happens. No "#r" line is added. No warning or error.
If "using System.Reactive" is typed, both auto-completion and compiler fail.



# Test case - 'Rx-WPF'

## Steps to reproduce

1. Create a WPF Workbook

2. Add package Rx-WPF 2.2.5

## Result

Nothing happens. No "#r" line is added. No warning or error.
If "using System.Reactive" is typed, both auto-completion and compiler fail.



# Test case - 'Rx-WinRT'

## Steps to reproduce

1. Create a WPF Workbook

2. Add package Rx-WinRT 2.2.5

## Result

A dialog pops-up containing:
Title: "Unable to add NuGet package to w" (title is cropped) 
Boby: "Could not install package 'Rx-WinRT 2.2.5'. You are trying to install this package into a project that targets '.NETFramework,Version=v.4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

This is expected behavior as package contains assemblies targetting WinRT.



# Test case - 'Rx-WinForms'

## Steps to reproduce

1. Create a WPF Workbook

2. Add package Rx-WinForms 2.2.5

## Result

The line '#r "System.Reactive.Windows.Forms"' is added but the workbook has a WPF agent not Windows Forms.
Comment 1 Antao Almada 2016-08-31 08:30:29 UTC
These NuGet packages have discontinued and replaced by new ones with a new naming scheme. The new ones cause bug 43709.