Unable to build asp.net MVC Core 6.0 app with Telerik nuget in Build server - Compatibility issue

1 Answer 345 Views
General Discussions
samram
Top achievements
Rank 1
Iron
samram asked on 01 Mar 2022, 05:56 AM

this is an Asp.net MVC Core 6.0 project referring latest Telerik Nuget dll - 2022.1.119

Builds fine locally. But fails in build server due to compatibility issue.

Below is the build log from server.

2022-03-01T03:27:30.5720121Z Checking compatibility for Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.0 with .NETFramework,Version=v6.0. 2022-03-01T03:27:30.5721443Z Package Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.0 is not compatible with net60 (.NETFramework,Version=v6.0). Package Microsoft.CodeAnalysis.CSharp.Workspaces 4.0.0 supports: 2022-03-01T03:27:30.5724004Z - netcoreapp3.1 (.NETCoreApp,Version=v3.1) 2022-03-01T03:27:30.5724701Z - netstandard2.0 (.NETStandard,Version=v2.0)

 

Compatibility Issue is because Telerik dll is referring to code analysis dll, which supports only .Net 3.0 core apps.

Please let me know how to resolve this. Why Telerik dll is pulling an lower framework (3.0 core) dependency for .net 6.0 project? Below is snapshot of dll reference in project. Let me know.

1 Answer, 1 is accepted

Sort by
0
Accepted
samram
Top achievements
Rank 1
Iron
answered on 02 Mar 2022, 06:25 PM
Issue fixed. Nuget Tool version was old. used latest 6.0.0 one.
Tags
General Discussions
Asked by
samram
Top achievements
Rank 1
Iron
Answers by
samram
Top achievements
Rank 1
Iron
Share this question
or