diff options
Diffstat (limited to 'src/ext/Http')
-rw-r--r-- | src/ext/Http/README.md | 54 | ||||
-rw-r--r-- | src/ext/Http/http_t.proj | 6 | ||||
-rw-r--r-- | src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs | 4 | ||||
-rw-r--r-- | src/ext/Http/wixext/WixToolset.Http.wixext.csproj | 5 |
4 files changed, 66 insertions, 3 deletions
diff --git a/src/ext/Http/README.md b/src/ext/Http/README.md index 2d9f1895..35c80c68 100644 --- a/src/ext/Http/README.md +++ b/src/ext/Http/README.md | |||
@@ -1,2 +1,52 @@ | |||
1 | # Http.wixext | 1 | # WixToolset.Http.wixext - Http WiX Toolset Extension |
2 | WixToolset.Http.wixext - Http WiX Toolset Extension | 2 | |
3 | This WiX Extension provides support for configuring HTTP.SYS. | ||
4 | |||
5 | [Web Site][web] | [Documentation][docs] | [Issue Tracker][issues] | [Discussions][discussions] | ||
6 | |||
7 | |||
8 | ## Open Source Maintenance Fee | ||
9 | |||
10 | To ensure the long-term sustainability of this project, users of this package who generate revenue must pay an [Open Source Maintenance Fee][osmf]. While the source code is freely available under the terms of the [LICENSE][license], this package and other aspects of the project require [adherence to the Open Source Maintenance Fee EULA][eula]. | ||
11 | |||
12 | To pay the Maintenance Fee, [become a Sponsor](https://github.com/sponsors/wixtoolset). | ||
13 | |||
14 | |||
15 | ## Getting started | ||
16 | |||
17 | Add the WiX Extension as a PackageReference to your .wixproj: | ||
18 | |||
19 | ``` | ||
20 | <Project Sdk="WixToolset.Sdk/7.0.0"> | ||
21 | <ItemGroup> | ||
22 | <PackageReference Include="WixToolset.Http.wixext" Version="7.0.0" /> | ||
23 | </ItemGroup> | ||
24 | </Project> | ||
25 | ``` | ||
26 | |||
27 | Then add the extension's namespace: | ||
28 | |||
29 | ``` | ||
30 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
31 | xmlns:http="http://wixtoolset.org/schemas/v4/wxs/http"> | ||
32 | |||
33 | .. | ||
34 | </Wix> | ||
35 | ``` | ||
36 | |||
37 | ## Additional resources | ||
38 | |||
39 | * [WiX Website][web] | ||
40 | * [WiX Documentation][docs] | ||
41 | * [WiX Issue Tracker][issues] | ||
42 | * [WiX Discussions][discussions] | ||
43 | |||
44 | |||
45 | [web]: https://www.firegiant.com/wixtoolset/ | ||
46 | [docs]: https://docs.firegiant.com/wixtoolset/ | ||
47 | [issues]: https://github.com/wixtoolset/issues/issues | ||
48 | [discussions]: https://github.com/orgs/wixtoolset/discussions | ||
49 | [sdk]: https://www.nuget.org/packages/WixToolset.Sdk/ | ||
50 | [osmf]: https://opensourcemaintenancefee.org/ | ||
51 | [license]: https://github.com/wixtoolset/wix/blob/main/LICENSE.TXT | ||
52 | [eula]: https://github.com/wixtoolset/wix/blob/main/OSMFEULA.txt | ||
diff --git a/src/ext/Http/http_t.proj b/src/ext/Http/http_t.proj index ddcb64b4..b3de433f 100644 --- a/src/ext/Http/http_t.proj +++ b/src/ext/Http/http_t.proj | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <Project Sdk="Microsoft.Build.Traversal"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
5 | <ItemGroup> | 5 | <ItemGroup> |
6 | <ProjectReference Include="test\WixToolsetTest.Http\WixToolsetTest.Http.csproj" Targets="Test" /> | 6 | <ProjectReference Include="test\WixToolsetTest.Http\WixToolsetTest.Http.csproj" /> |
7 | <ProjectReference Include="wixext\WixToolset.Http.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | 7 | <ProjectReference Include="wixext\WixToolset.Http.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> |
8 | </ItemGroup> | 8 | </ItemGroup> |
9 | 9 | ||
@@ -14,4 +14,8 @@ | |||
14 | 14 | ||
15 | <Delete Files="$(ArtifactsFolder)WixToolset.Http.wixext.*.nupkg" /> | 15 | <Delete Files="$(ArtifactsFolder)WixToolset.Http.wixext.*.nupkg" /> |
16 | </Target> | 16 | </Target> |
17 | |||
18 | <Target Name="WixTest"> | ||
19 | <MSBuild Projects="test\WixToolsetTest.Http\WixToolsetTest.Http.csproj" Targets="Test" /> | ||
20 | </Target> | ||
17 | </Project> | 21 | </Project> |
diff --git a/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs b/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs index c91ce937..7dcb9086 100644 --- a/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs +++ b/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs | |||
@@ -1,5 +1,9 @@ | |||
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. | 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 | 2 | ||
3 | using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
4 | |||
5 | [assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] | ||
6 | |||
3 | namespace WixToolsetTest.Http | 7 | namespace WixToolsetTest.Http |
4 | { | 8 | { |
5 | using Microsoft.VisualStudio.TestTools.UnitTesting; | 9 | using Microsoft.VisualStudio.TestTools.UnitTesting; |
diff --git a/src/ext/Http/wixext/WixToolset.Http.wixext.csproj b/src/ext/Http/wixext/WixToolset.Http.wixext.csproj index cee26f86..64c0785c 100644 --- a/src/ext/Http/wixext/WixToolset.Http.wixext.csproj +++ b/src/ext/Http/wixext/WixToolset.Http.wixext.csproj | |||
@@ -7,6 +7,7 @@ | |||
7 | <RootNamespace>WixToolset.Http</RootNamespace> | 7 | <RootNamespace>WixToolset.Http</RootNamespace> |
8 | <Description>WiX Toolset Http Extension</Description> | 8 | <Description>WiX Toolset Http Extension</Description> |
9 | <Title>WiX Toolset Http Extension</Title> | 9 | <Title>WiX Toolset Http Extension</Title> |
10 | <PackageReadmeFile>README.md</PackageReadmeFile> | ||
10 | <DebugType>embedded</DebugType> | 11 | <DebugType>embedded</DebugType> |
11 | </PropertyGroup> | 12 | </PropertyGroup> |
12 | 13 | ||
@@ -16,6 +17,10 @@ | |||
16 | <EmbeddedResource Include="$(OutputPath)..\http.wixlib" /> | 17 | <EmbeddedResource Include="$(OutputPath)..\http.wixlib" /> |
17 | </ItemGroup> | 18 | </ItemGroup> |
18 | 19 | ||
20 | <ItemGroup> | ||
21 | <None Include="..\README.md" Pack="true" PackagePath="\" /> | ||
22 | </ItemGroup> | ||
23 | |||
19 | <ItemGroup Condition=" '$(NCrunch)'=='' "> | 24 | <ItemGroup Condition=" '$(NCrunch)'=='' "> |
20 | <ProjectReference Include="..\wixlib\http.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> | 25 | <ProjectReference Include="..\wixlib\http.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> |
21 | </ItemGroup> | 26 | </ItemGroup> |