Page 1 of 1

20.4 Compiliation Errors

Posted: Wed Aug 19, 2020 10:36 am
by ajhalls
I downloaded HEAD this morning and tried to compile. I did the steps with Corflags, VirtualWeb, and OpenDentHelp and have the following errors.

Missing Namespace: OpenDental.Forms

After commenting out the `using` statements, I get:
'Browser' does not contain a definition for 'GetComputerNameCookie' \OpenDental\Main Modules\ProgramEntry.cs 29

After hardcoding the computername to be `localhost`, it compiles.

I am just playing around finally with trying to build a plugin. I am able to do what I need, but thought I would pass that info along.

Re: 20.4 Compiliation Errors

Posted: Wed Aug 19, 2020 12:29 pm
by wjstarck
It built just fine for me a few minutes ago.

Re: 20.4 Compiliation Errors

Posted: Thu Aug 20, 2020 3:01 pm
by jordansparks
I did see this error:
Missing Namespace: OpenDental.Forms
a few days ago. It's an error I had never seen previously. I think I resolved it in just a few seconds, but I don't remember how. I do know that VS has been adding "using" statements for me lately. It's trying to be helpful, but it's really unhelpful since it adds the wrong ones. Sounds like you made a few changes so that it would compile. That's pretty common.

Re: 20.4 Compiliation Errors

Posted: Thu Aug 20, 2020 3:52 pm
by jordansparks
And now I'm getting the GetComputerNameCookie error. One of our engineers committed something that doesn't compile. They usually figure it out and fix it quickly. But it doesn't seem to be fixed yet. I'll pester them.

Re: 20.4 Compiliation Errors

Posted: Thu Aug 20, 2020 4:03 pm
by jordansparks
Sometimes, in the head, the DLLs in the RequiredDlls folder get a little bit out of date. We don't notice it because we have the source code for those DLLs, so it all still compiles for us.