Create and pack empty file to add TFM dependency (#13475)
This commit is contained in:
@@ -50,4 +50,12 @@
|
||||
<Target Name="RemoveAppsettingsSchema" AfterTargets="Clean" Condition="Exists('$(_UmbracoCmsJsonSchemaReference)')">
|
||||
<Delete Files="$(_UmbracoCmsJsonSchemaReference)" />
|
||||
</Target>
|
||||
|
||||
<!-- Create and pack empty file to add TFM dependency -->
|
||||
<Target Name="PackTargetFrameworkFile" BeforeTargets="Build">
|
||||
<WriteLinesToFile File="$(IntermediateOutputPath)_._" />
|
||||
<ItemGroup>
|
||||
<None Include="$(IntermediateOutputPath)_._" Pack="true" PackagePath="lib\$(TargetFramework)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Title>Umbraco CMS</Title>
|
||||
<Description>Installs Umbraco CMS with all default dependencies in your ASP.NET Core project.</Description>
|
||||
@@ -12,4 +12,12 @@
|
||||
<ProjectReference Include="..\Umbraco.Cms.Persistence.Sqlite\Umbraco.Cms.Persistence.Sqlite.csproj" />
|
||||
<ProjectReference Include="..\Umbraco.Cms.Persistence.SqlServer\Umbraco.Cms.Persistence.SqlServer.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Create and pack empty file to add TFM dependency -->
|
||||
<Target Name="PackTargetFrameworkFile" BeforeTargets="Build">
|
||||
<WriteLinesToFile File="$(IntermediateOutputPath)_._" />
|
||||
<ItemGroup>
|
||||
<None Include="$(IntermediateOutputPath)_._" Pack="true" PackagePath="lib\$(TargetFramework)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user