Reporter |
|
---|---|
Created | Apr 7, 2018 2:12:35 AM |
Updated | Apr 9, 2018 4:03:30 PM |
Resolved | Apr 7, 2018 10:25:34 PM |
Subsystem | Platform - VS Integration |
Assignee | Sergey Kuks (coox) |
Priority | Show-stopper |
State | Fixed |
Type | Bug |
Fix version | 2018.1 |
Affected versions | 2018.1 |
Fixed In Version ReSharper | 2018.1 RTM |
VsVersion | VS 2017 RTM |
I have a cross-platform Xamarin Forms app. Most of the code (including XAML) is in a shared project. There are three app projects, and three matching solution configurations (Android / iOS / UWP). Same thing happens in all configurations.
All XAML-generated code (InitializeComponent and properties) produces ReSharper warnings, breaks autocompletion, and shows up in red. Despite this, entire solution builds and runs normally.
1. Clone https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/8e83d15a74ff30c70c7c980bc112002bd251fa58
2. Open solution ~/src/Forms/ArcGISRuntime.Xamarin.Samples.Forms.sln
3. Build solution (or at least restore NuGet packages)
4. Open any code-behind file (*.xaml.cs) from the shared project.
All XAML-generated code (InitializeComponent and properties) produces ReSharper warnings, breaks autocompletion, and shows up in red. Despite this, entire solution builds and runs normally.
To reproduce:
1. Clone https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/8e83d15a74ff30c70c7c980bc112002bd251fa58
2. Open solution ~/src/Forms/ArcGISRuntime.Xamarin.Samples.Forms.sln
3. Build solution (or at least restore NuGet packages)
4. Open any code-behind file (*.xaml.cs) from the shared project.
System info:
- Microsoft Visual Studio Professional 2017 v15.6.5
- JetBrains ReSharper Ultimate 2018.1 EAP 6 Checked Build 112.0.20180402.185705-eap06
- NuGet Package Manager 4.6.0
- Visual Studio Tools for Universal Windows Apps 15.0.27428.01
- Xamarin 4.9.0.753 (f0f46392f)
- Xamarin Designer 4.10.96 (a702a9ceb)
- Xamarin.Android SDK 8.2.0.16 (HEAD/a78295902)
- Xamarin.iOS and Xamarin.Mac SDK 11.9.1.24 (f62de47)