Hi. I have followed the codehinting instructions (Dynamicweb 9), to the letter, but I am enable to eliminate some last errors.
Its clear from the examples below, that its a Linq issue,but I installed System.Linq, reloaded project, rebuilt project, restarted VS etc. They dont go away.
Hope somene has an idea. Cheers
//Steve
Some examples
Severity Code Description Project File Line Suppression State
Error CS1061 'string[]' does not contain a definition for 'ToList' and no accessible extension method 'ToList' accepting a first argument of type 'string[]' could be found (are you missing a using directive or an assembly reference?) 5_Files_Templates_Designs_Swift_Paragraph_Swift_ProductSpecification.cshtml C:\DynamicWeb\Solutions\valvoline\Files\Templates\Designs\Swift\Paragraph\Swift_ProductSpecification.cshtml 24 Active
Severity Code Description Project File Line Suppression State
Error CS1955 Non-invocable member 'List<CategoryFieldViewModel>.Count' cannot be used like a method. 5_Files_Templates_Designs_Swift_Paragraph_Swift_ProductSpecification.cshtml C:\DynamicWeb\Solutions\valvoline\Files\Templates\Designs\Swift\Paragraph\Swift_ProductSpecification.cshtml 69 Active
Severity Code Description Project File Line Suppression State
Error CS1061 'List<FieldOptionValueViewModel>' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'List<FieldOptionValueViewModel>' could be found (are you missing a using directive or an assembly reference?) 5_Files_Templates_Designs_Swift_Paragraph_Swift_ProductSpecification.cshtml C:\DynamicWeb\Solutions\valvoline\Files\Templates\Designs\Swift\Paragraph\Swift_ProductSpecification.cshtml 286 Active