Forum Posts

jcorder
Mar 23, 2022
In Windows Forms
In converting my mm 2010 projects to mm 2019, I have run across my code implementing mmFactoryDesktop. I tried using mmFactory, I get an error: System.InvalidCastException: 'Unable to cast object of type 'Ambit.POS.Main.Factory' to type 'OakLeaf.MM.Main.Windows.Forms.ImmFactoryWinForms'.' I can't find any references in the help file to ImmFactoryWinForms. I have included MM.NET Framework Windows Forms 2019, but I don't can't find the factory I need to override. Thanks, Jeff
0
3
15
jcorder
Jun 22, 2021
In Entity Framework
I have a .Net 5.0 project and I'm getting an error on mmFactory in AAppTest.cs Here are the particulars: Data Project using Framework .Net 5 (MM Standard) MM Assemblies: Oakleaf.MM2019.Framework.EF.Full Oakleaf.MM2019.Framework.EF.Standard Oakleaf.MM2019.Framework.Standard Oakleaf.MM2019.Interfaces.Standard In AAppTest.cs An error attached to mmFactory: Error CS0012 The type 'mmFactoryStandard' is defined in an assembly that is not referenced. You must add a reference to assembly 'OakLeaf.MM2019.Framework.EF, When I Add Oakleaf.MM2019.Framework.EF, I get 2000+ errors, most of which are some variant of Error CS0433 The type 'mmBusinessRule' exists in both 'OakLeaf.MM2019.Framework.EF.Standard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=0e0547488df5a428' and 'OakLeaf.MM2019.Framework.EF, Version=4.8.1.0, Obviously, Framework.EF.Standard is a replacement for Framework.EF and both should not be inlcuded in the same project (which was my original assumption). It looks like mmFactoryStandard is not defined in Oakleaf.MM2019.Framework.EF.Standard and should be. Or, I should be using something else. Or I’m doing something wrong (most likely). Thanks for your help.
0
0
21
jcorder
Nov 19, 2020
In Windows Forms
I purchased the updated MM product (I was using 2010). I figured I'd have some serious changes to get it working. I Installed the product and had a lot of errors different from when I was working on the demo version. I thought the best idea would be to go through the Jumpstart, then compare what is different. However, when I tried, there are no templates installed. I went through the list of changes the installation is supposed to make and the files installed and they all appear to be in place. Any ideas on why I don't have any templates? Thanks, Jeff
0
3
35
jcorder
More actions