Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 35ccf90

Browse files
Include Format.CustomizeLogString.cs as a content file as part of the Microsoft.DotNet.Interactive.VisualStudio NuGet package.
This makes it possible for consumers of this package to utilize the same custom formatting for commands and events as the dotnet-interactive tool when logging these objects via PocketLogger.
1 parent d961c3c commit 35ccf90

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Microsoft.DotNet.Interactive.VisualStudio/Microsoft.DotNet.Interactive.VisualStudio.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
<EmbeddedResource Include="..\polyglot-notebooks\lib\polyglot-notebooks.js" />
2626
</ItemGroup>
2727

28+
<ItemGroup Label="Logging Customization">
29+
<!-- Implementation for partial method in Pocket that customizes logging for commands and events -->
30+
<None Include="..\dotnet-interactive\Pocket\Format.CustomizeLogString.cs">
31+
<Pack>true</Pack>
32+
<PackagePath>contentFiles\cs\any\(Pocket)\LoggerExtensions\Format.CustomizeLogString.cs</PackagePath>
33+
</None>
34+
</ItemGroup>
35+
2836
<ItemGroup>
2937
<PackageReference Include="System.Memory" Version="4.5.5" />
3038
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />

0 commit comments

Comments
 (0)