Duplicate form name

techedge

Well-known member
Hi Thomas,

I realized that I accidentally named my property name with the same name of my one to many relationship form and got the following error message:

Message :Generated assembly failed. <br/>c:\Users\User\AppData\Local\Temp\zup5tqay.0.cs(148,59) : error CS0102: The type 'TigerSoftware.BusinessObjects.TasksProperty' already contains a definition for 'TaskCategory' <br/><br/>
StackTrace : at TigerSoftware.CodeParser.Builder.AssemblyBuilder.CreateAssembly(List`1 referencedAssemblies, String assemblyName, String assemblyPath)
at Esb.Desktop.Builder.DesktopAssemblyBuilder.CreateAssembly()
at Esb.Desktop.Builder.DesktopAssemblyBuilder.BuildAssembly()
at TigerSoftware.ModuleBase.XafApplicationControllerBase.CreateClasses()
Date :10/1/2024 10:46:51 AM

-----------------------------------------------------------------------------

However, after I deleted the second form which has duplicate name and trying to save the change, it won't let me save my changes.

What do you suggest to resolve this issue?

Thanks,
Mohammed
 

techedge

Well-known member
Hi Thomas,

I have deleted the duplicate property from the main form and it let me delete and save my work. I am able to re-run my application without issue now so you don't have to look into this further.

Thanks
 

TigerSoftware

Administrator
Staff member
Hi Thomas,

I have deleted the duplicate property from the main form and it let me delete and save my work. I am able to re-run my application without issue now so you don't have to look into this further.

Thanks

Great! Glad you got it working.


Thomas
 
Last edited:
Top