From d6c1eaf3f9b602b3b8c08de28605162d0a03cc7d Mon Sep 17 00:00:00 2001 From: Dave Tryon <45672944+DaveTryon@users.noreply.github.com> Date: Fri, 4 Jun 2021 14:01:16 -0700 Subject: [PATCH 1/2] Add nuget package for just the Interop assembly --- Interop.UIAutomationCore.nuspec | 19 +++++++++++++++++++ build-and-publish.bat | 6 +++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Interop.UIAutomationCore.nuspec diff --git a/Interop.UIAutomationCore.nuspec b/Interop.UIAutomationCore.nuspec new file mode 100644 index 0000000..eccd72c --- /dev/null +++ b/Interop.UIAutomationCore.nuspec @@ -0,0 +1,19 @@ + + + + TestStack.Interop.UIAutomationCore + $version$ + TestStack.Interop.UIAutomationCore + UIAutomationCore exposes UIAutomationCore functionality for use by managed code. + This exposes UIAutomation functionality that is defined in UIAutomationCore.idl + Ivan Danilov + Ivan Danilov + https://github.com/TestStack/uia-custom-pattern-managed + MIT + false + UIAutomation Testing UIA WPF Win32 Automation + + + + + diff --git a/build-and-publish.bat b/build-and-publish.bat index 30a159a..283397b 100644 --- a/build-and-publish.bat +++ b/build-and-publish.bat @@ -23,6 +23,10 @@ if errorlevel 1 goto somethingbad GitLink . -u https://github.com/TestStack/uia-custom-pattern-managed -c Release -include ManagedUiaCustomizationCore if errorlevel 1 goto somethingbad +echo nuget pack Interop.UIAutomationCore.nuspec -version "%GitVersion_NuGetVersion%" +nuget pack Interop.UIAutomationCore.nuspec -version "%GitVersion_NuGetVersion%" -verbosity detailed -basepath . +if errorlevel 1 goto somethingbad + echo nuget pack UiaCustomPattersManaged.nuspec -version "%GitVersion_NuGetVersion%" nuget pack UiaCustomPattersManaged.nuspec -version "%GitVersion_NuGetVersion%" -verbosity detailed -basepath . if errorlevel 1 goto somethingbad @@ -35,7 +39,7 @@ if errorlevel 1 goto somethingbad echo Finished successfully echo(--------------------- -echo Remember to publish created nupkg file and update Changes section in Readme.md +echo Remember to publish created nupkg files and update Changes section in Readme.md goto end :somethingbad From a120412ad6a47e0bcac7e5ba5faef68a4b3e29fa Mon Sep 17 00:00:00 2001 From: Dave Tryon <45672944+DaveTryon@users.noreply.github.com> Date: Fri, 4 Jun 2021 14:12:29 -0700 Subject: [PATCH 2/2] Update package summary --- Interop.UIAutomationCore.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interop.UIAutomationCore.nuspec b/Interop.UIAutomationCore.nuspec index eccd72c..e4ddffd 100644 --- a/Interop.UIAutomationCore.nuspec +++ b/Interop.UIAutomationCore.nuspec @@ -4,7 +4,7 @@ TestStack.Interop.UIAutomationCore $version$ TestStack.Interop.UIAutomationCore - UIAutomationCore exposes UIAutomationCore functionality for use by managed code. + Interop.UIAutomationCore.dll exposes UIAutomationCore functionality for use by managed code. This exposes UIAutomation functionality that is defined in UIAutomationCore.idl Ivan Danilov Ivan Danilov