Skip to content

Commit

Permalink
"dotnet publish" does not copy all files.
Browse files Browse the repository at this point in the history
Issue #158
  • Loading branch information
pre-martin committed Nov 15, 2024
1 parent a7bdd4e commit c9608a4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions StreamDeckSimHub.Plugin/StreamDeckSimHub.Plugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
</Reference>
</ItemGroup>

<Target Name="CopyFiles" BeforeTargets="Publish">
<ItemGroup>
<ReactFiles Include="pi\react\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(ReactFiles)" DestinationFolder="$(PublishDir)\pi\react\" />
</Target>

<Target Name="SetManifestVersionAndBundle" AfterTargets="Publish">
<PropertyGroup>
<PowerShell Condition="!$([MSBuild]::IsOSUnixLike())">powershell.exe</PowerShell>
Expand Down Expand Up @@ -313,8 +320,4 @@
</None>
</ItemGroup>

<ItemGroup Label="React Libararies">
<Folder Include="pi\react" />
</ItemGroup>

</Project>

0 comments on commit c9608a4

Please sign in to comment.