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

Unable to find package Telerik.UI.for.Blazor

9 Answers 5229 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
ToltingColtAcres asked on 22 Jan 2020, 12:38 PM

Environment: VS 2019 w/ all latest updates.

Installed Telerik UI For Blazor through Progress Control Panel.

Attempting to create new Telerik Blazor solution, or add new Telerik Blazor project to existing solution, yields the following error:

 

NU1101 Unable to find package Telerik.UI.for.Blazor. No packages exist with this id in source(s): Local Packages, Microsoft Visual Studio Offline Packages, nuget.org

 

Restarted VS as well as machine, same error.

Instructions on how to resolve would be appreciated.

9 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 22 Jan 2020, 12:56 PM

Hello Michael,

From the list of feeds where VS looked for our package, it looks like the Telerik feed through which our UI for Blazor package is distributed, is not add on the machine.

Here's how to add it: https://docs.telerik.com/blazor-ui/installation/nuget

Alternatively, you can use a local feed: https://docs.telerik.com/blazor-ui/installation/zip

You can find more details on what you need to get things running in this article: https://docs.telerik.com/blazor-ui/getting-started/what-you-need

If you prefer tutorials, here are two:

 

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
answered on 22 Jan 2020, 05:24 PM

that worked, great, thanks.

 

Next issue: After building the skeleton template installed through extensions -> Telerik -> Telerik UI for Blazor -> Create new project

 

running the resulting build yields a web page that simply says "Loading..." and nothing else... 

Any idea? 

0
Marin Bratanov
Telerik team
answered on 22 Jan 2020, 05:52 PM

Can you confirm the startup project is the .Server project in the WASM solution?

I'm also attaching a solution I created with the VS extensions and it works fine for me, so you can compare against it (e.g., with a tool like WinMerge to see what is the differences between the project you have that fails, and this one).

The loading sign not disappearing in a WASM app indicates that something fails during loading of the assets and/or a JS error is thrown, but what is the exact error and its cause is hard to tell based on the available information.

If comparing against the sample here does not help, please open a support ticket and send me the sample project that fails so I can have a look at it.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
answered on 22 Jan 2020, 06:49 PM

ok I'll take a look.

no errors on build or startup that I can determine.

info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using 'C:\Users\tca\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Development
Content root path: D:\Development\MyApp\MyApp.Admin\Server
Now listening on: http://localhost:62354
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:62354/
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'Fallback {*path:nonfile}'
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/index.html'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\wwwroot\index.html'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'Fallback {*path:nonfile}'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 169.9494ms 200 text/html
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:62354/css/site.css
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/css/site.css'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\wwwroot\css\site.css'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 9.4318ms 200 text/css
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:62354/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:62354/_framework/blazor.webassembly.js
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:62354/css/bootstrap/bootstrap.min.css
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/_framework/blazor.webassembly.js'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\bin\Debug\netstandard2.1\dist\_framework\blazor.webassembly.js'
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/css/bootstrap/bootstrap.min.css'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\wwwroot\css\bootstrap\bootstrap.min.css'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 20.1225ms 200 text/css
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 71.0469ms 200 application/javascript
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js'. Physical path: 'C:\Users\tca\.nuget\packages\telerik.ui.for.blazor\2.6.1\staticwebassets\js\telerik-blazor.js'
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:62354/css/open-iconic/font/css/open-iconic-bootstrap.min.css

0
Marin Bratanov
Telerik team
answered on 23 Jan 2020, 08:31 AM

Hello,

It does not look like there are any errors here, but you can still check the browser console for runtime errors that can break the app, and for broken network requests (things like proxies, firewalls, antivirus programs can tamper with the browser requests and break them even if the server returns them properly).

Without being able to see, read and debug the code, I can only guess and I would encourage you to open a ticket if this issue persists so I can take a look and avoid further guesswork.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
answered on 23 Jan 2020, 05:02 PM
Well your sample app didn't work either... same issue. Very strange.
0
Marin Bratanov
Telerik team
answered on 23 Jan 2020, 05:09 PM

Do you get any errors in the browser console? Perhaps one of these: https://docs.telerik.com/blazor-ui/troubleshooting/js-errors?

Does a WASM project work on your end without the Telerik components?

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
James
Top achievements
Rank 2
answered on 17 Aug 2020, 10:48 AM
Why is it such a mission to add Telerik newget packages ?? I dont have to go through hoops for any other third party providers to install or update nuget packages this is very frustrating and a waste of my time 
0
Marin Bratanov
Telerik team
answered on 17 Aug 2020, 10:59 AM

I am sorry that you are having a hard time with our packages, James.

What we provide is the following:

The second approach should be quite easy as it merely requires copying files to a shared folder and pointing your nuget.config file that way. The first approach with our private feed is a tad mode complicated than with "regular" packages because:

  • most free products are on nuget.org which is a package source that Visual Studio sets up for you - you don't have to do it yoursefl, like any other custom package source
  • our components and software are not free, so they cannot be available from a free package source like nuget.org - this requires that we provide a private one, and that, inevitably, requires a bit of setup

 

Regards,
Marin Bratanov
Progress Telerik

Tags
General Discussions
Asked by
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
James
Top achievements
Rank 2
Share this question
or