-
Notifications
You must be signed in to change notification settings - Fork 1
/
BlazorWasmProfiler.Test.csproj
38 lines (31 loc) · 2.5 KB
/
BlazorWasmProfiler.Test.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.9" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BlazorWasmProfiler.Generator\BlazorWasmProfiler.Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\BlazorWasmProfiler.Razor\BlazorWasmProfiler.Razor.csproj" />
<ProjectReference Include="..\BlazorWasmProfiler.Task\BlazorWasmProfiler.Task.csproj" />
<ProjectReference Include="..\BlazorWasmProfiler\BlazorWasmProfiler.csproj" />
</ItemGroup>
<!--<UsingTask TaskName="BlazorWasmProfiler.ComponentMethodInspector" AssemblyFile="$(TargetDir)BlazorWasmProfiler.Task.dll" />
<Target Name="ComponentMethodInspection" AfterTargets="Build">
<BlazorWasmProfiler.ComponentMethodInspector AssemblyPath="$(TargetPath)" />
</Target>-->
<Target Name="ComponentMethodInjection" AfterTargets="Build">
<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe $(TargetPath)" />
<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe $(TargetDir)wwwroot\_framework\$(TargetFileName)" />
<!--<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe $(TargetDir)wwwroot\_framework\$(TargetFileName).gz" />-->
</Target>
<!--<Target Name="ComponentMethodInjection" AfterTargets="CoreCompile">
<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe %(IntermediateAssembly.FullPath)" />
<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe %(IntermediateAssembly.FullPath)._asi_refs" />
<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe %(IntermediateAssembly.FullPath)\ref" />
<Exec Command="$(SolutionDir)BlazorWasmProfiler.Weaver\bin\$(Configuration)\$(TargetFramework)\BlazorWasmProfiler.Weaver.exe %(IntermediateAssembly.FullPath)\refint" />
</Target>-->
</Project>