Skip to content

Commit 45e62c9

Browse files
author
ladeak
committed
CHttpExecutor using .NET9 as Microsoft.JavaScript.NodeApi currently only supports msquic on .net9
1 parent 7d95ab3 commit 45e62c9

11 files changed

Lines changed: 222 additions & 172 deletions

File tree

src/CHttp/CHttp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
5+
<TargetFrameworks>net9.0;net11.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<PackAsTool>true</PackAsTool>

src/CHttpExtension/CHttpExtension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>library</OutputType>
5-
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<PublishAot>true</PublishAot>

src/VSCodeExt/dist/extension.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VSCodeExt/msquic.dll

35.1 KB
Binary file not shown.

src/VSCodeExt/src/chttp-win-x64/CHttp.deps.json

Lines changed: 213 additions & 165 deletions
Large diffs are not rendered by default.
-6 KB
Binary file not shown.

src/VSCodeExt/src/chttp-win-x64/CHttp.runtimeconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"runtimeOptions": {
3-
"tfm": "net10.0",
3+
"tfm": "net9.0",
44
"rollForward": "major",
55
"framework": {
66
"name": "Microsoft.NETCore.App",
7-
"version": "10.0.0"
7+
"version": "9.0.0"
88
},
99
"configProperties": {
1010
"System.GC.Server": true,

src/VSCodeExt/src/chttp-win-x64/CHttpExtension.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
33
/* eslint-disable */
44

5-
const dotnet = require('node-api-dotnet/net10.0');
5+
const dotnet = require('node-api-dotnet/net9.0');
66
const path = require('node:path');
77
// @ts-ignore - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/65252
88
const { dlopen, platform, arch } = require('node:process');

src/VSCodeExt/src/chttp-win-x64/CHttpExtension.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
33
/* eslint-disable */
44

5+
import './System.Runtime';
6+
57

68
export namespace CHttpExt {
79
export function setMsQuicPath(msquicPath: string): void;

src/VSCodeExt/src/chttp-win-x64/CHttpExtension.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
33
/* eslint-disable */
44

5-
import dotnet from 'node-api-dotnet/net10.0';
5+
import dotnet from 'node-api-dotnet/net9.0';
66
import * as path from 'node:path';
77
import { fileURLToPath } from 'node:url';
88
// @ts-ignore - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/65252

0 commit comments

Comments
 (0)