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

Could not be loaded. The root element is missing. (Microsoft.NET.Sdk.SourceLink.targets) #1257

Open
jlabraibarraSH opened this issue Aug 7, 2024 · 0 comments

Comments

@jlabraibarraSH
Copy link

I'm trying to compile an app on iOS. With dotnet 8.0.303. But it gives me the following error.

Severity Code Description Project File Line Status Deleted
Error (active) MSB4024 The imported project file "C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.SourceLink.GitHub\build\Microsoft.SourceLink.GitHub.targets" could not be loaded. The root element is missing.	AppTh C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.SourceLink.targets 29

It is worth mentioning that I already installed the NuGet package 'sourcelink' but the error just keeps appearing.

Does anyone know how to solve it?

1_Error_Console
1_NuGet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant