Skip to content

Commit

Permalink
Fix path separator 2
Browse files Browse the repository at this point in the history
  • Loading branch information
CANopenNode committed Jul 2, 2024
1 parent 7c5963d commit 7e24cec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libEDSsharp/libEDSsharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
</ItemGroup>

<ItemGroup>
<Protobuf Include="proto\CanOpen.proto" />
<Protobuf Include="proto/CanOpen.proto" />
</ItemGroup>

<Target Name="protocolBufferGenerator" BeforeTargets="BeforeBuild" Inputs="@(Protobuf)" Outputs="bin\$(Configuration)\$(TargetFramework)\blazor_components.dll">
<Exec Command="$(NugetPackageRoot)google.protobuf.tools\3.27.0\tools\linux_x64\protoc --proto_path=$(NugetPackageRoot)google.protobuf.tools\3.27.0\tools\ --proto_path=%(Protobuf.RelativeDir) --csharp_out=.\proto %(Protobuf.RelativeDir)%(Protobuf.Filename)%(Protobuf.Extension)" Condition="$([MSBuild]::IsOSPlatform('Linux'))" />
<Exec Command="$(NugetPackageRoot)google.protobuf.tools/3.27.0/tools/linux_x64/protoc --proto_path=$(NugetPackageRoot)google.protobuf.tools/3.27.0/tools/ --proto_path=%(Protobuf.RelativeDir) --csharp_out=./proto %(Protobuf.RelativeDir)%(Protobuf.Filename)%(Protobuf.Extension)" Condition="$([MSBuild]::IsOSPlatform('Linux'))" />
<Exec Command="$(NugetPackageRoot)google.protobuf.tools\3.27.0\tools\windows_x64\protoc --proto_path=$(NugetPackageRoot)google.protobuf.tools\3.27.0\tools\ --proto_path=%(Protobuf.RelativeDir) --csharp_out=.\proto %(Protobuf.RelativeDir)%(Protobuf.Filename)%(Protobuf.Extension)" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
<ItemGroup>
<Compile Include="proto\*.cs" KeepDuplicates="false" />
<Compile Include="proto/*.cs" KeepDuplicates="false" />
</ItemGroup>
</Target>

Expand Down

0 comments on commit 7e24cec

Please sign in to comment.