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

Duplicate reference #7

Open
DejanMilicic opened this issue Jan 7, 2020 · 2 comments
Open

Duplicate reference #7

DejanMilicic opened this issue Jan 7, 2020 · 2 comments

Comments

@DejanMilicic
Copy link
Contributor

In a FabScaffold.Android there is a duplicate reference to System.Threading.Tasks.Extensions.dll

They are pointing to

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v1.0\Facades\System.Threading.Tasks.Extensions.dll
\FabScaffold\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll

This happens both in VS2019 and Rider 2019.3

After I manually remove reference from fsproj file

<Reference Include="System.Threading.Tasks.Extensions">
  <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>

both references disappear, but I am able to build and run application in Android emulator

@DejanMilicic
Copy link
Contributor Author

This is an error when building

  The type provider constructor has thrown an exception: [error CS1703: An assembly with the same identity 'System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' has already been imported. Try removing one of the duplicate references.]

@kunjee17
Copy link
Owner

kunjee17 commented Jan 8, 2020

@DejanMilicic I guess there is need for improvement as well. Dependency names changed after I have created this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants