From 13dfa83c0c05b45202ce0a22b8cab6277779f81f Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Sat, 2 Feb 2019 23:00:14 +0000 Subject: [PATCH] Add Props and Targets (distrib folders) to back office , so they get copeid on a deployment --- Dist/package.cmd | 4 ++-- uSync8.BackOffice/Targets/uSync.props | 14 ++++++++++++++ uSync8.BackOffice/Targets/uSync.targets | 13 +++++++++++++ uSync8.BackOffice/uSync.nuspec | 1 + uSync8.BackOffice/uSync8.BackOffice.csproj | 2 ++ 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 uSync8.BackOffice/Targets/uSync.props create mode 100644 uSync8.BackOffice/Targets/uSync.targets diff --git a/Dist/package.cmd b/Dist/package.cmd index 162ab87e..61b4d21f 100644 --- a/Dist/package.cmd +++ b/Dist/package.cmd @@ -1,4 +1,4 @@ @Echo Packaging -nuget pack ..\uSync8.BackOffice\uSync.nuspec -build -Properties version="%1" -nuget pack ..\uSync8.Core\uSync.Core.nuspec -build -Properties version="%1" \ No newline at end of file +nuget pack ..\uSync8.BackOffice\uSync.nuspec -build -version %1 +nuget pack ..\uSync8.Core\uSync.Core.nuspec -build -version %1 \ No newline at end of file diff --git a/uSync8.BackOffice/Targets/uSync.props b/uSync8.BackOffice/Targets/uSync.props new file mode 100644 index 00000000..3edc26de --- /dev/null +++ b/uSync8.BackOffice/Targets/uSync.props @@ -0,0 +1,14 @@ + + + + + AdduSyncDataToOutput; + $(CopyAllFilesToSingleFolderForPackageDependsOn); + + + + AdduSyncDataToOutput; + $(CopyAllFilesToSingleFolderForPackageDependsOn); + + + \ No newline at end of file diff --git a/uSync8.BackOffice/Targets/uSync.targets b/uSync8.BackOffice/Targets/uSync.targets new file mode 100644 index 00000000..26f3a498 --- /dev/null +++ b/uSync8.BackOffice/Targets/uSync.targets @@ -0,0 +1,13 @@ + + + + + + uSync + + + %(uSyncFilesToInclude.Dir)\%(RecursiveDir)%(Filename)%(Extension) + + + + \ No newline at end of file diff --git a/uSync8.BackOffice/uSync.nuspec b/uSync8.BackOffice/uSync.nuspec index 25b9ae3b..78696732 100644 --- a/uSync8.BackOffice/uSync.nuspec +++ b/uSync8.BackOffice/uSync.nuspec @@ -18,6 +18,7 @@ + diff --git a/uSync8.BackOffice/uSync8.BackOffice.csproj b/uSync8.BackOffice/uSync8.BackOffice.csproj index 118b9421..e7d86ee7 100644 --- a/uSync8.BackOffice/uSync8.BackOffice.csproj +++ b/uSync8.BackOffice/uSync8.BackOffice.csproj @@ -257,6 +257,8 @@ + +