question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xamarin forms previewer not working with FreshMvvm

See original GitHub issue

I am developing test project using FreshMvvm, SQLite to displaying lists of Students. But Xamarin.Forms Previewer window not working with it.

XAML file which not showing up in previewer

<ContentPage.Content>
        <StackLayout>
            <Label Text="Welcome to Xamarin.Forms!"
                VerticalOptions="CenterAndExpand" 
                HorizontalOptions="CenterAndExpand" />
        </StackLayout>
 </ContentPage.Content>

I am using FreshMvvm & SQLite to my project. I have installed 3 libraries from nuget

  1. sqlite-net-pcl 1.5.231 by Frank A. Krueger
  2. FreshMvvm 2.2.4

I am following this article

Steps to Reproduce

Create Xamarin.forms project & add above libraries Do CRUD operation using FreshMvvm by following above article. If you are following above article-- Execute app

Basic Information

Using xamarin forms with sqlite & FreshMvvm with visual studio IDE & the little related issue I got with same exception

IDE Info & Installed Xamarin

Microsoft Visual Studio Enterprise 2017 Version 15.8.5 VisualStudio.15.Release/15.8.5+28010.2036 Microsoft .NET Framework Version 4.7.03056

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools 00369-60000-00001-AA519 Microsoft Architecture Diagrams and Analysis Tools

Visual C++ 2017 00369-60000-00001-AA519 Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package 8.13.10627.1 Application Insights Tools for Visual Studio

C# Tools 2.9.0-beta8-63208-01 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Microsoft Visual Studio Tools for Containers 1.1 Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

NuGet Package Manager 4.6.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Visual Studio Tools for Universal Windows Apps 15.0.28010.00 The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin 4.11.0.776 (d15-8@1ae9b59d7) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 4.15.9 (d000f568b) Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 1.1.116 (9619170) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 9.0.0.19 (HEAD/a8a3b0ec7) Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK 12.0.0.15 (84552a4) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Below Screenshot Previewer widnow, Not showing controls

tinyfresh

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
libin85commented, Jan 30, 2019

@arvindrajachourasiya : I am not the maintainer of this open source repo(if thats what you meant). But I do contribute to this repo. I would say you should’nt rely neither on me or anyone else for that matter. But on your own findings. If you do a quick googling you can find that almost every major MVVM frameworks have intermittent issues with Previewer. Or alternatively check their github issue pages.

0reactions
arvindrajachourasiyacommented, Jan 29, 2019

@libin85 - Are you official FreshMvvm person? If yes how could I/someone know that. So that people can rely on you what you are saying.

Read more comments on GitHub >

github_iconTop Results From Across the Web

visual studio - Xamarin Forms Previewer isn't showing
Invalid XAML: The Android project needs to built before preview can be created. The previewer requires that the project be built before ...
Read more >
FreshMvvm: So Fresh So Clean - MVVM for Xamarin.Forms
Comments • 14 · Working with FreshMvvm (Part 1) · XAML Hot Reload for Xamarin. Forms Preview | The Xamarin Show · Dependency...
Read more >
XAML Previewer for Xamarin.Forms
This article explains how to use the XAML Previewer to see your Xamarin.Forms layouts rendered as you type. The XAML Previewer is available ......
Read more >
Why can't I find Xamarin.Forms Previewer at Options?
The XAML Previewer has been deprecated in Visual Studio 2019 version 16.8 and Visual Studio for Mac version 8.8, and replaced by the...
Read more >
[Code]-Xamarin-FreshMVVM Init not working in async way
Xamarin Forms Previewer not working in Visual Studio for Mac. Giving error message: The base class associated with this XAML file could not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found