2022년 2월 23일 수요일

activitylog.xml visual studio 2019 error

 unity 프로젝트의 아무 script를 실행시켜도 이런에러가 계속 발생해서 디버깅이 너무힘들어

고치기로 했다.(참고 계속 한 나도 대단;;)



(그림1) 에러발생현황

발생한 에러


일단 구글링을 하기전 activitylog.xml을 한번 들여다보기로 했다


Activity Monitor Log


PkgDefManagement: PkgDef cache fast check returned false; cache will be regenerated. ..


긁어서 검색해봤지만 별 수확 없었음


어쩔수없이

activitylog.xml visual studio 2019 error 를 검색해보기로함


Please close all Visual Studio instances, and go to this directory C:\Users[user name]\AppData\Local\Microsoft\VisualStudio\16.0_XXXX then find and rename(or delete) every subfolders named “ComponentModelCache”.


밑에 댓글에 도움이 안됫다는 말이 있지만 한번 해보기로함


캐시삭제


그래도 안됨 ㅋ.



계속 안될때는 이렇게 해보라는 답변이 있었음

If this issue still persists, please kindly try following steps to troubleshoot.


Launch Developer Command Prompt for VS 2019 > type devenv /ResetSkipPkgs > press Enter to start VS.


Run Visual Studio 2019 as administrator.


Launch Visual Studio Installer > find Visual Studio 2019 > More/Update > Repair to repair or update VS 2019.


믿고 진행



관리자권한으로 업데이트 진행!


과연??!?!

응 안됨 ㅋ



내가 통한 해결법(Fixed!!!)

window->packageManager->Visual Studio Editor-> Remove!!

패키지에서 비쥬얼스튜디오에디터 삭제!!!



이제된다!!!!

Done!



git rejected error(feat. cherry-pick)

 문제 아무 생각 없이 pull을 받지않고 로컬에서 작업! 커밋, 푸시 진행을 해버렷다. push에선 remote와 다르니 당연히 pull을 진행해라고 하지만 로컬에서 작업한 내용을 백업하지 않고 진행하기에는 부담스럽다(로컬작업 유실 가능성) 해결하려...