|
38 | 38 | </ItemGroup>
|
39 | 39 |
|
40 | 40 | <ItemGroup>
|
41 |
| - <ProjectReference Include="..\..\benchmarkapps\Wasm.Performance\TestApp\Wasm.Performance.TestApp.csproj" /> |
| 41 | + <ProjectReference Include="..\testassets\TestServer\Components.TestServer.csproj" /> |
| 42 | + <ProjectReference Include="..\..\WebAssembly\testassets\Wasm.Authentication.Server\Wasm.Authentication.Server.csproj" /> |
42 | 43 | <ProjectReference Include="..\..\WebAssembly\testassets\HostedInAspNet.Client\HostedInAspNet.Client.csproj" />
|
43 | 44 | <ProjectReference Include="..\..\WebAssembly\testassets\HostedInAspNet.Server\HostedInAspNet.Server.csproj" />
|
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <ItemGroup Condition="'$(TestTrimmedApps)' != 'true'"> |
| 48 | + <ProjectReference Include="..\..\benchmarkapps\Wasm.Performance\TestApp\Wasm.Performance.TestApp.csproj" /> |
44 | 49 | <ProjectReference Include="..\..\WebAssembly\testassets\StandaloneApp\StandaloneApp.csproj" />
|
45 | 50 | <ProjectReference Include="..\testassets\BasicTestApp\BasicTestApp.csproj" />
|
46 | 51 | <ProjectReference Include="..\testassets\GlobalizationWasmApp\GlobalizationWasmApp.csproj" />
|
47 |
| - <ProjectReference Include="..\testassets\TestServer\Components.TestServer.csproj" /> |
48 |
| - <ProjectReference Include="..\..\WebAssembly\testassets\Wasm.Authentication.Server\Wasm.Authentication.Server.csproj" /> |
| 52 | + </ItemGroup> |
49 | 53 |
|
| 54 | + <ItemGroup Condition="'$(TestTrimmedApps)' == 'true'"> |
50 | 55 | <ProjectReference Include="..\..\benchmarkapps\Wasm.Performance\TestApp\Wasm.Performance.TestApp.csproj"
|
51 |
| - Targets="Publish" |
52 |
| - Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\Wasm.Performance.TestApp\" |
53 |
| - Condition="'$(TestTrimmedApps)' == 'true'" /> |
| 56 | + Targets="Build;Publish" |
| 57 | + Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\Wasm.Performance.TestApp\" /> |
54 | 58 |
|
55 | 59 | <ProjectReference
|
56 | 60 | Include="..\testassets\BasicTestApp\BasicTestApp.csproj"
|
57 |
| - Targets="Publish" |
58 |
| - Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\BasicTestApp\" |
59 |
| - Condition="'$(TestTrimmedApps)' == 'true'" /> |
| 61 | + Targets="Build;Publish" |
| 62 | + Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\BasicTestApp\" /> |
60 | 63 |
|
61 | 64 | <ProjectReference
|
62 | 65 | Include="..\testassets\GlobalizationWasmApp\GlobalizationWasmApp.csproj"
|
63 |
| - Targets="Publish" |
64 |
| - Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\GlobalizationWasmApp\;" |
65 |
| - Condition="'$(TestTrimmedApps)' == 'true'" /> |
| 66 | + Targets="Build;Publish" |
| 67 | + Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\GlobalizationWasmApp\;" /> |
66 | 68 |
|
67 | 69 | <ProjectReference
|
68 | 70 | Include="..\..\WebAssembly\testassets\StandaloneApp\StandaloneApp.csproj"
|
69 |
| - Targets="Publish" |
70 |
| - Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\StandaloneApp\;" |
71 |
| - Condition="'$(TestTrimmedApps)' == 'true'" /> |
| 71 | + Targets="Build;Publish" |
| 72 | + Properties="TestTrimmedApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\StandaloneApp\;" /> |
72 | 73 | </ItemGroup>
|
73 | 74 |
|
74 | 75 | <!-- Shared testing infrastructure for running E2E tests using selenium -->
|
|
0 commit comments