In my case there was 2 csproj files in solution folder , after removed backup.csproj , worked .thanks