Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Studio - error when open a previously created proyect #34

Open
paulcordova opened this issue Jul 21, 2022 · 2 comments
Open

Studio - error when open a previously created proyect #34

paulcordova opened this issue Jul 21, 2022 · 2 comments

Comments

@paulcordova
Copy link

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)

@mattphi
Copy link

mattphi commented Jul 22, 2022

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

@paulcordova
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants