Repository navigation
Avoid copying http-client.env.json to the output folder - #50280
Conversation
|
Thanks for your PR, @@Varorbc. |
| <Content Include="**\*.json" ExcludeFromSingleFile="true" CopyToPublishDirectory="PreserveNewest" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder);$(DefaultWebContentItemExcludes)" Condition="'$(ExcludeConfigFilesFromBuildOutput)'=='true'" /> | ||
|
|
||
| <!-- Avoid copying http-client.env.json to the output directory. --> | ||
| <Content Update="**\http-client.env.json" CopyToOutputDirectory="Never" CopyToPublishDirectory="Never" /> |
There was a problem hiding this comment.
Do these files actually need to be Content items? Could they be added to DefaultItemExcludes above, on line 25.
There was a problem hiding this comment.
Previously, I added it to DefaultItemExcludes, which resulted in the file not being visible in Vs.
There was a problem hiding this comment.
Maybe it can/should be a None item instead.
There was a problem hiding this comment.
Just throwing ideas around. Someone from the SDK team will know better.
|
Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label. |
|
Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label. |
|
@wtgodbe ping |
Fixes dotnet/aspnetcore#63263