Skip to content

Commit

Permalink
Support VS Mac 17.5
Browse files Browse the repository at this point in the history
API has changed. The PadFontChanger no longer takes an XWT Font, it
now takes an AppKit.Font.

Target .NET 7.0 to match VS Mac 17.5.

Update addin info to indicate it supports VS Mac 17.5.
  • Loading branch information
mrward committed Nov 26, 2022
1 parent 7d5aaa2 commit 9a19659
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

using AppKit;
using System;
using System.Reflection;
using Foundation;
Expand Down Expand Up @@ -76,7 +77,7 @@ public ObjectInspectorPad ()
control = scrolled;
}

void SetCustomFont (Font font)
void SetCustomFont (NSFont font)
{
Type type = treeView.GetType ();
MethodInfo method = type.GetMethod ("SetCustomFont", BindingFlags.NonPublic | BindingFlags.Instance);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>..\..\bin</OutputPath>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<NuGetDotNetInteractiveVersion>1.0.0-beta.22103.1</NuGetDotNetInteractiveVersion>
</PropertyGroup>
<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/MonoDevelop.CSharpInteractive/Properties/AddinInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
[assembly:AddinName ("CSharp Interactive")]
[assembly:AddinDescription ("")]

[assembly:AddinDependency ("Core", "17.4")]
[assembly:AddinDependency ("Ide", "17.4")]
[assembly:AddinDependency ("Debugger", "17.4")]
[assembly:AddinDependency ("TextEditor", "17.4")]
[assembly:AddinDependency ("Core", "17.5")]
[assembly:AddinDependency ("Ide", "17.5")]
[assembly:AddinDependency ("Debugger", "17.5")]
[assembly:AddinDependency ("TextEditor", "17.5")]

0 comments on commit 9a19659

Please sign in to comment.