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

Compiler errors #14267

Closed
MrsLeigh opened this issue Mar 29, 2023 · 9 comments
Closed

Compiler errors #14267

MrsLeigh opened this issue Mar 29, 2023 · 9 comments
Labels
s/needs-info Issue needs more info from the author t/bug Something isn't working tutorials

Comments

@MrsLeigh
Copy link

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/run
Operating System: windows

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Just doing the initial build of the application after I turned on the Developer Mode I got this set of error messages as shown below

Severity Code Description Project File Line Suppression State
Error DEP0700: Registration of the app failed. [0x80073D1F] MyFirstMauiApp
Severity Code Description Project File Line Suppression State
Error MSB4044 The "GenerateResourceDesigner" task was not given a value for the required parameter "JavaPlatformJarPath". MyFirstMauiApp C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Common.targets 1025

@Eilon
Copy link
Member

Eilon commented Mar 29, 2023

Paging Mr. @jonathanpeppers .

@jonathanpeppers
Copy link
Member

Can you share a diagnostic MSBuild log of this error?

If you hit this in a brand new, empty project, it seems like something went wrong with your installation? The error means the MSBuild .targets file doesn't match the .dll file that contains the GenerateResourceDesigner class.

@jonathanpeppers jonathanpeppers added the s/needs-info Issue needs more info from the author label Mar 29, 2023
@ghost
Copy link

ghost commented Mar 29, 2023

Hi @MrsLeigh. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@MrsLeigh
Copy link
Author

When I try to run the build after adding the debugging steps as described this is the output that I get. Incidently the build isn't successful though.

Thank you.

IsEmulatorSupported: START
Is64BitOperatingSystem = True
DetectSlat: START
isHyperVRunning = False
isHardwareVirtualizationSupported = True
isHardwareVirtualizationEnabledInBIOS = True
DetectSlat: END (Success, 0:00:01.173)
SlatState = SlatAndHWVEnabled
IsEmulatorSupported = True
IsEmulatorSupported: END (Success, 0:00:01.199)

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Mar 29, 2023
@mattleibow
Copy link
Member

This looks like 2 errors for 2 separate platforms?

  • Error DEP0700: Registration of the app failed. [0x80073D1F] MyFirstMauiApp

  • Error MSB4044 The "GenerateResourceDesigner" task was not given a value for the required parameter "JavaPlatformJarPath". MyFirstMauiApp C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Common.targets 1025

@MrsLeigh
Copy link
Author

I just set up the application like the demo documentation said to set it up? So I'm not sure if the documentation is missing in the setup. But this is my first attempt to run anything in Maui, so I do not know what I am looking for to know where to even start.

@mattleibow
Copy link
Member

Can you attach a binlog following these steps? https://github.com/xamarin/xamarin-macios/wiki/Diagnosis

@mattleibow mattleibow added s/needs-info Issue needs more info from the author and removed s/needs-attention Issue has more information and needs another look labels Mar 30, 2023
@ghost
Copy link

ghost commented Mar 30, 2023

Hi @MrsLeigh. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Apr 3, 2023
@ghost
Copy link

ghost commented Apr 3, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Apr 6, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 6, 2023
@samhouts samhouts added the t/bug Something isn't working label Jul 31, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Jul 31, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/needs-info Issue needs more info from the author t/bug Something isn't working tutorials
Projects
None yet
Development

No branches or pull requests

5 participants