GithubHelp home page GithubHelp logo

samplexamformswithnetstandard's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

samplexamformswithnetstandard's Issues

Not working with new Xamarin Studio 6.1

Hello Oren,

Thanks for this sample solution which indeed works on Windows / VS 2015 update 3, I've just verified it.

Alas, it doesn't seem to work anymore with Xamarin Studio 6.1 (just released yesterday).
I get all kind of errors.
Was it working with previous XS 6.0?

It seems that the XamFormsSample portable library fails to build because it is not having the needed references. Trying to add them manually fails too as no package is listed there.

And, the XamFormsSample.iOS fails to reference the XamFormsSample portable library with the error: "Incompatible target framework: .NET Portable, version=v5.0"

Can you confirm?
Should I file a bug to Xamarin?
Is there any temporary workaround?

Thanks

UWP project still using old json

After reviewing the project, I noticed the UWP project doesn't use

<CopyNuGetImplementations>true</CopyNuGetImplementations>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>

So it falls back to use the project.json , is this intentional?

Also, it could be great to have this example as a VS2017 project template...

Android error APT0000: Attribute "..." has already been defined

Thanks for this sample and the accompanying blog post; I've gotten much closer to XamForms netstandard after finding it! :)

Just tried to build with VS2017 (Version 15.2 (26430.13) Release) with a fresh clone of the repo and get the error in the issue description (same error with my own project). Just wondering if this is due to recent VS/Xamarin updates, or if it is unique to my install. Here's a snippet of the output log:

...
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-uz-rUZ\values-uz-rUZ.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-vi\values-vi.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zh-rCN\values-zh-rCN.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zh-rHK\values-zh-rHK.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zh-rTW\values-zh-rTW.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values-zu\values-zu.xml
2>    Processing: C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "layoutManager" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "spanCount" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "reverseLayout" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.RecyclerView\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "stackFromEnd" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteAudioTrackDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteButtonStyle" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteCloseDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRouteDefaultIconDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRoutePauseDrawable" has already been defined
2>C:\dev\git\SampleXamFormsWithNetStandard\XamFormsSample\XamFormsSample.Droid\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.MediaRouter\library_project_imports\res\values\values.xml(2): error APT0000:  Attribute "mediaRoutePlayDrawable" has already been defined
...

Potentially relevant VS version info is:

VisualStudio.15.Release/15.2.0+26430.13
NuGet Package Manager   4.2.0
Visual Studio Tools for Universal Windows Apps   15.0.26430.06
Xamarin   4.5.0.486 (fec6f88)
Xamarin.Android SDK   7.3.1.2 (9dbc4c5)
Xamarin.iOS and Xamarin.Mac SDK   10.10.0.37 (ad35de4)

No resource found that matches the given name

When trying to compile the sample (I am using VS2017), lots of "No resource found that matches the given name" compiler errors are generated for the .Droid project for the styles.xml file:

...
No resource found that matches the given name: attr "windowActionBar'
No resource found that matches the given name: attr "colorPrimary'
No resource found that matches the given name: attr "colorPrimaryDark'
and so on ....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.