“Object reference not set to an instance of an object” when building my cloud project

前端 未结 11 1687
灰色年华
灰色年华 2020-12-28 13:27

When I build my solution with a bunch of cloud projects, I see one or more \"Error: Object reference not set to an instance of an object\" messages in the output. When I try

11条回答
  •  眼角桃花
    2020-12-28 13:30

    I had a similar issue when a publish exited out and I started receiving the 'Object not found' error. VS2013 (in my case) was reporting that 'diagnostics.wadcfg' was missing and had unusually stored this into a different directory.

    By going into the project file (.ccproj) and removing the erroneous entry from the 'Project\ItemGroup\Content Include "\diagnostics.wadcfg" and reloading the project - everything kicked back into life.

    Failing that, check a working project file against the offending project file for inconsistencies.

提交回复
热议问题