VS 2017 NetStandard XAML IntelliSense

Using RTM VS 2017 (and last preview from 3/16/2017) I cannot get Xamarin Forms IntelliSense to work in a common project that targets NetStandard 1.4. It works in PCL, but as soon as I target NetStandard (or create a new NetStandard-oriented project library), I don't get IntelliSense. Here is the relevant section of the CSPROJ file:

<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>netstandard1.4</TargetFramework>
        <PackageTargetFallback>$(PackageTargetFallback);portable-net45+net45+wp8+win81+wpa8;uap10.0;net46</PackageTargetFallback>
        <AssemblyName>MyApp.AppX</AssemblyName>
        <RootNamespace>MyApp.AppX</RootNamespace>
    </PropertyGroup>
</Project>
+4
source share
1 answer

This is a bug from Resharper, and they fixed their latest beta. You can download the Resharper beta from here.

-1
source

Source: https://habr.com/ru/post/1672590/


All Articles