Error compiling 22.4

This forum is for programmers who have questions about the source code.
Post Reply
vicron
Posts: 7
Joined: Fri Jun 23, 2023 7:38 am

Error compiling 22.4

Post by vicron » Fri Jun 23, 2023 8:10 am

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

Ray.Casey
Posts: 11
Joined: Wed Jan 11, 2023 2:08 pm

Re: Error compiling 22.4

Post by Ray.Casey » Fri Jun 23, 2023 2:16 pm

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...

vicron
Posts: 7
Joined: Fri Jun 23, 2023 7:38 am

Re: Error compiling 22.4

Post by vicron » Fri Jun 23, 2023 3:48 pm

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.

Ray.Casey
Posts: 11
Joined: Wed Jan 11, 2023 2:08 pm

Re: Error compiling 22.4

Post by Ray.Casey » Sat Jun 24, 2023 8:12 am

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?

vicron
Posts: 7
Joined: Fri Jun 23, 2023 7:38 am

Re: Error compiling 22.4

Post by vicron » Mon Jun 26, 2023 7:27 am

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.

Post Reply