Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android and iOS projects fail to reference netstandard2.0-only projects #139

Closed
paulovila opened this issue Aug 18, 2018 · 1 comment · Fixed by #621
Closed

Android and iOS projects fail to reference netstandard2.0-only projects #139

paulovila opened this issue Aug 18, 2018 · 1 comment · Fixed by #621
Labels
kind/bug Something isn't working

Comments

@paulovila
Copy link

paulovila commented Aug 18, 2018

Is it possible to add netStandard2 project references in the Droid project?
I'm getting this error:

7>uno.sourcegenerationtasks\1.21.0\build\MonoAndroid\Uno.SourceGenerationTasks.targets(94,3): error : System.InvalidOperationException: The project(s) ButchersQA.ViewModels,GlobeWeigh.Rules,GlobeWeigh.Mvvm,ButchersQA.WebClient,ButchersQA.ClientContracts did not provide any metadata reference. This may be due to an invalid path, such as $(SolutionDir) being used in the csproj; try using relative paths instead.This may also be related to a missing default configuration directive. Refer to the Uno.SourceGenerator Readme.md file for more details.
7>uno.sourcegenerationtasks\1.21.0\build\MonoAndroid\Uno.SourceGenerationTasks.targets(94,3): error :    at Uno.SourceGeneration.Host.SourceGeneratorHost.<GetCompilation>d__4.MoveNext() in C:\projects\uno-sourcegeneration\src\Uno.SourceGenerationHost.Shared\SourceGeneratorHost.cs:line 303
@jeromelaban
Copy link
Member

Thanks for trying out the Uno Platform! This is a known issue, see this FAQ entry.

@jeromelaban jeromelaban added the kind/bug Something isn't working label Aug 18, 2018
@jeromelaban jeromelaban changed the title Droid Referencing netstandard2 projects Android and iOS projects fail to reference netstandard2.0-only projects Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants