#!/bin/bash echo "Building .NET V2GDecoder Project..." # .NET Core 빌드 echo "Building Debug configuration..." dotnet build V2GDecoderNet.csproj -c Debug if [ $? -ne 0 ]; then echo "ERROR: Debug 빌드 실패" exit 1 fi echo "Building Release configuration..." dotnet build V2GDecoderNet.csproj -c Release if [ $? -ne 0 ]; then echo "ERROR: Release 빌드 실패" exit 1 fi echo echo "✅ .NET 빌드가 성공적으로 완료되었습니다" echo echo "생성된 파일들:" [ -f "bin/Debug/net8.0/V2GDecoderNet.dll" ] && echo " 📦 Debug: bin/Debug/net8.0/V2GDecoderNet.dll" [ -f "bin/Release/net8.0/V2GDecoderNet.dll" ] && echo " 📦 Release: bin/Release/net8.0/V2GDecoderNet.dll" echo echo "사용법:" echo " dotnet run V2GDecoderNet.csproj ../Sample/test5.exi" echo " dotnet bin/Release/net8.0/V2GDecoderNet.dll ../Sample/test5.exi"