Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-469281: All XAML generated code references are red with Xamarin.Forms 3.0 NuGet package (pre-release)

$
0
0
Reporter Django135 (Django135) Django135 (Django135)
Created Apr 17, 2018 5:36:37 AM
Updated Apr 22, 2018 10:37:44 PM
Subsystem Platform - VS Integration
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM, VS 2017 15.3

Hello,
Resharper is not recognizing all InitializeComponent() calls and relationship between xaml and xaml.cs files after upgrading Xamarin.Forms NuGet package from 2.5 (which works) to 3.0 prerelease (which doesn't). It is worth noting that pressing F12 on the red InitializeComponent() call navigates to the generated cs file in obj\Debug.

I also tried as a workaround adding to the csproj:

<ItemGroup>
  <Compile Include="obj\$(Configuration)\**\*.cs" />
</ItemGroup>

This caused the generated files to appear in visual studio solution explorer but still resharper was not recognizing them.

I noticed that in both nuget packages, the Xamarin.Forms targets changed a little for XamlG task (.targets file is inside nuget package in netstandard2.0\build folder).

Is there a possible MSBuild snippet workaround to help ReSharper recognize this until official support is released ? Any advice ?

Thanks in advance.


Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>