Skip to content

How to prevent http-client.env.json file copy to publish directory? #34212

@ahdung

Description

@ahdung

Description

CopyToPublishDirectory not working for this file.

<ItemGroup>
  <None Include="http-client.env.json" CopyToPublishDirectory="Never" />
</ItemGroup>

Page URL

https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-9.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/test/http-files.md

Document ID

26f1374f-556a-35fc-cc42-b8911746db80

Article author

@tdykstra

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions