Skip to content

Commit

Permalink
update to dotnet 8 sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
brettfo committed Jun 29, 2024
1 parent c32b3b5 commit b082a61
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/IxMilia.Lisp.DebugAdapter.Test/bin/Debug/net7.0/IxMilia.Lisp.DebugAdapter.Test.dll",
"program": "${workspaceFolder}/src/IxMilia.Lisp.DebugAdapter.Test/bin/Debug/net8.0/IxMilia.Lisp.DebugAdapter.Test.dll",
"args": [],
"cwd": "${workspaceFolder}/src/IxMilia.Lisp.DebugAdapter.Test",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand Down
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>

<PropertyGroup>
<CommonTargetFramework>net8.0</CommonTargetFramework>
<VersionPrefix>$([System.IO.File]::ReadAllText('$(MSBuildThisFileDirectory)version.txt').Trim())</VersionPrefix>
<ArtifactsDir>$(MSBuildThisFileDirectory)artifacts</ArtifactsDir>
<ArtifactsPackagesDir>$(ArtifactsDir)\packages</ArtifactsPackagesDir>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "7.0.100",
"version": "8.0.100",
"rollForward": "latestMinor"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);VSTHRD200</NoWarn><!-- Use "Async" suffix in names of methods that return an awaitable type. -->
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);VSTHRD002</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/IxMilia.Lisp.Generator/IxMilia.Lisp.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);VSTHRD200</NoWarn><!-- Use "Async" suffix in names of methods that return an awaitable type. -->
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);VSTHRD200</NoWarn><!-- Use "Async" suffix in names of methods that return an awaitable type. -->
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/IxMilia.Lisp.Repl/IxMilia.Lisp.Repl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/IxMilia.Lisp.Test/IxMilia.Lisp.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);VSTHRD200</NoWarn><!-- Use "Async" suffix in names of methods that return an awaitable type. -->
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/IxMilia.Lisp.Wasm/IxMilia.Lisp.Wasm.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EditorDirectory>$(MSBuildThisFileDirectory)..\lisp-monaco-editor\dist</EditorDirectory>
Expand Down
2 changes: 1 addition & 1 deletion src/lisp-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"watch": "tsc -watch -p ./",
"clean-server": "npx rimraf ./server",
"publish-server": "dotnet publish ../IxMilia.Lisp.EditorServer/IxMilia.Lisp.EditorServer.csproj --configuration Release",
"copy-server": "npx copyfiles --up 8 --error --verbose \"../../artifacts/bin/IxMilia.Lisp.EditorServer/Release/net7.0/publish/*\" ./server/",
"copy-server": "npx copyfiles --up 8 --error --verbose \"../../artifacts/bin/IxMilia.Lisp.EditorServer/Release/net8.0/publish/*\" ./server/",
"package": "npm run compile && npm run clean-server && npm run publish-server && npm run copy-server && npx vsce package"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/lisp-vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const languageName = 'lisp';
const outputChannelName = 'IxMilia.Lisp Language Server';

export async function activate(context: vscode.ExtensionContext) {
const targetFrameworkMoniker = 'net7.0';
const targetFrameworkMoniker = 'net8.0';
const runtimeVersion = targetFrameworkMoniker.replace('net', '');
if (context.extensionMode === vscode.ExtensionMode.Production) {
const acquireContext = {
Expand Down

0 comments on commit b082a61

Please sign in to comment.