This is a migrated thread and some comments may be shown as answers.

no _content-folder from NuGet installation

4 Answers 723 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Iron
Veteran
Heiko asked on 09 Dec 2019, 11:31 AM

The documentation recommends using the static assets approach and says:

"You can add the JS Interop file as a static asset from our package, instead of using a CDN. Static assets (the _content folder) are automatically included in the solution by the Nuget package, so all that's needed is then to reference the asset:"

There is no _content folder (using ZIP archive with private .nupgk files, version 2.5.0) and no assets.

Regards
Heiko

4 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 09 Dec 2019, 01:17 PM

Hello Heiko,

The _content folder is expanded by the framework into the local nuget cache, and the project copies it from there. It is only inside the .nupkg file we carry. You can see it there if you unzip it.

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
Heiko
Top achievements
Rank 1
Iron
Veteran
answered on 09 Dec 2019, 04:27 PM

Thanks, I did not realize that. Maybe you can add a small hint to the documentation?

Btw. what about the source code of UI for Blazor?

Regards
Heiko

0
Marin Bratanov
Telerik team
answered on 09 Dec 2019, 04:52 PM

Hi Heiko,

I added it to the docs. I suspected people using Blazor have come upon this by now, but it will be a good addition.

On the source code - in the future it will become available for sure.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
Heiko
Top achievements
Rank 1
Iron
Veteran
answered on 11 Dec 2019, 09:39 AM

Hi Marin,

well, for me using NuGet is like driving a car: it moves, but I don't know exactly how the motor works. ;-) It's just "I need this package, and this, and this, *KLICK*". Thanks for updating the docs!!

Regards
Heiko

Tags
General Discussions
Asked by
Heiko
Top achievements
Rank 1
Iron
Veteran
Answers by
Marin Bratanov
Telerik team
Heiko
Top achievements
Rank 1
Iron
Veteran
Share this question
or