From 52035c415be27125e9e13c4b6e058bdf3a093fa8 Mon Sep 17 00:00:00 2001 From: Ubhaya Hettiarachchi Date: Thu, 18 Jan 2024 23:05:16 +0530 Subject: [PATCH] Add NuGet Package details to MsBuild project --- .../CleanArchitecture.Blazored.MsBuild.csproj | 58 ++++++++++++++++++- .../CleanArchitecture.Blazored.MsBuild.props | 21 +++++++ ...CleanArchitecture.Blazored.MsBuild.targets | 3 + 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.props create mode 100644 src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.targets diff --git a/src/CleanArchitecture.Blazored.MsBuild/CleanArchitecture.Blazored.MsBuild.csproj b/src/CleanArchitecture.Blazored.MsBuild/CleanArchitecture.Blazored.MsBuild.csproj index a6013d1..e103c75 100644 --- a/src/CleanArchitecture.Blazored.MsBuild/CleanArchitecture.Blazored.MsBuild.csproj +++ b/src/CleanArchitecture.Blazored.MsBuild/CleanArchitecture.Blazored.MsBuild.csproj @@ -6,9 +6,63 @@ enable + + + 1.0.0 + CleanArchitecture.Blazored.MsBuild + John + Generates a strongly typed setting class base on a txt file + MyTags + Copyright ©Contoso 2022 + + + true + $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage + + tasks + + NU5100 + embedded + true + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.props b/src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.props new file mode 100644 index 0000000..83a1b86 --- /dev/null +++ b/src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.props @@ -0,0 +1,21 @@ + + + + + + $(MSBuildThisFileDirectory)..\tasks\net8.0 + + $(CustomTasksFolder)\$(MSBuildThisFileName).dll + + + + + + + + + \ No newline at end of file diff --git a/src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.targets b/src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.targets new file mode 100644 index 0000000..2d9c7e3 --- /dev/null +++ b/src/CleanArchitecture.Blazored.MsBuild/build/CleanArchitecture.Blazored.MsBuild.targets @@ -0,0 +1,3 @@ + + + \ No newline at end of file