Skip to content

Commit 4510b6b

Browse files
Create and pack empty file to add TFM dependency
1 parent 3355f93 commit 4510b6b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Umbraco.Cloud.StorageProviders.AzureBlob/Umbraco.Cloud.StorageProviders.AzureBlob.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,12 @@
1010
<ProjectReference Include="..\Umbraco.Cloud.StorageProviders.AzureBlob.Core\Umbraco.Cloud.StorageProviders.AzureBlob.Core.csproj" />
1111
<ProjectReference Include="..\Umbraco.Cloud.StorageProviders.AzureBlob.ImageSharp\Umbraco.Cloud.StorageProviders.AzureBlob.ImageSharp.csproj" />
1212
</ItemGroup>
13+
14+
<!-- Create and pack empty file to add TFM dependency -->
15+
<Target Name="GetTargetFrameworkPackageFiles" BeforeTargets="GenerateNuspec">
16+
<WriteLinesToFile File="$(IntermediateOutputPath)_._" />
17+
<ItemGroup>
18+
<_PackageFiles Include="$(IntermediateOutputPath)_._" PackagePath="lib\$(TargetFramework)" />
19+
</ItemGroup>
20+
</Target>
1321
</Project>

0 commit comments

Comments
 (0)