File tree Expand file tree Collapse file tree 2 files changed +7
-22
lines changed
src/Components/WebAssembly Expand file tree Collapse file tree 2 files changed +7
-22
lines changed Original file line number Diff line number Diff line change 55 <!-- Debug proxy support when referencing from source -->
66 <Import Project =" ..\..\DebugProxy\src\build\Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.targets" />
77 <PropertyGroup >
8- <_DebugProxyDirectory >$(MSBuildThisFileDirectory)..\..\DebugProxy\src\bin\$(Configuration)\$(DefaultNetCoreTargetFramework)\</_DebugProxyDirectory >
8+ <_DebugProxyBinariesDirectory >$(MSBuildThisFileDirectory)..\..\DebugProxy\src\bin\$(Configuration)\$(DefaultNetCoreTargetFramework)\</_DebugProxyBinariesDirectory >
99 </PropertyGroup >
1010
1111 <!--
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <GetCopyToOutputDirectoryItemsDependsOn >
55 $(GetCopyToOutputDirectoryItemsDependsOn);
6- _GenerateDebugProxyConfig ;
6+ _GenerateDebugProxyCopyToOutputDirectoryItems ;
77 </GetCopyToOutputDirectoryItemsDependsOn >
88
9- <_DebugProxyDirectory >$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)..\tools\'))</_DebugProxyDirectory >
9+ <_DebugProxyBinariesDirectory >$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)..\tools\'))</_DebugProxyBinariesDirectory >
1010 </PropertyGroup >
1111
12- <Target Name =" _GenerateDebugProxyConfig" >
13- <PropertyGroup >
14- <_DebugProxyConfigName >$(TargetName).BlazorDebugProxy.config</_DebugProxyConfigName >
15- <_DebugProxyConfigIntermediateOutputPath >$(IntermediateOutputPath)$(_DebugProxyConfigName)</_DebugProxyConfigIntermediateOutputPath >
16- </PropertyGroup >
17-
18- <WriteLinesToFile
19- File =" $(_DebugProxyConfigIntermediateOutputPath)"
20- Lines =" $(_DebugProxyDirectory)"
21- Overwrite =" true"
22- WriteOnlyWhenDifferent =" true" />
23-
12+ <Target Name =" _GenerateDebugProxyCopyToOutputDirectoryItems" >
2413 <ItemGroup >
14+ <_DebugProxyBinaries Include =" $(_DebugProxyBinariesDirectory)**" />
2515 <ContentWithTargetPath
26- Include =" $(_DebugProxyConfigIntermediateOutputPath )" >
27- <TargetPath >$(_DebugProxyConfigName )</TargetPath >
16+ Include =" @(_DebugProxyBinaries )" >
17+ <TargetPath >BlazorDebugProxy\%(RecursiveDir)%(FileName)%(Extension )</TargetPath >
2818 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
29- <CopyToPublishDirectory >Never</CopyToPublishDirectory >
3019 </ContentWithTargetPath >
3120 </ItemGroup >
32-
33- <ItemGroup >
34- <FileWrites Include =" $(_DebugProxyConfigIntermediateOutputPath)" />
35- </ItemGroup >
3621 </Target >
3722
3823</Project >
You can’t perform that action at this time.
0 commit comments