0

The below are the issues I am getting when I am cleaning and Building the project.

When we are running the project iOS or Android both is occurring same error:

/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/Current/Microsoft.Common.props(3,3): Error MSB4019: The imported project "/Users/…..iOS/obj/ABSConfigurator.iOS.csproj.*.props" was not found. Confirm that the expression in the Import declaration “ABSConfigurator.iOS.csproj.*.props" is correct, and that the file exists on disk. (MSB4019)

When I am restoring the package then below are the error:

Error: NuGet packages need to be restored before building. NuGet MSBuild targets are missing and are needed for building. The NuGet MSBuild targets are generated when the NuGet packages are restored.
3
  • You can try to delete the bin folders and the obj folders and rebuild it . If it doesn’t work ,try to restart the VS . Commented Dec 7, 2022 at 6:32
  • @JessieZhang-MSFT: I have tried delete bin / obj folder, clean the project, close and reopen visual studio, restoring packages, etc,... but no use. It is showing same issue.
    – Ben
    Commented Dec 7, 2022 at 6:58
  • Is your visual studio preview version? Commented Dec 8, 2022 at 8:33

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.