how can i solve Microsoft.MakeFile.targets(44, 5): [MSB3073]

From the output, I guess there is something wrong within your ToggleInventory function or inside the SetupPlayerInput…

Could you check have you already define that function and bind it properly? you can copy your .h and .cpp too here that related to SetupPlayerInput and ToggleInventory.