File tree Expand file tree Collapse file tree 7 files changed +12
-10
lines changed
WasmComponentSdkTest/testapps/SimpleConsumer Expand file tree Collapse file tree 7 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<PropertyGroup >
10
10
<TargetFramework >net8.0</TargetFramework >
11
- <RuntimeIdentifier >wasi-wasm</RuntimeIdentifier >
12
- <IlcExportUnmanagedEntrypoints >true</IlcExportUnmanagedEntrypoints >
13
- <PublishTrimmed >false</PublishTrimmed >
14
11
</PropertyGroup >
15
12
16
13
<ItemGroup >
Original file line number Diff line number Diff line change 12
12
<InvariantGlobalization >true</InvariantGlobalization >
13
13
<RuntimeIdentifier >wasi-wasm</RuntimeIdentifier >
14
14
<IlcExportUnmanagedEntrypoints >true</IlcExportUnmanagedEntrypoints >
15
- <WasmSingleFileBundle >true</WasmSingleFileBundle >
16
- <WasmBuildNative >true</WasmBuildNative >
17
- <SelfContained >true</SelfContained >
18
15
</PropertyGroup >
19
16
20
17
<ItemGroup >
Original file line number Diff line number Diff line change 37
37
<None Include =" ../../Readme.md" Pack =" true" PackagePath =" \" />
38
38
</ItemGroup >
39
39
40
+ <ItemGroup >
41
+ <None Include =" ImportInDev.proj" />
42
+ </ItemGroup >
43
+
40
44
<Target Name =" BuildOrDownloadNativeTooling" BeforeTargets =" Build" DependsOnTargets =" BuildNativeTooling; DownloadNativeTooling;" >
41
45
</Target >
42
46
Original file line number Diff line number Diff line change 84
84
<WriteLinesToFile File =" $(CurrentWkgVersion)" Lines =" $(PrebuildWkgVersion)" Overwrite =" true" WriteOnlyWhenDifferent =" true" />
85
85
</Target >
86
86
87
+ <ItemGroup >
88
+ <None Include =" ImportInDev.proj" />
89
+ </ItemGroup >
90
+
87
91
<Target Name =" PackTaskDependencies" BeforeTargets =" GenerateNuspec" >
88
92
<ItemGroup >
89
93
<_PackageFiles Include =" build\**" BuildAction =" Content" PackagePath =" build" />
Original file line number Diff line number Diff line change 37
37
<RemoveDir Directories =" $(NugetPackageRoot)\bytecodealliance.componentize.dotnet.witbindgen\$(PackageVersion)" />
38
38
<RemoveDir Directories =" ..\testapps\E2EProducer\obj" />
39
39
<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" />
42
42
</Target >
43
43
44
44
<Target Name =" PackPackagesForE2ETest" >
Original file line number Diff line number Diff line change 28
28
</ItemGroup >
29
29
30
30
<!-- 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 " >
32
32
<PropertyGroup >
33
33
<DependencyComponent >../E2EProducer/bin/$(Configuration)/$(TargetFramework)/wasi-wasm/native/e2eproducer.wasm</DependencyComponent >
34
34
</PropertyGroup >
Original file line number Diff line number Diff line change 26
26
</ItemGroup >
27
27
28
28
<!-- 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 " >
30
30
<PropertyGroup >
31
31
<DependencyComponent >../SimpleProducer/bin/$(Configuration)/$(TargetFramework)/wasi-wasm/native/simpleproducer.wasm</DependencyComponent >
32
32
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments