diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.editorconfig | 37 | ||||
| -rw-r--r-- | src/libs/wcautil/Cpp.Build.props (renamed from src/Cpp.Build.props) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/Directory.Build.props (renamed from src/Directory.Build.props) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/Directory.Build.targets (renamed from src/Directory.Build.targets) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/NativeMultiTargeting.Build.props (renamed from src/NativeMultiTargeting.Build.props) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/README.md | 2 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/build/WixToolset.WcaUtil.props (renamed from src/wcautil/build/WixToolset.WcaUtil.props) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/custommsierrors.h (renamed from src/wcautil/custommsierrors.h) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/exbinary.cpp (renamed from src/wcautil/exbinary.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/inc/wcalog.h (renamed from src/wcautil/inc/wcalog.h) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/inc/wcautil.h (renamed from src/wcautil/inc/wcautil.h) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/inc/wcawow64.h (renamed from src/wcautil/inc/wcawow64.h) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/inc/wcawrapquery.h (renamed from src/wcautil/inc/wcawrapquery.h) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/packages.config (renamed from src/wcautil/packages.config) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/precomp.h (renamed from src/wcautil/precomp.h) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/qtexec.cpp (renamed from src/wcautil/qtexec.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcalog.cpp (renamed from src/wcautil/wcalog.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcascript.cpp (renamed from src/wcautil/wcascript.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcautil.cpp (renamed from src/wcautil/wcautil.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec (renamed from src/wcautil/wcautil.nuspec) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcautil.vcxproj (renamed from src/wcautil/wcautil.vcxproj) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcawow64.cpp (renamed from src/wcautil/wcawow64.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcawrap.cpp (renamed from src/wcautil/wcawrap.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/WixToolset.WcaUtil/wcawrapquery.cpp (renamed from src/wcautil/wcawrapquery.cpp) | 0 | ||||
| -rw-r--r-- | src/libs/wcautil/appveyor.cmd | 20 | ||||
| -rw-r--r-- | src/libs/wcautil/appveyor.yml | 35 | ||||
| -rw-r--r-- | src/libs/wcautil/nuget.config | 8 | ||||
| -rw-r--r-- | src/libs/wcautil/wcautil.sln | 37 | ||||
| -rw-r--r-- | src/version.json | 11 |
29 files changed, 150 insertions, 0 deletions
diff --git a/src/.editorconfig b/src/.editorconfig new file mode 100644 index 00000000..1d72e683 --- /dev/null +++ b/src/.editorconfig | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | # Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | # | ||
| 3 | # Do NOT modify this file. Update the canonical version in Home\repo-template\src\.editorconfig | ||
| 4 | # then update all of the repos. | ||
| 5 | |||
| 6 | root = true | ||
| 7 | |||
| 8 | [*] | ||
| 9 | charset = utf-8 | ||
| 10 | indent_style = space | ||
| 11 | indent_size = 4 | ||
| 12 | trim_trailing_whitespace = true | ||
| 13 | |||
| 14 | [*.{cs,vb}] | ||
| 15 | dotnet_sort_system_directives_first = true | ||
| 16 | |||
| 17 | [*.cs] | ||
| 18 | csharp_indent_case_contents = true : error | ||
| 19 | csharp_indent_switch_labels = true : error | ||
| 20 | csharp_new_line_before_open_brace = all | ||
| 21 | csharp_prefer_braces = true : error | ||
| 22 | csharp_style_expression_bodied_methods = when_on_single_line : suggestion | ||
| 23 | csharp_style_expression_bodied_constructors = when_on_single_line : suggestion | ||
| 24 | csharp_style_expression_bodied_operators = when_on_single_line : suggestion | ||
| 25 | csharp_style_expression_bodied_properties = when_on_single_line : suggestion | ||
| 26 | csharp_style_expression_bodied_indexers = when_on_single_line : suggestion | ||
| 27 | csharp_style_expression_bodied_accessors = when_on_single_line : suggestion | ||
| 28 | csharp_style_var_elsewhere = true : suggestion | ||
| 29 | csharp_style_var_for_built_in_types = true : suggestion | ||
| 30 | csharp_style_var_when_type_is_apparent = true : suggestion | ||
| 31 | dotnet_style_qualification_for_event = true : error | ||
| 32 | dotnet_style_qualification_for_field = true : error | ||
| 33 | dotnet_style_qualification_for_method = true : error | ||
| 34 | dotnet_style_qualification_for_property = true : error | ||
| 35 | |||
| 36 | [*.targets] | ||
| 37 | indent_size = 2 | ||
diff --git a/src/Cpp.Build.props b/src/libs/wcautil/Cpp.Build.props index 44a042c7..44a042c7 100644 --- a/src/Cpp.Build.props +++ b/src/libs/wcautil/Cpp.Build.props | |||
diff --git a/src/Directory.Build.props b/src/libs/wcautil/Directory.Build.props index e853e22d..e853e22d 100644 --- a/src/Directory.Build.props +++ b/src/libs/wcautil/Directory.Build.props | |||
diff --git a/src/Directory.Build.targets b/src/libs/wcautil/Directory.Build.targets index dac7452a..dac7452a 100644 --- a/src/Directory.Build.targets +++ b/src/libs/wcautil/Directory.Build.targets | |||
diff --git a/src/NativeMultiTargeting.Build.props b/src/libs/wcautil/NativeMultiTargeting.Build.props index 1ff46559..1ff46559 100644 --- a/src/NativeMultiTargeting.Build.props +++ b/src/libs/wcautil/NativeMultiTargeting.Build.props | |||
diff --git a/src/libs/wcautil/README.md b/src/libs/wcautil/README.md new file mode 100644 index 00000000..aa004554 --- /dev/null +++ b/src/libs/wcautil/README.md | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # wcautil | ||
| 2 | wcautil.lib - WiX Toolset Custom Action native utility library | ||
diff --git a/src/wcautil/build/WixToolset.WcaUtil.props b/src/libs/wcautil/WixToolset.WcaUtil/build/WixToolset.WcaUtil.props index fb73a680..fb73a680 100644 --- a/src/wcautil/build/WixToolset.WcaUtil.props +++ b/src/libs/wcautil/WixToolset.WcaUtil/build/WixToolset.WcaUtil.props | |||
diff --git a/src/wcautil/custommsierrors.h b/src/libs/wcautil/WixToolset.WcaUtil/custommsierrors.h index f149fb31..f149fb31 100644 --- a/src/wcautil/custommsierrors.h +++ b/src/libs/wcautil/WixToolset.WcaUtil/custommsierrors.h | |||
diff --git a/src/wcautil/exbinary.cpp b/src/libs/wcautil/WixToolset.WcaUtil/exbinary.cpp index 5ff24212..5ff24212 100644 --- a/src/wcautil/exbinary.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/exbinary.cpp | |||
diff --git a/src/wcautil/inc/wcalog.h b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcalog.h index ffa3fa03..ffa3fa03 100644 --- a/src/wcautil/inc/wcalog.h +++ b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcalog.h | |||
diff --git a/src/wcautil/inc/wcautil.h b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcautil.h index 4d036a9d..4d036a9d 100644 --- a/src/wcautil/inc/wcautil.h +++ b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcautil.h | |||
diff --git a/src/wcautil/inc/wcawow64.h b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcawow64.h index dd55f3fd..dd55f3fd 100644 --- a/src/wcautil/inc/wcawow64.h +++ b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcawow64.h | |||
diff --git a/src/wcautil/inc/wcawrapquery.h b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcawrapquery.h index e08f1c3f..e08f1c3f 100644 --- a/src/wcautil/inc/wcawrapquery.h +++ b/src/libs/wcautil/WixToolset.WcaUtil/inc/wcawrapquery.h | |||
diff --git a/src/wcautil/packages.config b/src/libs/wcautil/WixToolset.WcaUtil/packages.config index aa8b4077..aa8b4077 100644 --- a/src/wcautil/packages.config +++ b/src/libs/wcautil/WixToolset.WcaUtil/packages.config | |||
diff --git a/src/wcautil/precomp.h b/src/libs/wcautil/WixToolset.WcaUtil/precomp.h index 1d41337a..1d41337a 100644 --- a/src/wcautil/precomp.h +++ b/src/libs/wcautil/WixToolset.WcaUtil/precomp.h | |||
diff --git a/src/wcautil/qtexec.cpp b/src/libs/wcautil/WixToolset.WcaUtil/qtexec.cpp index 19abfaf8..19abfaf8 100644 --- a/src/wcautil/qtexec.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/qtexec.cpp | |||
diff --git a/src/wcautil/wcalog.cpp b/src/libs/wcautil/WixToolset.WcaUtil/wcalog.cpp index cc7d1438..cc7d1438 100644 --- a/src/wcautil/wcalog.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcalog.cpp | |||
diff --git a/src/wcautil/wcascript.cpp b/src/libs/wcautil/WixToolset.WcaUtil/wcascript.cpp index a7e98491..a7e98491 100644 --- a/src/wcautil/wcascript.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcascript.cpp | |||
diff --git a/src/wcautil/wcautil.cpp b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.cpp index 11867d10..11867d10 100644 --- a/src/wcautil/wcautil.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.cpp | |||
diff --git a/src/wcautil/wcautil.nuspec b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec index a57a5749..a57a5749 100644 --- a/src/wcautil/wcautil.nuspec +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec | |||
diff --git a/src/wcautil/wcautil.vcxproj b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.vcxproj index 6876bd5b..6876bd5b 100644 --- a/src/wcautil/wcautil.vcxproj +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.vcxproj | |||
diff --git a/src/wcautil/wcawow64.cpp b/src/libs/wcautil/WixToolset.WcaUtil/wcawow64.cpp index 8174c43e..8174c43e 100644 --- a/src/wcautil/wcawow64.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcawow64.cpp | |||
diff --git a/src/wcautil/wcawrap.cpp b/src/libs/wcautil/WixToolset.WcaUtil/wcawrap.cpp index 2b68f36f..2b68f36f 100644 --- a/src/wcautil/wcawrap.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcawrap.cpp | |||
diff --git a/src/wcautil/wcawrapquery.cpp b/src/libs/wcautil/WixToolset.WcaUtil/wcawrapquery.cpp index a3b593fd..a3b593fd 100644 --- a/src/wcautil/wcawrapquery.cpp +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcawrapquery.cpp | |||
diff --git a/src/libs/wcautil/appveyor.cmd b/src/libs/wcautil/appveyor.cmd new file mode 100644 index 00000000..a2596256 --- /dev/null +++ b/src/libs/wcautil/appveyor.cmd | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | @setlocal | ||
| 2 | @pushd %~dp0 | ||
| 3 | |||
| 4 | nuget restore || exit /b | ||
| 5 | |||
| 6 | msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140 || exit /b | ||
| 7 | msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v140 || exit /b | ||
| 8 | |||
| 9 | msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v141 || exit /b | ||
| 10 | msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v141 || exit /b | ||
| 11 | msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v141 || exit /b | ||
| 12 | |||
| 13 | msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v142 || exit /b | ||
| 14 | msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v142 || exit /b | ||
| 15 | msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v142 || exit /b | ||
| 16 | |||
| 17 | msbuild -p:Configuration=Release -t:PackNativeNuget src\wcautil\wcautil.vcxproj || exit /b | ||
| 18 | |||
| 19 | @popd | ||
| 20 | @endlocal \ No newline at end of file | ||
diff --git a/src/libs/wcautil/appveyor.yml b/src/libs/wcautil/appveyor.yml new file mode 100644 index 00000000..bbf880f0 --- /dev/null +++ b/src/libs/wcautil/appveyor.yml | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | # | ||
| 3 | # Do NOT modify this file. Update the canonical version in Home\repo-template\src\appveyor.yml | ||
| 4 | # then update all of the repos. | ||
| 5 | |||
| 6 | image: Visual Studio 2019 | ||
| 7 | |||
| 8 | version: 0.0.0.{build} | ||
| 9 | configuration: Release | ||
| 10 | |||
| 11 | environment: | ||
| 12 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
| 13 | DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
| 14 | NUGET_XMLDOC_MODE: skip | ||
| 15 | |||
| 16 | build_script: | ||
| 17 | - appveyor.cmd | ||
| 18 | |||
| 19 | pull_requests: | ||
| 20 | do_not_increment_build_number: true | ||
| 21 | |||
| 22 | nuget: | ||
| 23 | disable_publish_on_pr: true | ||
| 24 | |||
| 25 | skip_branch_with_pr: true | ||
| 26 | skip_tags: true | ||
| 27 | |||
| 28 | artifacts: | ||
| 29 | - path: build\Release\**\*.nupkg | ||
| 30 | name: nuget | ||
| 31 | |||
| 32 | notifications: | ||
| 33 | - provider: Slack | ||
| 34 | incoming_webhook: | ||
| 35 | secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA= | ||
diff --git a/src/libs/wcautil/nuget.config b/src/libs/wcautil/nuget.config new file mode 100644 index 00000000..790be2b0 --- /dev/null +++ b/src/libs/wcautil/nuget.config | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <configuration> | ||
| 3 | <packageSources> | ||
| 4 | <clear /> | ||
| 5 | <add key="wixtoolset-dutil" value="https://ci.appveyor.com/nuget/wixtoolset-dutil" /> | ||
| 6 | <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> | ||
| 7 | </packageSources> | ||
| 8 | </configuration> \ No newline at end of file | ||
diff --git a/src/libs/wcautil/wcautil.sln b/src/libs/wcautil/wcautil.sln new file mode 100644 index 00000000..5682f1f7 --- /dev/null +++ b/src/libs/wcautil/wcautil.sln | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | | ||
| 2 | Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| 3 | # Visual Studio Version 16 | ||
| 4 | VisualStudioVersion = 16.0.31005.135 | ||
| 5 | MinimumVisualStudioVersion = 15.0.26124.0 | ||
| 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wcautil", "src\wcautil\wcautil.vcxproj", "{5B3714B6-3A76-463E-8595-D48DA276C512}" | ||
| 7 | EndProject | ||
| 8 | Global | ||
| 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| 10 | Debug|ARM64 = Debug|ARM64 | ||
| 11 | Debug|x64 = Debug|x64 | ||
| 12 | Debug|x86 = Debug|x86 | ||
| 13 | Release|ARM64 = Release|ARM64 | ||
| 14 | Release|x64 = Release|x64 | ||
| 15 | Release|x86 = Release|x86 | ||
| 16 | EndGlobalSection | ||
| 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| 18 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
| 19 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
| 20 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Debug|x64.ActiveCfg = Debug|x64 | ||
| 21 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Debug|x64.Build.0 = Debug|x64 | ||
| 22 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Debug|x86.ActiveCfg = Debug|Win32 | ||
| 23 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Debug|x86.Build.0 = Debug|Win32 | ||
| 24 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
| 25 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Release|ARM64.Build.0 = Release|ARM64 | ||
| 26 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Release|x64.ActiveCfg = Release|x64 | ||
| 27 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Release|x64.Build.0 = Release|x64 | ||
| 28 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Release|x86.ActiveCfg = Release|Win32 | ||
| 29 | {5B3714B6-3A76-463E-8595-D48DA276C512}.Release|x86.Build.0 = Release|Win32 | ||
| 30 | EndGlobalSection | ||
| 31 | GlobalSection(SolutionProperties) = preSolution | ||
| 32 | HideSolutionNode = FALSE | ||
| 33 | EndGlobalSection | ||
| 34 | GlobalSection(ExtensibilityGlobals) = postSolution | ||
| 35 | SolutionGuid = {DD209744-C40E-4C34-8CB4-BC6B71F9A133} | ||
| 36 | EndGlobalSection | ||
| 37 | EndGlobal | ||
diff --git a/src/version.json b/src/version.json new file mode 100644 index 00000000..5f857771 --- /dev/null +++ b/src/version.json | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | "version": "4.0", | ||
| 3 | "publicReleaseRefSpec": [ | ||
| 4 | "^refs/heads/master$" | ||
| 5 | ], | ||
| 6 | "cloudBuild": { | ||
| 7 | "buildNumber": { | ||
| 8 | "enabled": true | ||
| 9 | } | ||
| 10 | } | ||
| 11 | } | ||
