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

Update to ASP.NET Core 3.0 GA

7 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephane
Top achievements
Rank 1
Stephane asked on 27 Sep 2019, 10:45 AM

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

Sort by
0
Sajid
Top achievements
Rank 1
answered on 01 Oct 2019, 07:02 PM

Hello Team

We are also having same problem. any idea when this will updated  or is there any workaround there.

 

 

0
Accepted
Dimitar
Telerik team
answered on 02 Oct 2019, 05:53 AM

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Divyang
Top achievements
Rank 1
answered on 16 Oct 2019, 05:12 AM

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?

0
Dimitar
Telerik team
answered on 17 Oct 2019, 12:16 PM

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Divyang
Top achievements
Rank 1
answered on 17 Oct 2019, 12:25 PM

Hi Dimitar

That's great, thanks for the information. I'll wait till the Service Pack is released.

0
Venku
Top achievements
Rank 1
answered on 23 Dec 2020, 02:40 AM

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

0
Misho
Telerik team
answered on 25 Dec 2020, 07:09 AM

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/.

Tags
General Discussions
Asked by
Stephane
Top achievements
Rank 1
Answers by
Sajid
Top achievements
Rank 1
Dimitar
Telerik team
Divyang
Top achievements
Rank 1
Venku
Top achievements
Rank 1
Misho
Telerik team
Share this question
or