Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Getting error message when building xamarin forms sample application

binoycbinoyc Member ✭✭

Facing the below error message when building xamarin forms sample application

"Could not load file or assembly 'netstandard, Version=, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. sample_app\App.xaml"

Tools used
Visual Studio 2017 Community
Xamarin forms for Android

Please let me know if anyone know the solution



  • YelinzhYelinzh Member, Xamarin Team Xamurai

    Try to add the following code in your CSPROJ file.

    <Target Name="IncludeNETStandardFacadeInVSIX" AfterTargets="ImplicitlyExpandNETStandardFacades">
        <Content Include="@(_NETStandardLibraryNETFrameworkLib)" Condition="%(Filename) == 'netstandard'">

    How to open CSPROJ file ?

    1. Right click on your project in solution explorer and select Unload Project.
    2. Right click on the project (tagged as unavailable in solution explorer) and click "Edit yourproj.csproj". This will open up your CSPROJ file for editing.
    3. After making any changes you want, save and close the file.

    Refer to

Sign In or Register to comment.