Skip to content

Commit

Permalink
Merge pull request #70 from extism/fix/targets-props
Browse files Browse the repository at this point in the history
fix: remove condition on .targets property group
  • Loading branch information
mhmd-azeez authored Feb 29, 2024
2 parents 9bec701 + 5e9784d commit 783b6bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ Update your `MyPlugin.csproj`/`MyPlugin.fsproj` as follows:
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
<OutputType>Exe</OutputType>
<PublishTrimmed>true</PublishTrimmed>

<!-- Make sure we create a standalone wasm file for our plugin -->
<WasmSingleFileBundle>true</WasmSingleFileBundle>
<WasmBuildNative>true</WasmBuildNative>
</PropertyGroup>
</Project>
```
Expand Down
2 changes: 1 addition & 1 deletion src/Extism.Pdk/build/Extism.Pdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TrimmerRootAssembly Include="Extism.Pdk" />
</ItemGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PropertyGroup>
<PublishTrimmed>true</PublishTrimmed>
<WasmBuildNative>true</WasmBuildNative>
<WasmSingleFileBundle>true</WasmSingleFileBundle>
Expand Down

0 comments on commit 783b6bd

Please sign in to comment.