1.빌드 이벤트 명령줄 대화 상자 (빌드전 편집)
if not exist "$(TargetDir)\Dll" mkdir "$(TargetDir)\Dll"
2.빌드후 이벤트 명령줄 (빌드후 편집)
move "$(TargetDir)\*.dll" "$(TargetDir)\Dll"
del "$(TargetDir)\*.xml"
RD /S /Q "$(TargetDir)\de"
RD /S /Q "$(TargetDir)\es"
RD /S /Q "$(TargetDir)\ja"
RD /S /Q "$(TargetDir)\ru"
3.App.config 파일 수정
-문구 추가
<probing privatePath ="Dll" />
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath ="Dll" />
</assemblyBinding>
</runtime>
</configuration>
'c#' 카테고리의 다른 글
Windows 10 및 Windows 11에서 가상 데스크톱을 관리하는 C# command util 도구 (0) | 2023.07.04 |
---|