>
Programming/C#

C# dll 참조할때 Debug, Release 각각 따로 참조하도록 하는 법

https://social.msdn.microsoft.com/Forums/vstudio/en-US/9087fb4f-149f-4d66-b33e-f2f280c65fa6/how-to-set-different-references-in-debug-and-release-mode?forum=clr


https://linsoo.co.kr/archives/20906


비주얼 스튜디오에서는 직접적으로 지원하는 기능은 아닌듯...

해당 프로젝트의 .csproj 파일을 연뒤


방법1


<HintPath Condition="'$(Configuration)'=='Debug'">..\External\VelcroPhysics\bin\Debug\net45\VelcroPhysics.MonoGame.dll</HintPath>

<HintPath Condition="'$(Configuration)'=='Release'">..\External\VelcroPhysics\bin\Release\net45\VelcroPhysics.MonoGame.dll</HintPath>


방법2


<HintPath>..\External\VelcroPhysics\bin\$(ConfigurationName)\net45\VelcroPhysics.MonoGame.dll</HintPath>

'Programming > C#' 카테고리의 다른 글

Winform TextBox에 숫자만 입력되도록 하기  (0) 2019.01.13
,

최근 댓글

최근 트랙백

알림

이 블로그는 구글에서 제공한 크롬에 최적화 되어있고, 네이버에서 제공한 나눔글꼴이 적용되어 있습니다.

태그

카운터

Today :
Yesterday :
Total :