From b82954e9569d54c779c8b38a504d411bb085036d Mon Sep 17 00:00:00 2001 From: Mikayla Hutchinson Date: Mon, 2 Oct 2023 20:42:14 -0400 Subject: [PATCH] Fix more packaging issues --- .../PreprocessTemplate/PreprocessTemplate.csproj | 4 ++-- .../TransformTemplates/TransformTemplates.csproj | 4 ++-- .../TransformWithInclude/TransformWithInclude.csproj | 4 ++-- .../Mono.TextTemplating.Build.csproj | 10 +++++----- ....TextTemplating.Build.props => T4.BuildTools.props} | 0 ...tTemplating.Build.targets => T4.BuildTools.targets} | 4 ++-- ...ema.json => T4.BuildTools.targets.buildschema.json} | 0 Mono.TextTemplating.Build/multitargeting.props | 6 ++++-- Mono.TextTemplating.Build/multitargeting.targets | 6 ++++-- dotnet-t4/dotnet-t4.csproj | 3 ++- 10 files changed, 23 insertions(+), 18 deletions(-) rename Mono.TextTemplating.Build/{Mono.TextTemplating.Build.props => T4.BuildTools.props} (100%) rename Mono.TextTemplating.Build/{Mono.TextTemplating.Build.targets => T4.BuildTools.targets} (96%) rename Mono.TextTemplating.Build/{Mono.TextTemplating.Build.targets.buildschema.json => T4.BuildTools.targets.buildschema.json} (100%) diff --git a/Mono.TextTemplating.Build.Tests/TestCases/PreprocessTemplate/PreprocessTemplate.csproj b/Mono.TextTemplating.Build.Tests/TestCases/PreprocessTemplate/PreprocessTemplate.csproj index 61e8671d..3c6f7af2 100644 --- a/Mono.TextTemplating.Build.Tests/TestCases/PreprocessTemplate/PreprocessTemplate.csproj +++ b/Mono.TextTemplating.Build.Tests/TestCases/PreprocessTemplate/PreprocessTemplate.csproj @@ -1,5 +1,5 @@ - + netstandard2.0 @@ -10,5 +10,5 @@ - + \ No newline at end of file diff --git a/Mono.TextTemplating.Build.Tests/TestCases/TransformTemplates/TransformTemplates.csproj b/Mono.TextTemplating.Build.Tests/TestCases/TransformTemplates/TransformTemplates.csproj index 4f25c9f3..085bcaaa 100644 --- a/Mono.TextTemplating.Build.Tests/TestCases/TransformTemplates/TransformTemplates.csproj +++ b/Mono.TextTemplating.Build.Tests/TestCases/TransformTemplates/TransformTemplates.csproj @@ -1,5 +1,5 @@ - + netstandard2.0 @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/Mono.TextTemplating.Build.Tests/TestCases/TransformWithInclude/TransformWithInclude.csproj b/Mono.TextTemplating.Build.Tests/TestCases/TransformWithInclude/TransformWithInclude.csproj index 51d70b57..532bdd26 100644 --- a/Mono.TextTemplating.Build.Tests/TestCases/TransformWithInclude/TransformWithInclude.csproj +++ b/Mono.TextTemplating.Build.Tests/TestCases/TransformWithInclude/TransformWithInclude.csproj @@ -1,5 +1,5 @@ - + netstandard2.0 @@ -12,5 +12,5 @@ - + \ No newline at end of file diff --git a/Mono.TextTemplating.Build/Mono.TextTemplating.Build.csproj b/Mono.TextTemplating.Build/Mono.TextTemplating.Build.csproj index 2296357e..df1e20fb 100644 --- a/Mono.TextTemplating.Build/Mono.TextTemplating.Build.csproj +++ b/Mono.TextTemplating.Build/Mono.TextTemplating.Build.csproj @@ -16,11 +16,11 @@ - <_PackageFiles Include="Mono.TextTemplating.Build.props" PackagePath="build" Pack="true" /> - <_PackageFiles Include="Mono.TextTemplating.Build.targets" PackagePath="build" Pack="true" /> - <_PackageFiles Include="multitargeting.props" PackagePath="buildMultiTargeting\Mono.TextTemplating.Build.props" Pack="true" /> - <_PackageFiles Include="multitargeting.targets" PackagePath="buildMultiTargeting\Mono.TextTemplating.Build.targets" Pack="true" /> - <_PackageFiles Include="Mono.TextTemplating.Build.targets.buildschema.json" PackagePath="build" Pack="true" /> + <_PackageFiles Include="T4.BuildTools.props" PackagePath="build\$(PackageId).props" Pack="true" /> + <_PackageFiles Include="T4.BuildTools.targets" PackagePath="build\$(PackageId).targets" Pack="true" /> + <_PackageFiles Include="multitargeting.props" PackagePath="buildMultiTargeting\$(PackageId).props" Pack="true" /> + <_PackageFiles Include="multitargeting.targets" PackagePath="buildMultiTargeting\$(PackageId).targets" Pack="true" /> + <_PackageFiles Include="T4.BuildTools.targets.buildschema.json" PackagePath="build\$(PackageId).targets.buildschema.json" Pack="true" /> diff --git a/Mono.TextTemplating.Build/Mono.TextTemplating.Build.props b/Mono.TextTemplating.Build/T4.BuildTools.props similarity index 100% rename from Mono.TextTemplating.Build/Mono.TextTemplating.Build.props rename to Mono.TextTemplating.Build/T4.BuildTools.props diff --git a/Mono.TextTemplating.Build/Mono.TextTemplating.Build.targets b/Mono.TextTemplating.Build/T4.BuildTools.targets similarity index 96% rename from Mono.TextTemplating.Build/Mono.TextTemplating.Build.targets rename to Mono.TextTemplating.Build/T4.BuildTools.targets index 1316dbaf..65e63362 100644 --- a/Mono.TextTemplating.Build/Mono.TextTemplating.Build.targets +++ b/Mono.TextTemplating.Build/T4.BuildTools.targets @@ -1,7 +1,7 @@ - $(MSBuildThisFileDirectory)..\buildTasks\netcoreapp2.1\Mono.TextTemplating.Build.dll - $(MSBuildThisFileDirectory)..\buildTasks\net472\Mono.TextTemplating.Build.dll + $(MSBuildThisFileDirectory)..\buildTasks\net6.0\Mono.TextTemplating.Build.dll + $(MSBuildThisFileDirectory)..\buildTasks\net48\Mono.TextTemplating.Build.dll diff --git a/Mono.TextTemplating.Build/Mono.TextTemplating.Build.targets.buildschema.json b/Mono.TextTemplating.Build/T4.BuildTools.targets.buildschema.json similarity index 100% rename from Mono.TextTemplating.Build/Mono.TextTemplating.Build.targets.buildschema.json rename to Mono.TextTemplating.Build/T4.BuildTools.targets.buildschema.json diff --git a/Mono.TextTemplating.Build/multitargeting.props b/Mono.TextTemplating.Build/multitargeting.props index 4ddf6676..ed6ba79f 100644 --- a/Mono.TextTemplating.Build/multitargeting.props +++ b/Mono.TextTemplating.Build/multitargeting.props @@ -1,3 +1,5 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/Mono.TextTemplating.Build/multitargeting.targets b/Mono.TextTemplating.Build/multitargeting.targets index 4c524220..c8b8545d 100644 --- a/Mono.TextTemplating.Build/multitargeting.targets +++ b/Mono.TextTemplating.Build/multitargeting.targets @@ -1,3 +1,5 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/dotnet-t4/dotnet-t4.csproj b/dotnet-t4/dotnet-t4.csproj index 60604a48..ed1bb281 100644 --- a/dotnet-t4/dotnet-t4.csproj +++ b/dotnet-t4/dotnet-t4.csproj @@ -4,9 +4,10 @@ net6.0 t4 dotnet-t4 + True + t4 LatestMajor Command-line tool for processing T4 templates, a general-purpose way to generate text or code files using C# - t4 Mono.TextTemplating readme.md true