Skip to content

Conversation

@dellis1972
Copy link
Contributor

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=41665

Xamarin.Android makes use of Java.Interop which relies on System.Runtime.dll.
However it seems that while VS2015 is great at auto picking up that
fact VS2013 is not. The task RefolveAssemblyReference (according to the docs)
does NOT set $(DependsOnSystemRuntime) when in the VS2013 tool chain.
As a result none of our custom PCL Facades tasks were running.

Adding the reference to System.ObjectModel.dll just hides the problem.
If a different assembly was required you'd end up with and error for that too.

The fix is to manually set $(DependsOnSystemRuntime) in our build targets.
Since we rely on System.Runtime now anyway it should be have any impact other
than to keep VS2013 happy.

…entModel.INotifyPropertyChanged' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ObjectModel" for Android projects that reference PCLs that use `INotifyPropertyChange

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=41665

Xamarin.Android makes use of Java.Interop which relies on System.Runtime.dll.
However it seems that while VS2015 is great at auto picking up that
fact VS2013 is not. The task RefolveAssemblyReference (according to the docs)
does NOT set $(DependsOnSystemRuntime) when in the VS2013 tool chain.
As a result none of our custom PCL Facades tasks were running.

Adding the reference to System.ObjectModel.dll just hides the problem.
If a different assembly was required you'd end up with and error for that too.

The fix is to manually set $(DependsOnSystemRuntime) in our build targets.
Since we rely on System.Runtime now anyway it should be have any impact other
than to keep VS2013 happy.
@jonpryor jonpryor merged commit eea35c8 into dotnet:master Jun 10, 2016
radical pushed a commit that referenced this pull request May 8, 2018
It is to be used by msbuild tasks that splits API XML adjuster work
from BindingsGenerator and thus reduce the need to run class-parse and/or
API XML adjuster work in generator and thus reduce the chance to load
class-parse XML which is almost twice as big as api-xml-adjuster outputs.
jonpryor pushed a commit that referenced this pull request Feb 18, 2021
Changes: dotnet/android-libzipsharp@1.0.20...1.0.22

  * dotnet/android-libzipsharp@9f563dd: Add a test which changes the CompressionMethod of an item (#78)
  * dotnet/android-libzipsharp@3b610c9: Try actually running the tests under .net core (#77)
  * dotnet/android-libzipsharp@03cd66b: Archive the SignList.xml
  * dotnet/android-libzipsharp@8afe791: Add the signListPath parameter
  * dotnet/android-libzipsharp@ed5585c: Add SignList.xml for signing
  * dotnet/android-libzipsharp@2ab6943: Add a build_windows.bat file to make it easier to build on windows (#75)
  * …
  * dotnet/android-libzipsharp@9dca4fb: Initial commit of localisation
  * dotnet/android-libzipsharp@668babc: Add Unit Test for setting file permissions on extraction.
  * dotnet/android-libzipsharp@8f2053c: Build on Windows again (#71)
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants