Page 1 of 1

Error compiling 22.4

Posted: Fri Jun 23, 2023 8:10 am
by vicron
Hello All

This is my first post. I am trying to compile version 22.4 using VS2022 community edition. I am getting this error.

Error CS0234 The type or namespace name 'AuthorizationRequest' does not exist in the namespace 'Google' (are you missing an assembly reference?) OpenDental ...\opendental-22_4\OpenDental\Forms ....\opendental-22_4\OpenDental\Forms\FormEmailAddressEdit.cs 250 Active

Any help will be appreciated

Thanks

Re: Error compiling 22.4

Posted: Fri Jun 23, 2023 2:16 pm
by Ray.Casey
I have not even been able to run a get yet :( so I am following you. Do you have the log files? Did you run. These switches? msbuild MyProject.proj -t:go -v:diag

And can you share any links you gphave that describe how to fetch the build and prepare vs2022 to compile the build...

Re: Error compiling 22.4

Posted: Fri Jun 23, 2023 3:48 pm
by vicron
Hi ray

I downloaded the source code from github. Then I opened the project file within VS.
Removed some references to project files that were not included in the source code
Also had to make some references to the required dlls folder.

Re: Error compiling 22.4

Posted: Sat Jun 24, 2023 8:12 am
by Ray.Casey
Ok. Well I am still digging. I would like to see the verbose logging for the build attempt. My complete speculation is "what's the google oauth issue(s)?" Maybe ya a re missing a build package related to using the Google API's?

Re: Error compiling 22.4

Posted: Mon Jun 26, 2023 7:27 am
by vicron
I finally got it to compile in debug mode
I started from scratch and everything went through.

If I tried to compile in release mode, it gives a ton of errors.
But the compiled debug mode version works so far. Still to test it fully.