본문 바로가기

C#

C# 솔루션, 프로젝트 빌드 경로 변경

반응형
  • 솔루션 탐색기 > 프로젝트 이름(BuildPatchChange) 더블 클릭
  • 솔루션 탐색기 > 프로젝트 이름(BuildPatchChange) 우클릭 > 프로젝트 파일 편집

 

  • 입력
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <OutputPath>../bin/BuildPathChange/</OutputPath>
  </PropertyGroup>

 

  • Release로 빌드하여 결과 확인

 

  • net8.0 폴더 제거 입력
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

 

  • Release로 빌드하여 결과 확인

반응형