Skip to content

Commit

Permalink
Fixed proto compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuclearistt committed Jan 12, 2024
1 parent 1f1fa08 commit a046328
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TEKSteamClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
<ItemGroup>
<Protos Include="protos/**"/>
</ItemGroup>
<ItemGroup>
<Compile Include="src/**" Condition="$([System.String]::Copy('%(Identity)').EndsWith('.g.cs'))" KeepDuplicates="False"/>
</ItemGroup>
<Target Name="CompileProto" BeforeTargets="BeforeCompile">
<Exec Command="&quot;$([System.IO.Path]::Combine('$(PkgGoogle_Protobuf_Tools)', 'tools', '$(ProtoPlatform)_$(ProtoPlatformBitness)', '$(ProtoExe)'))&quot; &quot;--proto_path=$(ProjectDir)protos&quot; &quot;--csharp_out=$(ProjectDir)src&quot; --csharp_opt=file_extension=.g.cs,base_namespace=TEKSteamClient,internal_access &quot;$([System.IO.Path]::GetFullPath(%(Protos.Identity)))&quot;"/>
<ItemGroup>
<Compile Include="src/**" KeepDuplicates="False"/>
</ItemGroup>
</Target>
</Project>

0 comments on commit a046328

Please sign in to comment.