File tree 1 file changed +6
-1
lines changed
src/Razor/src/Microsoft.VisualStudioCode.RazorExtension
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 22
22
<!-- Below package references are covered by the binaries shipped by roslyn and do not need to be packaged-->
23
23
<PackageReference Include =" Microsoft.CodeAnalysis.CSharp" />
24
24
<PackageReference Include =" Microsoft.CodeAnalysis.Workspaces.Common" />
25
- <PackageReference Include =" Microsoft.Extensions.ObjectPool" />
25
+ <PackageReference Include =" Microsoft.Extensions.ObjectPool" GeneratePathProperty = " true " />
26
26
<PackageReference Include =" Microsoft.Extensions.Logging" />
27
27
<PackageReference Include =" Microsoft.CodeAnalysis.ExternalAccess.Razor.Features" />
28
28
</ItemGroup >
42
42
<InternalsVisibleTo Include =" Microsoft.VisualStudioCode.RazorExtension.Test" Key =" $(RazorKey)" />
43
43
</ItemGroup >
44
44
45
+ <ItemGroup >
46
+ <!-- Need to make sure ObjectPool is in the bin folder for local development scenarios -->
47
+ <None Include =" $(PkgMicrosoft_Extensions_ObjectPool)\lib\net8.0\Microsoft.Extensions.ObjectPool.dll" CopyToOutputDirectory =" PreserveNewest" Visible =" false" />
48
+ </ItemGroup >
49
+
45
50
<Target Name =" PackPublishContent" DependsOnTargets =" Publish" >
46
51
<ItemGroup >
47
52
<Content Include =" $(TargetPath)" Pack =" true" PackagePath =" content" CopyToOutputDirectory =" PreserveNewest" />
You can’t perform that action at this time.
0 commit comments