File tree 3 files changed +24
-0
lines changed
tests/CSharpLanguageServer.Tests
TestData/testMultiTargetProjectLoads/Project
3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -116,3 +116,15 @@ let testServerRegistersCapabilitiesWithTheClient () =
116
116
117
117
Assert.IsTrue( client.ServerDidRespondTo( " initialize" ))
118
118
Assert.IsTrue( client.ServerDidRespondTo( " initialized" ))
119
+
120
+
121
+ [<TestCase>]
122
+ let testMultiTargetProjectLoads () =
123
+ use client = setupServerClient { defaultClientProfile with LoggingEnabled= true }
124
+ " TestData/testMultiTargetProjectLoads"
125
+ client.StartAndWaitForSolutionLoad()
126
+
127
+ let serverInfo = client.GetState() .ServerInfo.Value
128
+ Assert.AreEqual( " csharp-ls" , serverInfo.Name)
129
+
130
+ Assert.IsTrue( false )
Original file line number Diff line number Diff line change
1
+ class Class
2
+ {
3
+ public void Method ( string arg )
4
+ {
5
+ }
6
+ }
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+ <PropertyGroup >
3
+ <OutputType >Exe</OutputType >
4
+ <TargetFrameworks >net6.0;net8.0</TargetFrameworks >
5
+ </PropertyGroup >
6
+ </Project >
You can’t perform that action at this time.
0 commit comments