I've set up a build step using msbuild (Microsoft BuildTools 2019, ToolsVersion 16.0)
If I set build target to Release, I get the error in the title. If I set build target to Debug, I get the equivalent error.
If I don't set a build target at all, I get:
NETSDK1004: Assets file 'C:\TeamCity\buildAgent\work\b8126aa0ba178445\Test\Application\Matisa.Test.ApplicationEnums\obj\project.assets.json' not found
I've tried switching to .NET CLI builder, but it gives the same error.