Skip to content

Commit

Permalink
chore(common): update package source mapping (#2576)
Browse files Browse the repository at this point in the history
Adding more matches, so package retrieval does not fail if a customer has anything in addition to Blazor.

Co-authored-by: Nadezhda Tacheva <[email protected]>
  • Loading branch information
github-actions[bot] and ntacheva authored Nov 28, 2024
1 parent bfd65ab commit a46ce11
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions installation/nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,23 @@ You can [generate your Telerik NuGet API Key on telerik.com](https://www.telerik
The `Telerik.UI.for.Blazor` NuGet package and most of its dependencies reside on `nuget.telerik.com`. On the other hand, the [Telerik icon packages]({%slug common-features-icons%}) reside on `nuget.org`. The correct [package source mapping](https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping) configuration should be similar to:
>caption packageSourceMapping configuration for Telerik UI for Blazor
>caption packageSourceMapping configuration for Telerik UI for Blazor and other Telerik Packages
<div class="skip-repl"></div>
````CSHTML
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
<package pattern="Telerik.FontIcons" />
<package pattern="Telerik.SvgIcons" />
</packageSource>
<packageSource key="TelerikOnlineFeed">
<package pattern="Telerik.*" />
</packageSource>
<packageSource key="nuget.org">
<package pattern="*" />
<package pattern="Telerik.FontIcons" />
<package pattern="Telerik.SvgIcons" />
</packageSource>
<packageSource key="TelerikOnlineFeed">
<package pattern="Telerik*" />
<package pattern="Kendo*" />
<package pattern="UI.for*" />
<package pattern="JustMock*" />
</packageSource>
</packageSourceMapping>
````

Expand Down

0 comments on commit a46ce11

Please sign in to comment.