Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -605,4 +605,4 @@ void PrintFailedTests(XElement element)
<Message Importance="High" Text="Restoring package-dev/Plugins to the latest git commit" />
<Exec WorkingDirectory="$(RepoRoot)" Command="git restore package-dev/Plugins" />
</Target>
</Project>
</Project>
10 changes: 8 additions & 2 deletions src/Sentry.Unity.Native/Sentry.Unity.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@
<ProjectReference Include="../Sentry.Unity/Sentry.Unity.csproj" Private="false" />
</ItemGroup>

<!-- Build Console version after the Desktop version -->
<Target Name="BuildConsoleAssembly" AfterTargets="AfterBuild">
<!-- Build PlayStation version after the main build -->
<Target Name="BuildPlayStationAssembly" AfterTargets="AfterBuild">
<Message Importance="High" Text="Building PlayStation-specific native assembly." />

<Csc
Sources="@(Compile)"
References="@(ReferencePath)"
OutputAssembly="$(OutDir)Sentry.Unity.Native.PlayStation.dll"
DefineConstants="$(DefineConstants);SENTRY_NATIVE_PLAYSTATION"
TargetType="library"
EmitDebugInformation="true"
Nullable="$(Nullable)"
LangVersion="$(LangVersion)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
WarningLevel="$(WarningLevel)"
/>
</Target>

Expand Down
Loading