Using Telerik Componets

I use the Telerik ReportViewer in my app, so I also have to have the Telerik License Nuget installed. Currently by app builds fine in RBS, but when i attempt to run it i get the following…

dotnet watch :cross_mark: Failed to build project 'D:\xxxxx\Client\xxxxx.Client.csproj'.
dotnet watch :hammer: MSBuild output:
dotnet watch :cross_mark: C:\Users\david.nuget\packages\telerik.licensing\1.7.0\build\Telerik.Licensing.targets(35,3): error MSB4062: The "Telerik.Licensing.Tasks.ResolveTelerikProducts" task could not be loaded from the assembly C:\Users\david.nuget\packages\telerik.licensing\1.7.0\build..\tasks\netstandard2.0\Telerik.Licensing.Tasks.dll. Could not find assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Either explicitly load this assembly using a method such as LoadFromAssemblyPath() or use a MetadataAssemblyResolver that returns a valid assembly. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

I can still use RBS to design, edit and infer data, but i cannot run the application in RBS to test, this does not stop me from development as this error does not occur in Visual Studio or VS Code. Just wanted to make you aware of it.

Hi @daveg1466,

What happens when you build the application with the dotnet CLI? Just execute dotnet build in the same directory.

It builds fine, its just when you click the run button. I can also execute dotnet run --project Server/xxxx.Server.csproj and that runs fine, its only inside RBS that i get that error..and like i said, in vs code or visual studio i don’t have the error…so I can continue to work and test.

Just checking if you have any ideas on this? Everything works fine in RBS except I can’t run the app there…not the end of the world but its nice to just work in one coding environment.

Unfortunately we don't have any ideas as we are not familiar with how Telerik licensing works as a MSBuild task.