Skip to content

Commit f6ae7d6

Browse files
authored
fix: hide native gRPC assemblies from Solution Explorer (#32)
1 parent 192ef87 commit f6ae7d6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/CodingWithCalvin.Otel4Vsix/CodingWithCalvin.Otel4Vsix.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<ItemGroup>
3535
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
3636
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Condition="Exists('..\..\assets\icon.png')" />
37+
<None Include="build\CodingWithCalvin.Otel4Vsix.targets" Pack="true" PackagePath="build\" />
3738
</ItemGroup>
3839

3940
<ItemGroup>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<!--
4+
Hide native gRPC assemblies from Solution Explorer.
5+
These files are required at runtime but don't need to be visible in the project.
6+
-->
7+
<ItemGroup>
8+
<Content Update="grpc_csharp_ext.x64.dll" Visible="false" />
9+
<Content Update="grpc_csharp_ext.x86.dll" Visible="false" />
10+
<Content Update="libgrpc_csharp_ext.x64.dylib" Visible="false" />
11+
<Content Update="libgrpc_csharp_ext.x64.so" Visible="false" />
12+
</ItemGroup>
13+
</Project>

0 commit comments

Comments
 (0)