Skip to content

Commit

Permalink
Project file - Added target to removed libraray pdbs when not in debu…
Browse files Browse the repository at this point in the history
…g mode
  • Loading branch information
NessieHax committed Jul 16, 2023
1 parent 06e4ebf commit d62987c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion PCK-Studio/PckStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
<!-- writes the attribute to the GitAssemblyInfo file -->
<WriteCodeFragment Language="C#" OutputFile="$(GitAssemblyInfoFile)" AssemblyAttributes="@(AssemblyAttributes)" />
</Target>
<Target Name="Delete PDBs" AfterTargets="Build" Condition=" '$(Configuration)|$(Platform)' != 'Debug|AnyCPU' ">
<Exec Command="del $(OutputPath)*.pdb"/>
</Target>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down Expand Up @@ -93,7 +96,7 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Beta|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Beta\</OutputPath>
<DefineConstants>BETA;TRACE</DefineConstants>
Expand Down

0 comments on commit d62987c

Please sign in to comment.