I was getting an error with the codes MSB3021 & MSB3027 in Visual Studio 2022 Community.,
Severity Code Description Project File Line Suppression State Details
Error MSB3021 Unable to copy file “C:UsersusersourcereposBethanyspieshopBethanyspieshopobjDebugnet8.0apphost.exe” to “binDebugnet8.0Bethanyspieshop.exe”. The process cannot access the file ‘binDebugnet8.0Bethanyspieshop.exe’ because it is being used by another process. Bethanyspieshop C:Program FilesMicrosoft Visual Studio2022CommunityMSBuildCurrentBinamd64Microsoft.Common.CurrentVersion.targets 5254
brahmasaniszone73 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.