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

Error in 2.4

2 Answers 392 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Veteran
Rick asked on 19 Nov 2019, 04:28 PM

Upgraded to the latest and am getting these errors.

 

Project builds and so far seems to function regardless.

 

 

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorCS0234The type or namespace name 'Shared' does not exist in the namespace 'PurchaseRequest' (are you missing an assembly reference?)PurchaseRequestC:\Users\rjd\source\repos\PurchaseRequest\PurchaseRequest\Pages\Index.razor1Active
ErrorCS0246The type or namespace name 'MainLayout' could not be found (are you missing a using directive or an assembly reference?)PurchaseRequestC:\Users\rjd\source\repos\PurchaseRequest\PurchaseRequest\Pages\Index.razor1Active
ErrorCS0234The type or namespace name 'Shared' does not exist in the namespace 'PurchaseRequest' (are you missing an assembly reference?)PurchaseRequestC:\Users\rjd\source\repos\PurchaseRequest\PurchaseRequest\Pages\Index.razor1Active

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 19 Nov 2019, 07:10 PM

Hi Rick,

Can you confirm that you have .NET Core 3.1 Preview 3 installed?

This looks like an issue with the builds and I do not see anything related to the Telerik components in these errors. So,  you can try running a Clean+Rebuild to see if this helps. If not, try deleting all the bin and obj folders in the project(s) and rebuild them.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
Rick
Top achievements
Rank 1
Veteran
answered on 19 Nov 2019, 08:06 PM
I had done all of that and restarted VS but it was still there. Rebooting machine cleaned it up.
Tags
General Discussions
Asked by
Rick
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Rick
Top achievements
Rank 1
Veteran
Share this question
or