File tree Expand file tree Collapse file tree
samples/TestServerWithHosting
ModelContextProtocol.TestServer
ModelContextProtocol.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 10.0.x
4848 9.0.x
4949
50- # NetFX testing on non-Windows requires mono
51- - name : 🔧 Setup Mono
52- if : runner.os == 'Linux'
53- run : sudo apt-get install -y mono-devel
54-
55- - name : 🔧 Setup Mono on macOS
56- if : runner.os == 'macOS'
57- run : brew install mono
58-
5950 - name : 🔧 Set up Node.js
6051 uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
6152 with :
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFrameworks >net10.0;net9.0;net8.0;net472</TargetFrameworks >
5+ <TargetFrameworks >net10.0;net9.0;net8.0</TargetFrameworks >
6+ <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('Windows'))" >$(TargetFrameworks);net472</TargetFrameworks >
67 <ImplicitUsings >enable</ImplicitUsings >
78 <Nullable >enable</Nullable >
89 <PublishAot Condition =" '$(TargetFramework)' == 'net9.0'" >true</PublishAot >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFrameworks >net10.0;net9.0;net8.0;net472</TargetFrameworks >
5+ <TargetFrameworks >net10.0;net9.0;net8.0</TargetFrameworks >
6+ <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('Windows'))" >$(TargetFrameworks);net472</TargetFrameworks >
67 <ImplicitUsings >enable</ImplicitUsings >
78 <Nullable >enable</Nullable >
89 <AssemblyName >TestServer</AssemblyName >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFrameworks >net10.0;net9.0;net8.0;net472</TargetFrameworks >
5+ <TargetFrameworks >net10.0;net9.0;net8.0</TargetFrameworks >
6+ <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('Windows'))" >$(TargetFrameworks);net472</TargetFrameworks >
67 <ImplicitUsings >enable</ImplicitUsings >
78 <Nullable >enable</Nullable >
89
You can’t perform that action at this time.
0 commit comments