본문 바로가기
Unity/[Asset] DarkRift 2 - Study

DarkRift 2 빌드 후 처리 이벤트

by ejrtks 2022. 8. 2.

1. 솔루션 내의 서버 프로젝트

xcopy /y "$(SolutionDir)LogicServer\bin\Debug\LogicServer.dll" "$(SolutionDir)"..\"DarkRiftConsole\Plugins\"

 

2. 솔루션 내의 서버 모델 프로젝트

xcopy /y "$(SolutionDir)LogicServerModel\bin\Debug\LogicServerModel.dll" "$(SolutionDir)"..\"Assets\Plugins\"
xcopy /y "$(SolutionDir)LogicServerModel\bin\Debug\LogicServerModel.dll" "$(SolutionDir)"..\"DarkRiftConsole\Plugins\"

 

 

** 주의

 ㄱ.  빌드 후 처리 이벤트가 에러가 나는 경우는 해당 프로젝트의 디렉토리 하이어라키 구조를 잘 살펴보자.  

 ㄴ. 의외로 경로 이름이 틀리거나, 다를 경우가 많이 발생한다.

  ㄷ. dll 이름은 프로젝트 어셈블리 네임과 동일하다.

댓글