EntitySpaces icon indicating copy to clipboard operation
EntitySpaces copied to clipboard

Studio - error when open a previously created proyect

Open paulcordova opened this issue 2 years ago • 2 comments

When I create a new proyect and add themplates, generated code and save the project all works ok

BUT, when I open the previously created project file, I get this error And I coludn't open the project file and I must start from zero, :-(

I tested also with Studio version EntitySpacesStudio_20191.1218.0 and the error occurs too

thanks in advance

image

Error Message Object reference not set to an instance of an object.

at EntitySpaces.MetadataEngine.esSettings2010.SetDefaultSettings() at EntitySpaces.Common.esProject2010.Load(String fileNameAndFilePath, esSettings mainSettings) at EntitySpaces.Common.esProject.ConvertProject(String fileNameAndFilePath, esSettings settings) at EntitySpaces.Common.esProject.Load(String fileNameAndFilePath, esSettings mainSettings) at EntitySpaces.AddIn.ucProjects.OpenProject(String fileNameAndPath)

paulcordova avatar Jul 21 '22 16:07 paulcordova

Hi @paulcordova - I also noticed this and raised issue #17 and checked in a fix in my fork. I'm unable to run it though, so I'm running ES2012 code generator for now

mattphi avatar Jul 22 '22 02:07 mattphi

Hi @mattphi Thanks for your quick responde :-)

I installed the ES2012 Studio, but I have the same error. Very strange image

But I noticied that that templates for 2012 vs 2019 diffiers for C# template Hierarchical.cs this changes will work fine if I replace the 2019 template into 2012? this is restricted if I colud run ES2012 studio again image

By other hand, I download your for Git repo, thanks for add support for Net6 in SqlServer. Ill test in the next days But I cant compile the assemblies for SqLite and MySql I get error this error in all them image Was a missing include for OverClause folder and is included files After that, both solutions complied ok image

Finally you know why the code for ESStudio is not published in the original repo ?

Thanks in advance for your time Regards

paulcordova avatar Jul 22 '22 05:07 paulcordova