Hello,
Could you update your librairies to ASP.NET Core 3.0 GA (instead of 3.0 RC1) because there are some version conflicts when I want to install some nuget packages. For example, If I install the packages Telerik.UI.for.AspNet.Core 2019.3.917 and Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 3.0.0 in my project, I've get the error :
Error NU1107 - Version conflict detected for Microsoft.CodeAnalysis.Common.
MyProject -> Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 3.0.0 -> Microsoft.CodeAnalysis.Razor 3.0.0 -> Microsoft.CodeAnalysis.Common (>= 3.3.0)
MyProject -> Telerik.UI.for.AspNet.Core 2019.3.917 -> Microsoft.CodeAnalysis 3.0.0 -> Microsoft.CodeAnalysis.CSharp.Workspaces 3.0.0 -> Microsoft.CodeAnalysis.Common (= 3.0.0)
7 Answers, 1 is accepted
Hello Team
We are also having same problem. any idea when this will updated or is there any workaround there.
Hello Sajid,
There is a known issue regarding the Microsoft.CodeAnalysis that is logged in our GitHub repository. You could start tracking it from the below links:
Currently, the issue could be resolved by updating the packages version to 3.3.1 in the csproj file:
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.3.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.3.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0" />
Regards,
Dimitar
Progress Telerik
I also have similar issue. I am creating a web app using .Net Core 3 and I've installed Telerik UI for dotnet core using nuget package. Because of the issue I am unable to scaffold Identity, I am getting below error:
SeverityCodeDescriptionProjectFileLineSuppression State
ErrorNU1107Version conflict detected for Microsoft.CodeAnalysis.CSharp.Workspaces. Install/reference Microsoft.CodeAnalysis.CSharp.Workspaces 3.3.0 directly to project TempIDPlusClientPortal to resolve this issue.
TempIDPlusClientPortal -> Microsoft.VisualStudio.Web.CodeGeneration.Design 3.0.0 -> Microsoft.VisualStudio.Web.CodeGenerators.Mvc 3.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration 3.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore 3.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.Core 3.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.Templating 3.0.0 -> Microsoft.VisualStudio.Web.CodeGeneration.Utils 3.0.0 -> Microsoft.CodeAnalysis.CSharp.Workspaces (>= 3.3.0)
TempIDPlusClientPortal -> Telerik.UI.for.AspNet.Core 2019.3.917 -> Microsoft.CodeAnalysis 3.0.0 -> Microsoft.CodeAnalysis.CSharp.Workspaces (= 3.0.0).TempIDPlusClientPortalC:\Users\divya\Development\TempIDPlusClientPortal\TempIDPlusClientPortal\TempIDPlusClientPortal.csproj1
I've tried to install version 3.3.1 which is in preview but in that case it requires other packages to be updated too, I can't use a preview version of Identity for obvious reasons. Is there any workaround?
Hello Divyang,
This is a known issue that we have already resolved. The fix is already included in the latest Internal Build that we have release today. The Internal build is available for download from your Telerik Profile. You could download it and test the generation, however, it is not recommended to use this build in production.
The fix will also be available with the next official Service Pack that is scheduled to be released in the end of next week.
Regards,
Dimitar
Progress Telerik
Hi Dimitar
That's great, thanks for the information. I'll wait till the Service Pack is released.
WE ARE ALSO GETTING SAME ISSUE WHILE .NET 5.0
SeverityCodeDescriptionProjectFileLineSuppression State
ErrorNU1107Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 3.7.0 directly to project Mcp.Framework.AspNetCore.Mvc.UI.Theme.SmartAdmin to resolve this issue.
Mcp.Framework.AspNetCore.Mvc.UI.Theme.SmartAdmin -> Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared 4.0.0 -> Volo.Abp.AspNetCore.Mvc.UI.Bootstrap 4.0.0 -> Volo.Abp.AspNetCore.Mvc.UI 4.0.0 -> Volo.Abp.AspNetCore.Mvc 4.0.0 -> Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 5.0.0 -> Microsoft.CodeAnalysis.Razor 5.0.0 -> Microsoft.CodeAnalysis.Common (>= 3.7.0)
Mcp.Framework.AspNetCore.Mvc.UI.Theme.SmartAdmin -> Mcp.Framework.KendoUI -> Telerik.UI.for.AspNet.Core 2020.3.1118 -> Microsoft.CodeAnalysis 3.3.1 -> Microsoft.CodeAnalysis.CSharp.Workspaces 3.3.1 -> Microsoft.CodeAnalysis.Common (= 3.3.1).Mcp.Framework.AspNetCore.Mvc.UI.Theme.SmartAdminD:\Repos\MCPFramework\src\Mcp.Framework.AspNetCore.Mvc.UI.Theme.SmartAdmin\Mcp.Framework.AspNetCore.Mvc.UI.Theme.SmartAdmin.csproj1
Hi,
Starting with latest R3 2020 SP2 release Telerik UI for ASP.NET Core Officially Supports .NET 5.
https://www.telerik.com/support/whats-new/aspnet-core-ui/release-history/ui-for-asp-net-core-r3-2020-sp2
During the testing phase we followed the guidelines for migrating rom ASP.NET Core 3.1 to 5.0 from Microsoft:
https://docs.microsoft.com/en-us/aspnet/core/migration/31-to-50?view=aspnetcore-5.0&tabs=visual-studio
Here is a list of third-party dependencies along with the updated versions that we've modified for your reference:
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.7.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="5.0.0" />
<PackageReference Include="System.Drawing.Common" Version="5.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="5.0.0" />
</ItemGroup>
Here is also a troubleshooting article related to Upgrading to .NET5 that you might find useful:
https://docs.telerik.com/aspnet-core/troubleshoot/troubleshooting-net5
"Microsoft.CodeAnalysis" Version="3.3.1": https://www.screencast.com/t/hxFagtt10n
"Microsoft.CodeAnalysis" Version="3.7.0": https://www.screencast.com/t/GC9tYFYwKkUG
I hope this helps.
Regards,
Misho
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.