Dependencies loading

When a Studio is installed, when I try to open a project, all dependencies show as red. Why the dependencies do not get refreshed? Does it need a developer’s license to refresh dependencies?

When I load a project for the first time, how do I open it? With .xaml file?

Thank you,

Hi @A_Learner

Might be dependencies are get faulted. Open Project → Right click on anyone dependency → Select the Repair depedency.

Then depedencies got repaired you can go with the development.

Hope it helps!!

1 Like

It is grayed out since it is not a developer license.

Thank you

which license you are using now and You are opening in studio or Studio X…? @A_Learner

Send the screenshot of dependencies how it looks like

Bot runner license in Studio.
Dependencies all red. do not show blue.

Thank you

@A_Learner,

When you open an project with dependencies which are not available in local .nuget folder, Studio will not be able to restore it. You will have to restore it by right clicking on it.

Yes, you should have developer license. Other license will allow you to see the project in read only mode.

Thanks,
Ashok :slight_smile:

1 Like

If the Dependencies got faulted. We have a option to repair the dependencies called Repair dependencies… @A_Learner

It will happen sometimes when we migrate the Project from Legacy to Windows or with the version issues.

Check the below screenshot,

Steps to repair -
→ Open Project Panel → Right click on anyone faulted dependency → Select the Repair dependency.

Hope it helps!!

1 Like

@A_Learner,

You can copy the packages manually if you have those on another machine. You will have to copy from available machine’s path

C:\Users\<Username>\.nuget\packages

To Current machine’s path

C:\Users\<Username>\.nuget\packages

It’s one time activity.

Second option would be assign Developer license for a while till you restore the dependency and revert it back to original license.

Thanks,
Ashok :slight_smile:

1 Like

Do I need developer’s license to refresh dependencies?

Thank you,

@A_Learner,

Yes, Other license are intended for read only or run only purpose. You cannot modify code with it.

Thanks,
Ashok :slight_smile:

I understand, the other license is read only. But read only cannot restore dependencies? So how are all bot runners doing? Just for my knowledge.

Thank you,

@A_Learner,

That works with dependencies packaged along with package. When running the bot/package it will get the dependencies from package itself.

But when we open the code from package it don’t find the dependency because when we publish package, it only package the runtime version of the package.

I have a article on this package versions. You can go through it for more details.

Thanks,
Ashok :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.