Skip to content

Commit 36010d6

Browse files
author
ladeak
committed
Updating the VSCode extension with the latest build
1 parent b477134 commit 36010d6

9 files changed

Lines changed: 188 additions & 187 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,11 @@ await session.PrintStatsAsync();
299299

300300
Run the following commands to publish the native dependencis of the VS Code Extension and to copy them to the extension's dependencies:
301301

302+
For this use that latest .NET major version:
303+
302304
```$
303-
dotnet publish src/CHttpExtension -r win-x64
304-
cp ./src/CHttpExtension/bin/Release/net11.0/win-x64/publish/* ./src/VSCodeExt/src/chttp-win-x64
305+
dotnet publish src/CHttpExtension -r win-x64 -f net10.0
306+
cp ./src/CHttpExtension/bin/Release/net10.0/win-x64/publish/* ./src/VSCodeExt/src/chttp-win-x64
305307
```
306308

307309
### Cleanup NPM

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-
<TargetFramework>net11.0</TargetFramework>
5+
<TargetFrameworks>net10.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-
<TargetFramework>net11.0</TargetFramework>
5+
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<PublishAot>true</PublishAot>

src/VSCodeExt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@
9191
"dependencies": {
9292
"mime-types": "^2.1.35",
9393
"jsonpath-plus": "^8.1.0",
94-
"node-api-dotnet": "^0.7.9"
94+
"node-api-dotnet": "^0.9.19"
9595
}
9696
}

0 commit comments

Comments
 (0)