I have this ASP.NET Framework-4.8 project called:
MyOTPWebService
It resides in:
C:MypathMy_ProjectsMyTiger
which is:
C:MypathMy_ProjectsProjectTigerMyWebService
It builds fine, but when I tried to publish into:
C:UsersmyappDesktopMy_DeploymentsMyOtp
I got this error:
Publish has encountered an error.
Error Copying file .vsMy_WebServiceFileContentIndexf74e8642-dd7b-4a97-a9ef-86760105c3db.vsidx to C:UsersmyappAppDataLocalTempWebSitePublishMyWebService–676085791objDebugPackagePackageTmp.vsMy_WebServiceFileContentIndexf74e8642-dd7b-4a97-a9ef-86760105c3db.vsidx failed. The process cannot access the file ‘.vsMy_WebServiceFileContentIndexf74e8642-dd7b-4a97-a9ef-86760105c3db.vsidx’ because it is being used by another process.
It is in Visual Studio 2022, but since it is ASP.NET Framework-4.8 project, it doesn’t have: Clean Solution and Clean Project
1