Rider downloads files each time Xamarin.Android project is opened/reloaded

Answered

The company I work for has a Xamarin based solution targeting Android and iOS. The solution consists of a Xamarin.Android project, a Xamarin.iOS project, and a shared library containing common classes. After upgrading to Rider 2018.3, I started receiving the messages below (and associated balloon notifications) every time the solution is opened or the Xamarin.Android project is reloaded. This happens on Windows and macOS. Shouldn't these files be cached somewhere so Rider doesn't have to download them every time? Does this indicate that I have a configuration problem somewhere?

Here are the messages I see in the Event Log:

15:23 The following files were downloaded:: support-annotations-27.0.2.jar (show balloon)

15:23 The following files were downloaded:: constraint-layout-1.1.0.aarconstraint-layout-solver-1.1.0.jar (show balloon)

15:23 The following files were downloaded:: design-27.0.2.aarsupport-v4-27.0.2.aarsupport-compat-27.0.2.aarruntime-1.0.3.aarcommon-1.0.3.jarcommon-1.0.0.jarsupport-media-compat-27.0.2.aarsupport-core-utils-27.0.2.aarsupport-core-ui-27.0.2.aarsupport-fragment-27.0.2.aarappcompat-v7-27.0.2.aarsupport-annotations-27.0.2.jarsupport-vector-drawable-27.0.2.aaranimated-vector-drawable-27.0.2.aarrecyclerview-v7-27.0.2.aartransition-27.0.2.aar (show balloon)

15:23 The following files were downloaded:: support-v4-27.0.2.aarsupport-compat-27.0.2.aarsupport-annotations-27.0.2.jarruntime-1.0.3.aarcommon-1.0.3.jarcommon-1.0.0.jarsupport-media-compat-27.0.2.aarsupport-core-utils-27.0.2.aarsupport-core-ui-27.0.2.aarsupport-fragment-27.0.2.aar (show balloon)

15:23 The following files were downloaded:: appcompat-v7-27.0.2.aarsupport-annotations-27.0.2.jarsupport-core-utils-27.0.2.aarsupport-compat-27.0.2.aarruntime-1.0.3.aarcommon-1.0.3.jarcommon-1.0.0.jarsupport-fragment-27.0.2.aarsupport-core-ui-27.0.2.aarsupport-vector-drawable-27.0.2.aaranimated-vector-drawable-27.0.2.aar (show balloon)

15:23 The following files were downloaded:: cardview-v7-27.0.2.aarsupport-annotations-27.0.2.jar (show balloon)

15:23 The following files were downloaded:: recyclerview-v7-27.0.2.aarsupport-annotations-27.0.2.jarsupport-compat-27.0.2.aarruntime-1.0.3.aarcommon-1.0.3.jarcommon-1.0.0.jarsupport-core-ui-27.0.2.aar (show balloon)

15:23 The following files were downloaded:: support-vector-drawable-27.0.2.aarsupport-annotations-27.0.2.jarsupport-compat-27.0.2.aarruntime-1.0.3.aarcommon-1.0.3.jarcommon-1.0.0.jar (show balloon)

13 comments
Comment actions Permalink

This problem is back in 2021.1.3

2
Comment actions Permalink

Rider 2019.1.1 The same

1
Comment actions Permalink

Hello everyone,

Sorry for not replying sooner. The bug was fixed in one of Rider 2019.1 bugfixes, but the IDE still says that it downloads these files every time you open your solution. Actually, it downloads the files only once when you open your solution for the first time. The message is wrong and will be fixed in Rider 2019.2: https://youtrack.jetbrains.com/issue/RIDER-27087

 

1
Comment actions Permalink

Hi All!

This problem is return back in JetBrains Rider 2021.1.3

Build #RD-211.7442.29, built on May 26, 2021

Runtime version: 11.0.11+9-b1341.57 x86_64

VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.

macOS 11.4

.NET Core 5.0.5

1
Comment actions Permalink

I have the same bug even with 2021.2 on Mac. And looks like it is not just notifications because the CPU is heavily loaded during this process. Any news about this issue?

1
Comment actions Permalink

All,

This problem is tracked here: https://youtrack.jetbrains.com/issue/RIDER-62539.

Although the ticket is still open, we have already made a number of changes that most likely have fixed it. Please try the latest Rider EAP build, and let me know if the problem persists: https://www.jetbrains.com/rider/nextversion/

0
Comment actions Permalink

I still have the problem with the latest version of Rider.

The following messages are taken from the eventlog. For every project in a large solution the sdk files are being downloaded... Opening large solutions with Rider is not funny :-)

09:53 The following files were downloaded:
support-v4-28.0.0.aar
support-compat-28.0.0.aar
support-annotations-28.0.0.jar
collections-28.0.0.jar
runtime-1.1.1.aar
common-1.1.1.jar
common-1.1.1.jar
versionedparcelable-28.0.0.aar
support-media-compat-28.0.0.aar
support-core-utils-28.0.0.aar
documentfile-28.0.0.aar
loader-28.0.0.aar
livedata-1.1.1.aar
runtime-1.1.1.aar
livedata-core-1.1.1.aar
localbroadcastmanager-28.0.0.aar
print-28.0.0.aar
support-core-ui-28.0.0.aar
customview-28.0.0.aar
viewpager-28.0.0.aar
coordinatorlayout-28.0.0.aar
drawerlayout-28.0.0.aar
slidingpanelayout-28.0.0.aar
interpolator-28.0.0.aar
swiperefreshlayout-28.0.0.aar
asynclayoutinflater-28.0.0.aar
cursoradapter-28.0.0.aar
support-fragment-28.0.0.aar
viewmodel-1.1.1.aar

09:53 The following files were downloaded:
appcompat-v7-28.0.0.aar
support-annotations-28.0.0.jar
support-compat-28.0.0.aar
runtime-1.1.1.aar
common-1.1.1.jar
common-1.1.1.jar
versionedparcelable-28.0.0.aar
collections-28.0.0.jar
cursoradapter-28.0.0.aar
support-core-utils-28.0.0.aar
documentfile-28.0.0.aar
loader-28.0.0.aar
livedata-1.1.1.aar
runtime-1.1.1.aar
livedata-core-1.1.1.aar
localbroadcastmanager-28.0.0.aar
print-28.0.0.aar
support-fragment-28.0.0.aar
support-core-ui-28.0.0.aar
customview-28.0.0.aar
viewpager-28.0.0.aar
coordinatorlayout-28.0.0.aar
drawerlayout-28.0.0.aar
slidingpanelayout-28.0.0.aar
interpolator-28.0.0.aar
swiperefreshlayout-28.0.0.aar
asynclayoutinflater-28.0.0.aar
viewmodel-1.1.1.aar
support-vector-drawable-28.0.0.aar
animated-vector-drawable-28.0.0.aar

09:53 The following files were downloaded:: support-annotations-28.0.0.jar

09:53 The following files were downloaded:
support-v4-28.0.0.aar
support-compat-28.0.0.aar
support-annotations-28.0.0.jar
collections-28.0.0.jar
runtime-1.1.1.aar
common-1.1.1.jar
common-1.1.1.jar
versionedparcelable-28.0.0.aar
support-media-compat-28.0.0.aar
support-core-utils-28.0.0.aar
documentfile-28.0.0.aar
loader-28.0.0.aar
livedata-1.1.1.aar
runtime-1.1.1.aar
livedata-core-1.1.1.aar
localbroadcastmanager-28.0.0.aar
print-28.0.0.aar
support-core-ui-28.0.0.aar
customview-28.0.0.aar
viewpager-28.0.0.aar
coordinatorlayout-28.0.0.aar
drawerlayout-28.0.0.aar
slidingpanelayout-28.0.0.aar
interpolator-28.0.0.aar
swiperefreshlayout-28.0.0.aar
asynclayoutinflater-28.0.0.aar
cursoradapter-28.0.0.aar
support-fragment-28.0.0.aar
viewmodel-1.1.1.aar

09:53 The following files were downloaded:: support-annotations-28.0.0.jar

0
Comment actions Permalink

Raltrock,

In the latest Rider version, there is a known problem of showing that notification each time, while the jar files are actually downloaded only the first time the solution is opened: https://youtrack.jetbrains.com/issue/RIDER-65306. If Rider is not busy running Indexing/Processing/Downloading background tasks each time you open the solution, then it's only a wrong notification.

0
Comment actions Permalink

In previous versions, I had this problem in all of my xamarin projects, but in the current version (2021.2) I only have this problem in some of them.

0
Comment actions Permalink

The same issue still appears in 2021.2. After each relaunch of Rider, it takes ~30 mins to download all files (the project is pretty big) during this downloading it is pretty hard to work with Rider as the CPU is fully loaded.

0
Comment actions Permalink

Hey K Garkusha, Vadim Litvin, O Zasiadvovk,

Is there any chance you could share the affected solution and steps to reproduce the problem? It would be much easier and much faster for us to sort out the problem. Also, please collect Rider 2021.2 logs on your machine after reproducing the issue (Help -> Collect Logs).

You can share the solution and/or logs via JetBrains upload service. After upload is successful, share the Upload ID here or privately in a new support case.

0
Comment actions Permalink

Hey Julia Vaseva,

I uploaded a trimmed project which has this problem. Upload id: 2021_08_19_J3QAsZQ9rQcQT72V

Also I uploaded video with reproducing. Upload id: 2021_08_19_9xbrqLP9vkPFV6T6

And finally I uploaded Logs. Upload id: 2021_08_19_Q4zshJ97SwcShrVP

I hope this helps you

 

0
Comment actions Permalink

Hey Vadim Litvin,

Thanks a lot for the information! I've reproduced the problem on my machine, and studied the logs and the screen recording. I can confirm that Rider doesn't actually download all these files, it's only a wrong notification. We're planning to fix it in the next release in the scope of this issue: https://youtrack.jetbrains.com/issue/RIDER-65306.

I do understand it must be really annoying, but please ignore the notification for now. 

0

Please sign in to leave a comment.