Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Commit 7abdaad

Browse files
jamesmontemagnoRedth
authored andcommitted
Fix-up readme and add in workaround for newer .net core sdk (#473)
1 parent 501892e commit 7abdaad

File tree

2 files changed

+4
-28
lines changed

2 files changed

+4
-28
lines changed

Xamarin.Essentials/Xamarin.Essentials.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@
9090
<Reference Include="System.Numerics" />
9191
<Reference Include="System.Numerics.Vectors" />
9292
</ItemGroup>
93+
<ItemGroup>
94+
<None Include="**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
95+
</ItemGroup>
9396
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
9497
<Import Project="$(MSBuildThisFileDirectory)mdoc.targets" />
9598
<Import Project="$(MSBuildThisFileDirectory)..\CodeStyles.targets" />

nugetreadme.txt

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,10 @@ Ensure that you install Xamarin.Essentials into all of your projects.
1010
For Android projects there is a small amount of setup needed to handle permissions. Please follow our short guide at:
1111
http://aka.ms/essentials-getstarted
1212

13-
14-
## Changes for 0.9.1-preview
15-
16-
If you are upgrading from an earlier version there are a few changes to the API that may affect your code:
17-
18-
* Android: VersionTracking has been reset
19-
* SensorSpeed.Ui is now SensorSpeed.UI
20-
* BatteryPowerSource.Ac is now BatteryPowerSource.AC
21-
* Change to generic EventHandlers for Accelerometer, Battery, Compass, Connectivity, Display Metrics, Magnetometer, OrientationSensor, Gyroscope, and Power.
22-
* BrowserLaunchType is now BrowserLaunchMode
23-
24-
You may have registered an event handler for one of these:
25-
26-
Gyroscope.ReadingChanged += OnReadingChanged;
27-
28-
and then implemented the handler:
29-
30-
void OnReadingChanged(GyroscopeChangedEventArgs e)
31-
{
32-
}
33-
34-
Instead of using a custom EventHandler we now use EventHandler<T> which always pass in an object as the first parameter:
35-
36-
void OnReadingChanged(object sender, GyroscopeChangedEventArgs e)
37-
{
38-
}
39-
13+
## Release Notes
4014

4115
See our full release notes: http://aka.ms/essentials-releasenotes
4216

43-
4417
## Feedback, Issues, & Feature Requests
4518

4619
We would love to hear from you simply head to: http://aka.ms/essentialsfeedback

0 commit comments

Comments
 (0)