Description
This issue has been moved from a ticket on Developer Community.
[regression]
VS2022 Ver.17.8.4 with .net8.0-android34.0 project
Java sources within project those which build-action set to "AndroidJavaSource" causes compile error.
After cleaning the solution or project, the build is successfully, and success to deploy package into device, too.
And .cs files(callable-wrapper files) are generated in /obj/Debug/net8.0-android34.0/generated/src/, but IDE continue to indicate CS0246 error and so on.
After change the source , build is fault with error and files in generated/src are deleted.
We add generated .cs files to the project , IDE's error is disapeared, but build failed with dupulicate definition error.
After all we need to clean→build every time to debug the source.
How can I add Java source code to a project without getting an error?
Original Comments
Feedback Bot on 1/23/2024, 08:52 PM:
(private comment, text removed)
Dean Ellis [MSFT] on 1/24/2024, 06:05 AM:
(private comment, text removed)
デスクトップPC ユーカリ on 1/24/2024, 07:01 AM:
(private comment, text removed)
デスクトップPC ユーカリ on 1/26/2024, 08:27 AM:
(private comment, text removed)
デスクトップPC ユーカリ on 1/26/2024, 04:04 PM:
(private comment, text removed)
Original Solutions
(no solutions)