5.0.7 Fails to build against .Net 4.6

Posts   
 
    
timtitch
User
Posts: 2
Joined: 07-Nov-2016
# Posted on: 07-Nov-2016 10:37:33   

Hi

I have just upgraded to 5.0 (5.0.7) RTM

I loaded in a small sql server 2012 project, chose adapter template, C# target platform 4.6 and keep getting the following exception when generating

4.6.1 and 4.5.2 work ok.

I have tried deinstalling/resinstalling clean I have tried 32bit/64 bit version of llblgen running Windows 7 64bit

Thanks Tim

Exception information.

LLBLGen Pro version: v5.0. Build: 5.0.7

Exception details:

Message: Compilation of templates threw errors: Error CS0117, at line: 2370, pos: 39: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 2380, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 2477, pos: 39: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 2531, pos: 54: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 2622, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 2815, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 2873, pos: 52: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 3722, pos: 39: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 3757, pos: 40: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 3764, pos: 38: 'SD_GeneralUtils' does not contain a definition for 'DetermineFieldLabelText' Error CS0117, at line: 3835, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 3896, pos: 44: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 3904, pos: 43: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 4283, pos: 43: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 4291, pos: 42: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 4506, pos: 43: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 4514, pos: 42: 'SD_GeneralUtils' does not contain a definition for 'ProduceEditControlTagForField' Error CS0117, at line: 4691, pos: 44: 'SD_GeneralUtils' does not contain a definition for 'GetForfsToProcess' Error CS0117, at line: 4812, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 4984, pos: 44: 'SD_GeneralUtils' does not contain a definition for 'GetForfsToProcess' Error CS0117, at line: 5035, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 5395, pos: 44: 'SD_GeneralUtils' does not contain a definition for 'GetForfsToProcess' Error CS0117, at line: 5457, pos: 53: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 5695, pos: 44: 'SD_GeneralUtils' does not contain a definition for 'GetForfsToProcess' Error CS0117, at line: 5729, pos: 51: 'SD_GeneralUtils' does not contain a definition for 'FindRelation' Error CS0117, at line: 5819, pos: 52: 'SD_GeneralUtils' does not contain a definition for 'FindRelation'

Source: SD.LLBLGen.Pro.LptParser Stack trace: at SD.LLBLGen.Pro.LptParser.DotNetTemplateEngine.CompileForTDLIncludeTemplates(ITask taskDefinition) at SD.LLBLGen.Pro.TaskPerformers.CodeEmitter.CompileLptTemplatesIfNecessary(ITask taskDefinition) at SD.LLBLGen.Pro.TaskPerformers.CodeEmitter.Perform(IGenerator executingGenerator, ITask taskDefinition, Dictionary2 parameters) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.Task.PerformElement(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroupElement.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroup.PerformElement(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroupElement.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroup.PerformElement(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroupElement.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.GeneratorCore.Generator.RunTasks(String rootNameSpaceToUse, String destinationRootFolder, String groupName) at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(CodeGenerationTaskBase codeGenTask, ApplicationConfiguration configurationSettings) at SD.LLBLGen.Pro.Gui.Classes.GuiController.PerformRunCodeGenerationCycleAction(List1 codeGenTasks, List`1 vsNetProjectsCreated, Boolean debugBuild, LogNode& tasksResultLog)

Inner exception: <null>

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 07-Nov-2016 16:36:17   

I can't reproduce it.

Can you try to reproduce it on a different machine?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 07-Nov-2016 20:41:56   

additionally, do you use custom templates or are these vanilla templates?

Frans Bouma | Lead developer LLBLGen Pro
timtitch
User
Posts: 2
Joined: 07-Nov-2016
# Posted on: 08-Nov-2016 09:57:50   

Hi

That was it, there were some old templates I downloaded a while back (.Net GUI stuff).

I had deinstalled and cleared out the install directory before resinstalling 5.0.7 so I had assumed they has gone - any how they were still in the Preferences so I cleared the preferences Additional tasks folder entry and all good

Thanks for your help

Tim