xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.62k stars 1.87k forks source link

Dlls can't be found by the projects that reference it [Xamarin.Forms] #11847

Closed vsfeedback closed 4 years ago

vsfeedback commented 4 years ago

This issue has been moved from a ticket on Developer Community.


[severity:I'm somewhat annoyed. A fix would be nice] When I try to build the Xamarin.Forms source code the build can't copy the .dlls into the ref folder, causing a lot of crashes.

To reproduce the error, clone main branch, clean everything and try to build it. A lot off "File of origin: ...\Debug\netstandard2.0\ref\foo.dll" could't be found".

My Visual Studio is in brazilian portuguese.


Original Comments

Feedback Bot on 8/11/2020, 03:55 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

samhouts commented 4 years ago

What version of Xamarin.Forms are you using? If you update to the latest 4.7.0 or 4.8.0, does the problem persist? Thanks!

pictos commented 4 years ago

Hey @samhouts, I did this report. This problem occurs when I clone the project and try to build it, for some reason the MSBuild can't copy some dlls into the ref folder. I attached a screenshot in the report and in the Xamarin.Forms discord chat. But if you want, I can upload all screenshots here.

jsuarezruiz commented 4 years ago

@pictos I have searched Discord but I have not been able to find the correct images, sorry but, could you attach them here?. Thanks Pedro Jesus.

pictos commented 4 years ago

For sure, @jsuarezruiz here is the image: image

This one occurs more often, it's an error in the Material.Android project. Sometimes doing a rebuild works fine other times I need to clean up everything

PureWeen commented 4 years ago

From chatting with the Android team it looks like this is an issue with using SDK Extras

We removed the multi targeted project which should help on 5.0.0. If we keep seeing this issue with SDK Extras we will probably convert back to a Xamarin.Android project until the android sdk extra targets are ready