MarkdownView icon indicating copy to clipboard operation
MarkdownView copied to clipboard

.NetStandard 2.0

Open PostImpatica opened this issue 6 years ago • 2 comments

Could this be upgraded to support .NetStandrad 2.0?

PostImpatica avatar Jun 05 '18 17:06 PostImpatica

I just sent a 0.6.0-pre update on NuGet with .NET Standard 2.0 support and migration to new csproj format for packaging. Hope it works for you now!

Sorry for the delay! I'm pretty busy right now... :(

aloisdeniel avatar Jun 06 '18 11:06 aloisdeniel

It installs now with no issue but trying to use this assembly from Xaml I get the following error in iOS (works fine in Android):

Xamarin.Forms.Xaml.XamlParseException: Position 34:38. Type markdown:MarkdownView not found in xmlns clr-namespace:Xam.Forms.Markdown;assembly=Xam.Forms.MarkdownView
  at Xamarin.Forms.Xaml.CreateValuesVisitor.Visit (Xamarin.Forms.Xaml.ElementNode node, Xamarin.Forms.Xaml.INode parentNode) [0x0005f] in D:\a\1\s\Xamarin.Forms.Xaml\CreateValuesVisitor.cs:53 

Playing around I fixed it by doing the following:

  • In Visual Studio for Mac expand the iOS target project
  • Expand References then From Packages
  • Click on Xam.Forms.MarkdownView package
  • Go to View -> Pads -> Properties to see properties.
  • Add the Alias MarkdownView

PostImpatica avatar Jan 25 '20 18:01 PostImpatica