Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/DeployGameAnalytics.props
2021-12-03 13:31:10 -03:00

18 lines
975 B
XML

<Project>
<PropertyGroup Condition="'$(Configuration)'!='Debug'">
<IsDebug>false</IsDebug>
<IsNotDebug>true</IsNotDebug>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<IsDebug>true</IsDebug>
<IsNotDebug>false</IsNotDebug>
</PropertyGroup>
<Target Name="DeployGameAnalyticsBuild" AfterTargets="CoreCompile" >
<Exec Command="dotnet publish $(ProjectDir)../../Libraries/GameAnalytics/GA_SDK_NETSTANDARD/GA_SDK_NETSTANDARD.csproj -c Release -r $(GARuntime) --no-self-contained --nologo -o $(ProjectDir)$(OutputPath)" ContinueOnError="$(IsDebug)" />
</Target>
<Target Name="DeployGameAnalyticsPublish" AfterTargets="PrepareForPublish" >
<Exec Command="dotnet publish $(ProjectDir)../../Libraries/GameAnalytics/GA_SDK_NETSTANDARD/GA_SDK_NETSTANDARD.csproj -c Release -r $(GARuntime) --no-self-contained --nologo -o $(ProjectDir)$(PublishDir)" ContinueOnError="$(IsDebug)" />
</Target>
</Project>