Skip to content

Commit c457bd4

Browse files
committed
use commands that work with older version of sdk
Signed-off-by: James Sturtevant <[email protected]>
1 parent cfedf56 commit c457bd4

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

samples/calculator/CalculatorComposed/CalculatorComposed.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
<PropertyGroup>
1010
<TargetFramework>net8.0</TargetFramework>
11-
<RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
12-
<IlcExportUnmanagedEntrypoints>true</IlcExportUnmanagedEntrypoints>
13-
<PublishTrimmed>false</PublishTrimmed>
1411
</PropertyGroup>
1512

1613
<ItemGroup>

samples/calculator/CalculatorHost/CalculatorHost.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<InvariantGlobalization>true</InvariantGlobalization>
1313
<RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
1414
<IlcExportUnmanagedEntrypoints>true</IlcExportUnmanagedEntrypoints>
15-
<WasmSingleFileBundle>true</WasmSingleFileBundle>
16-
<WasmBuildNative>true</WasmBuildNative>
17-
<SelfContained>true</SelfContained>
1815
</PropertyGroup>
1916

2017
<ItemGroup>

src/WasmComponent.Sdk/WasmComponent.Sdk.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
<None Include="../../Readme.md" Pack="true" PackagePath="\"/>
3838
</ItemGroup>
3939

40+
<ItemGroup>
41+
<None Include="ImportInDev.proj" />
42+
</ItemGroup>
43+
4044
<Target Name="BuildOrDownloadNativeTooling" BeforeTargets="Build" DependsOnTargets="BuildNativeTooling; DownloadNativeTooling;">
4145
</Target>
4246

src/WitBindgen/WitBindgen.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@
8484
<WriteLinesToFile File="$(CurrentWkgVersion)" Lines="$(PrebuildWkgVersion)" Overwrite="true" WriteOnlyWhenDifferent="true" />
8585
</Target>
8686

87+
<ItemGroup>
88+
<None Include="ImportInDev.proj" />
89+
</ItemGroup>
90+
8791
<Target Name="PackTaskDependencies" BeforeTargets="GenerateNuspec">
8892
<ItemGroup>
8993
<_PackageFiles Include="build\**" BuildAction="Content" PackagePath="build" />

test/E2ETest/PackageTest/PackageTest.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
<RemoveDir Directories="$(NugetPackageRoot)\bytecodealliance.componentize.dotnet.witbindgen\$(PackageVersion)" />
3838
<RemoveDir Directories="..\testapps\E2EProducer\obj" />
3939
<RemoveDir Directories="..\testapps\E2EConsumer\obj" />
40-
<Exec Command="dotnet publish /bl" WorkingDirectory="..\testapps\E2EProducer" />
41-
<Exec Command="dotnet publish /bl" WorkingDirectory="..\testapps\E2EConsumer" />
40+
<Exec Command="dotnet restore --no-cache" WorkingDirectory="..\testapps\E2EConsumer" />
41+
<Exec Command="dotnet build --no-restore /bl" WorkingDirectory="..\testapps\E2EConsumer" />
4242
</Target>
4343

4444
<Target Name="PackPackagesForE2ETest">

test/E2ETest/testapps/E2EConsumer/E2EConsumer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</ItemGroup>
2929

3030
<!-- After build, create the composed component so it can be executed in the test -->
31-
<Target Name="ComposeWasmComponent" AfterTargets="LinkNativeLlvm">
31+
<Target Name="ComposeWasmComponent" AfterTargets="AfterBuild">
3232
<PropertyGroup>
3333
<DependencyComponent>../E2EProducer/bin/$(Configuration)/$(TargetFramework)/wasi-wasm/native/e2eproducer.wasm</DependencyComponent>
3434
</PropertyGroup>

test/WasmComponentSdkTest/testapps/SimpleConsumer/SimpleConsumer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<!-- After build, create the composed component so it can be executed in the test -->
29-
<Target Name="ComposeWasmComponent" AfterTargets="LinkNativeLlvm">
29+
<Target Name="ComposeWasmComponent" AfterTargets="AfterBuild">
3030
<PropertyGroup>
3131
<DependencyComponent>../SimpleProducer/bin/$(Configuration)/$(TargetFramework)/wasi-wasm/native/simpleproducer.wasm</DependencyComponent>
3232
</PropertyGroup>

0 commit comments

Comments
 (0)