Object reference not set to an instance of an object in Build

198 views Asked by At

I am trying to build a project using Visual Studio 2019 and C# but it fails.

CSC : error SI0001: Object reference not set to an instance of an object.

There is not any specific info and I do not know where to look at. I will appreciate some help. PS: I did not change anything in this project and it works for my colleague.

thank you in advance

Output:

Build started...
BuildEvents_OnBuildBegin --12:42:40 PM
1>------ Build started: Project: [ProjectName], Configuration: Debug Any CPU ------
1>CSC : error SI0001: Object reference not set to an instance of an object.
1>warning CS0108: ....
1>warning CS0108: ....
1>warning CS0108: ...
1>warning CS0108: ...
1>warning CS0108: ...
1>warning CS0108: ...
1>Done building project "ProjectName.csproj" -- FAILED.
BuildEvents_OnBuildProjConfigDone Start --12:42:42 PM
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
BuildEvents_OnBuildDone --12:42:42 PM
0

There are 0 answers