dotnet CLI를 사용하여 .NET 솔루션/프로젝트를 빌드합니다. 컴파일, 종속성 복원 또는 아티팩트 빌드 작업 시 사용합니다.
/plugin marketplace add icartsh/icartsh_plugin/plugin install icartsh-plugin@icartsh-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/build-solution.mdreferences/restore-deps.mdscripts/build-all.sh목표: 정확한 빌드 절차를 안내합니다.
references/build-solution.mdreferences/restore-deps.md.csproj, .sln 파일)다음의 경우에는 사용하지 마세요: 테스트 (dotnet-test), 포맷팅 (code-format), 또는 분석 (code-analyze)
입력: target (solution/project/all), configuration (Debug/Release), project_path (기본값: ./dotnet/PigeonPea.sln)
출력: artifact_path (bin/ 디렉토리), build_log, 종료 코드 (0=성공)
가드레일: ./dotnet 디렉토리 내에서만 작업하며, bin/obj/ 디렉토리는 커밋하지 않습니다. 멱등성(idempotent) 있는 빌드를 지향합니다.
1. 전체 솔루션 빌드 → references/build-solution.md
2. 종속성만 복원 → references/restore-deps.md
cd ./dotnet
dotnet build PigeonPea.sln
cd ./dotnet
dotnet build PigeonPea.sln --configuration Release
cd ./dotnet
dotnet restore PigeonPea.sln
dotnet build PigeonPea.sln --no-restore
cd ./dotnet
dotnet clean PigeonPea.sln
dotnet build PigeonPea.sln
cd ./dotnet
dotnet build console-app/PigeonPea.Console.csproj
cd ./dotnet
dotnet build PigeonPea.sln --verbosity detailed
빌드 실패: 에러 메시지를 확인하세요. 상세한 에러 처리는 references/build-solution.md를 참조하세요.
종속성 누락: dotnet restore를 실행하세요. references/restore-deps.md를 참조하세요.
NU1301 (service index): NuGet에 접속할 수 없습니다. references/restore-deps.md를 확인하세요.
빌드 속도 저하: --no-restore, -m (병렬 처리), 또는 /p:RunAnalyzers=false를 사용하세요. references/build-solution.md를 참조하세요.
오래된 아티팩트: dotnet clean을 실행한 후 다시 빌드하세요.
Build succeeded.
0 Warning(s)
0 Error(s)
아티팩트 위치: ./dotnet/{ProjectName}/bin/{Configuration}/net9.0/
빌드 후: dotnet-test (테스트), code-analyze (정적 분석) 빌드 전: code-format (스타일 수정)
./dotnet/README.md - 프로젝트 구조./dotnet/ARCHITECTURE.md - 아키텍처.pre-commit-config.yaml - Pre-commit hooks