PKay™
PKay™
CC#
Created by PKay™ on 8/2/2023 in #help
❔ C# Dev Kit can't start language server
I'm making a tML mod and it doesn't work with C# dev kit. Output as of yet is just:
Dotnet path: /home/redacted/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.9/dotnet
Activating C# + C# Dev Kit...
info: LanguageServerHost[0]
Starting server...
Dotnet path: /home/redacted/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.9/dotnet
Activating C# + C# Dev Kit...
info: LanguageServerHost[0]
Starting server...
Note that it's been half an hour from when I started it. .sln file:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FunCon", "FunCon.csproj", "{190A5813-1162-45F9-9A5C-AAAAACF078B8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {05DB4D4D-B2F7-4C85-8990-E86FE4E8967B}
EndGlobalSection
EndGlobal
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FunCon", "FunCon.csproj", "{190A5813-1162-45F9-9A5C-AAAAACF078B8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{190A5813-1162-45F9-9A5C-AAAAACF078B8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {05DB4D4D-B2F7-4C85-8990-E86FE4E8967B}
EndGlobalSection
EndGlobal
.csproj file:
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
<PropertyGroup>
<AssemblyName>FunCon</AssemblyName>
<TargetFramework>net6.0</TargetFramework>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="tModLoader.CodeAssist" Version="0.1.*" />
</ItemGroup>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
<PropertyGroup>
<AssemblyName>FunCon</AssemblyName>
<TargetFramework>net6.0</TargetFramework>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="tModLoader.CodeAssist" Version="0.1.*" />
</ItemGroup>
</Project>
38 replies