|
9 | 9 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
10 | 10 | </PropertyGroup>
|
11 | 11 |
|
12 |
| - <!-- Producing this package requires building with NodeJS enabled. --> |
13 |
| - <PropertyGroup Condition="'$(BuildNodeJS)' == 'false'"> |
14 |
| - <IsPackable>false</IsPackable> |
15 |
| - <GenerateEmbeddedFilesManifest>false</GenerateEmbeddedFilesManifest> |
16 |
| - </PropertyGroup> |
17 |
| - |
18 |
| - <ItemGroup> |
19 |
| - <Compile Include="$(ComponentsSharedSourceRoot)\src\CacheHeaderSettings.cs" Link="Shared\CacheHeaderSettings.cs" /> |
20 |
| - </ItemGroup> |
21 |
| - |
22 | 12 | <ItemGroup>
|
23 | 13 | <Reference Include="Microsoft.AspNetCore.Components.Browser" />
|
24 | 14 | <Reference Include="Microsoft.Extensions.Logging" />
|
|
27 | 17 | <Reference Include="Microsoft.Extensions.Caching.Memory" />
|
28 | 18 | <Reference Include="Microsoft.Extensions.FileProviders.Composite" />
|
29 | 19 | <Reference Include="Microsoft.Extensions.FileProviders.Embedded" />
|
30 |
| - |
31 |
| - <!-- |
32 |
| - Temporary until we move the prerendering APIs into this assembly. |
33 |
| - --> |
34 |
| - <Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" /> |
35 | 20 | </ItemGroup>
|
36 | 21 |
|
37 | 22 | <PropertyGroup>
|
38 | 23 | <MessagePackRoot>$(RepositoryRoot)src\submodules\MessagePack-CSharp\src\MessagePack\</MessagePackRoot>
|
39 | 24 | </PropertyGroup>
|
40 | 25 |
|
41 | 26 | <ItemGroup>
|
| 27 | + <Compile Include="$(ComponentsSharedSourceRoot)\src\CacheHeaderSettings.cs" Link="Shared\CacheHeaderSettings.cs" /> |
| 28 | + |
42 | 29 | <Compile Include="$(RepositoryRoot)src\SignalR\common\Shared\BinaryMessageFormatter.cs" LinkBase="BlazorPack" />
|
43 | 30 | <Compile Include="$(RepositoryRoot)src\SignalR\common\Shared\BinaryMessageParser.cs" LinkBase="BlazorPack" />
|
44 | 31 | <Compile Include="$(RepositoryRoot)src\SignalR\common\Shared\MemoryBufferWriter.cs" LinkBase="BlazorPack" />
|
|
59 | 46 | <Compile Include="$(MessagePackRoot)SequenceReaderExtensions.cs" LinkBase="BlazorPack\MessagePack" />
|
60 | 47 | </ItemGroup>
|
61 | 48 |
|
62 |
| - <ItemGroup Condition="'$(BuildNodeJS)' != 'false'"> |
| 49 | + <ItemGroup> |
63 | 50 | <!-- We need .Browser.JS to build first so we can embed its .js output -->
|
64 | 51 | <EmbeddedResource Include="..\..\Browser.JS\src\dist\blazor.server.js" LogicalName="_framework\%(Filename)%(Extension)" />
|
65 | 52 | </ItemGroup>
|
66 | 53 |
|
67 |
| - <Target Name="_EnsureBrowserJS" BeforeTargets="CoreCompile" Condition="'$(BuildNodeJS)' != 'false'"> |
| 54 | + <Target Name="_EnsureBrowserJS" BeforeTargets="CoreCompile"> |
68 | 55 | <MSBuild Projects="..\..\Browser.JS\Microsoft.AspNetCore.Components.Browser.JS.npmproj" Targets="Build" />
|
69 | 56 | </Target>
|
70 | 57 |
|
|
0 commit comments