Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stupid cms not build in VS 2022 #344

Open
ednsinf opened this issue Sep 28, 2024 · 2 comments
Open

Stupid cms not build in VS 2022 #344

ednsinf opened this issue Sep 28, 2024 · 2 comments

Comments

@ednsinf
Copy link

ednsinf commented Sep 28, 2024

Stupid cms not build in VS 2022

Severity Code Description Project File Line Suppression State
Error (active) CS0246 The type or namespace name 'ViewDataDictionary' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\ViewContextExtensions.cs 26
Error (active) CS0246 The type or namespace name 'ViewDataDictionary' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\ViewContextExtensions.cs 32
Error (active) CS0246 The type or namespace name 'ViewDataDictionary' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\ViewDataDictionaryExtensions.cs 19
Error (active) CS0246 The type or namespace name 'ViewDataDictionary' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\ViewDataDictionaryExtensions.cs 19
Error (active) CS0246 The type or namespace name 'ViewDataDictionary' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\ViewDataDictionaryExtensions.cs 19
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\GridModel.cs 23
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\GridModel.cs 53
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\GridModel.cs 87
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridColumn.cs 49
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridColumn.cs 55
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridColumn.cs 69
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridColumn.cs 74
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridItemColumn.cs 37
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridItemColumn.cs 42
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridItemColumn.cs 73
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridItemColumn.cs 78
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid2\IGridModel.cs 53
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridAction.cs 20
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridAction.cs 24
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridActionAttribute.cs 20
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridColumn.cs 28
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridItem.cs 66
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridItem.cs 93
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridItem.cs 119
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridItem.cs 173
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridModel.cs 21
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridModel.cs 49
Error (active) CS0246 The type or namespace name 'ViewContext' could not be found (are you missing a using directive or an assembly reference?) Kooboo C:\Users\xxx\Downloads\CMS-4.2.0\Kooboo.CMS\Kooboo\Web\Mvc\Grid\GridModel.cs 59

@LordDelacroix
Copy link

ViewDataDictionary Class

Reference

Definition

Namespace: System.Web.Mvc
Assembly: System.Web.Mvc.dll
Package: Microsoft.AspNet.Mvc v5.2.6

You appear to be missing a reference to Microsoft.AspNet.Mvc.
Use nuget and add a reference to the named package.

@ednsinf
Copy link
Author

ednsinf commented Sep 28, 2024

Not works after add reference is a bug in project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants