|
73 | 73 | Assemblies that facilitate Hot Reload within the application process. |
74 | 74 | When updating TFMs here also update ProjectHotReloadSession.GetStartupHookPath and VisualStudioBrowserRefreshServer.MiddlewareTargetFramework. |
75 | 75 | --> |
76 | | - <!--<ItemGroup> |
77 | | - <Content Include="$(PkgMicrosoft_DotNet_HotReload_Web_Middleware)\lib\net6.0\Microsoft.AspNetCore.Watch.BrowserRefresh.dll"> |
78 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
79 | | - <Visible>false</Visible> |
| 76 | + <ItemGroup> |
| 77 | + <ProjectReference Include="..\Microsoft.AspNetCore.Watch.BrowserRefresh\Microsoft.AspNetCore.Watch.BrowserRefresh.csproj"> |
| 78 | + <PrivateAssets>all</PrivateAssets> |
| 79 | + <OutputItemType>Content</OutputItemType> |
| 80 | + <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties> |
| 81 | + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
| 82 | + <UndefineProperties>TargetFramework;TargetFrameworks</UndefineProperties> |
80 | 83 | <TargetPath>HotReload\net6.0\Microsoft.AspNetCore.Watch.BrowserRefresh.dll</TargetPath> |
81 | | - <Pack>false</Pack> |
82 | | - </Content> |
83 | | - <Content Include="$(PkgMicrosoft_DotNet_HotReload_Agent_Host)\lib\net6.0\Microsoft.Extensions.DotNetDeltaApplier.dll"> |
84 | 84 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
85 | | - <Visible>false</Visible> |
| 85 | + </ProjectReference> |
| 86 | + |
| 87 | + <ProjectReference Include="..\Microsoft.Extensions.DotNetDeltaApplier\Microsoft.Extensions.DotNetDeltaApplier.csproj"> |
| 88 | + <PrivateAssets>all</PrivateAssets> |
| 89 | + <OutputItemType>Content</OutputItemType> |
| 90 | + <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties> |
| 91 | + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
| 92 | + <SetTargetFramework>TargetFramework=net10.0</SetTargetFramework> |
| 93 | + <TargetPath>HotReload\net10.0\Microsoft.Extensions.DotNetDeltaApplier.dll</TargetPath> |
| 94 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 95 | + </ProjectReference> |
| 96 | + |
| 97 | + <ProjectReference Include="..\Microsoft.Extensions.DotNetDeltaApplier\Microsoft.Extensions.DotNetDeltaApplier.csproj"> |
| 98 | + <PrivateAssets>all</PrivateAssets> |
| 99 | + <OutputItemType>Content</OutputItemType> |
| 100 | + <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties> |
| 101 | + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
| 102 | + <SetTargetFramework>TargetFramework=net6.0</SetTargetFramework> |
86 | 103 | <TargetPath>HotReload\net6.0\Microsoft.Extensions.DotNetDeltaApplier.dll</TargetPath> |
87 | | - <Pack>false</Pack> |
88 | | - </Content> |
89 | | - <Content Include="$(PkgMicrosoft_DotNet_HotReload_Agent_Host)\lib\net10.0\Microsoft.Extensions.DotNetDeltaApplier.dll"> |
90 | 104 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
91 | | - <Visible>false</Visible> |
92 | | - <TargetPath>HotReload\net10.0\Microsoft.Extensions.DotNetDeltaApplier.dll</TargetPath> |
93 | | - <Pack>false</Pack> |
94 | | - </Content> |
95 | | - </ItemGroup>--> |
| 105 | + </ProjectReference> |
| 106 | + </ItemGroup> |
96 | 107 |
|
97 | 108 | <!-- Dependencies --> |
98 | 109 | <ItemGroup> |
|
0 commit comments