Skip to content

yfital/DepsMissingExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DepsMissingExample

Minimal repo to reproduce issue desribed here: dotnet/sdk#29974

To reproduce, go to ProjectB directory directly. Write dotnet publish

Examine output: ProjectA.deps.json will be missing

In this small example, ProjectA will still run as it doesn't have any real dependencies, in real world application, it will fail to load.

Workaround: Remove from ProjectA's csproj:

<PackageReference Include="NSwag.MSBuild" Version="13.18.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

to

<PackageReference Include="NSwag.MSBuild" Version="13.18.2">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

About

Demonstrate issue 29974

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages