Sunday
Sunday

Reputation: 129

Internal compiler error occurring at build uwp C#

I tried to build my uwp app but an internal compiler error occurred. I deleted the bin and obj files and tried building again, but it didn't work.

enter image description here Error message occurred

https://github.com/Sunday5214/Catch_The_Covid_19/tree/master/UWP/CatchTheCovid19_UWPClient

This is the GitHub link for the project. I think it's a dependency issue and attach it

No matter how googled I see no similar example. I hope there is someone who can fix this

enter image description here

enter image description here

After commenting out the problem line

enter image description here

Upvotes: 0

Views: 669

Answers (2)

Michael Xu
Michael Xu

Reputation: 4432

I downloaded the repo and tried to build, but there are many errors. I did some modifications:

  1. In RestManager.cs, i modified line 53:

    T resp = default(T);
    
  2. Project CatchTheCovid19.Serial built unsuccessfully. I checked the CatchTheCovid19.Serial.csproj file, found out that the path of the references is using with relative path. I'm not sure why you were using with relative path.I changed them to absolute path, the solution built without any errors. Hope that help with you.

enter image description here

Upvotes: 1

Sisir
Sisir

Reputation: 5418

You can change your log settings to generate detailed log rather than normal logs. That may help give you more clues. Check this MSDN page. In the settings change the verbosity to Diagnostic. See if that helps. Also you have a warning. See if you can fix that. Wild guess, but that may also be causing the compiler to fail.

enter image description here

Upvotes: 0

Related Questions