CreateTarBall -> After Upgrading from 0.1.84 to latest tar.gz is appending . to the start of file names. #127

Open
opened 2026-01-29 16:30:12 +00:00 by claunia · 0 comments
Owner

Originally created by @davidgemel on GitHub (Oct 24, 2022).

Hello,

I recently upgraded from 0.1.84 to the latest version of this library. I am running the following to create a simple tar.gz:

<Target Name="BuildDBITarTest" AfterTargets="Build">
	<Message Text="Creating Tar" Importance="high" />

	<!-- Added @(Content) below as it is required in new versions -->
	<TarballTask PublishDir="C:\temp\zip" TarballPath="C:\temp\tarballtest.tar.gz" Content="@(Content)" />
</Target>

The C:\temp\zip folder just contains a simple file (somefile.txt). When the tarball is built it appends a . before the name of the file changing the files name (.somefile.txt). Is there another way around this? I don't want the filename to change.

Originally created by @davidgemel on GitHub (Oct 24, 2022). Hello, I recently upgraded from 0.1.84 to the latest version of this library. I am running the following to create a simple tar.gz: <Target Name="BuildDBITarTest" AfterTargets="Build"> <Message Text="Creating Tar" Importance="high" /> <!-- Added @(Content) below as it is required in new versions --> <TarballTask PublishDir="C:\temp\zip" TarballPath="C:\temp\tarballtest.tar.gz" Content="@(Content)" /> </Target> The C:\temp\zip folder just contains a simple file (somefile.txt). When the tarball is built it appends a . before the name of the file changing the files name (.somefile.txt). Is there another way around this? I don't want the filename to change.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#127