© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•7mo ago•
36 replies
aqsztdje3vj55239

Dependencies are missing in output directory

Hi,
I currently have the problem, that for a project, I don't get the dependencies in the output directory, and thus errors when starting because of the missing dependency

I honestly have no idea what the problem is...

<Project Sdk="Microsoft.NET.Sdk">
 
  <PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
 
  <ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.31.1" />
<PackageReference Include="Grpc.Net.Client" Version="2.71.0" />
<PackageReference Include="Grpc.Tools" Version="2.72.0">
 
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
 
 
  <ItemGroup>
<Protobuf Include="protobuf-definitions\services.proto" GrpcServices="Both" />
</ItemGroup>
 
</Project>
<Project Sdk="Microsoft.NET.Sdk">
 
  <PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
 
  <ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.31.1" />
<PackageReference Include="Grpc.Net.Client" Version="2.71.0" />
<PackageReference Include="Grpc.Tools" Version="2.72.0">
 
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
 
 
  <ItemGroup>
<Protobuf Include="protobuf-definitions\services.proto" GrpcServices="Both" />
</ItemGroup>
 
</Project>
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Copy PackageReferences to output directory
C#CC# / help
4mo ago
System.IO.DirectoryNotFoundException: {directory}\wwwroot\
C#CC# / help
16mo ago
❔ Help copying dependencies to output folder
C#CC# / help
3y ago