Skip to content

Commit 31f03b3

Browse files
committed
Support VS Mac 17.3 preview 3
Xamarin.Mac workload dll renamed to Microsoft.macOS.dll and is now used in VS mac 17.3 preview 3. Reference Microsoft.macOS.dll directly from the VS Mac app bundle. The package reference System.Runtime.InteropServices.NFloat.Internal is needed to get various implicit conversions from int to NFloat.
1 parent 00f472a commit 31f03b3

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/MonoDevelop.CSharpInteractive/MonoDevelop.References.props

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
<MDBinDir>\Applications\Visual Studio %28Preview%29.app\Contents\MonoBundle</MDBinDir>
44
</PropertyGroup>
55
<ItemGroup>
6+
<PackageReference Include="System.Runtime.InteropServices.NFloat.Internal" Version="6.0.1" />
7+
</ItemGroup>
8+
<ItemGroup>
9+
<Reference Include="Microsoft.macOS">
10+
<HintPath>$(MDBinDir)\Microsoft.macOS.dll</HintPath>
11+
<Private>False</Private>
12+
</Reference>
613
<Reference Include="Mono.Addins">
714
<Private>False</Private>
815
<HintPath>$(MDBinDir)\Mono.Addins.dll</HintPath>
@@ -59,10 +66,6 @@
5966
<HintPath>$(MDBinDir)\Microsoft.VisualStudio.Text.UI.Cocoa.dll</HintPath>
6067
<Private>False</Private>
6168
</Reference>
62-
<Reference Include="Xamarin.Mac">
63-
<Private>False</Private>
64-
<HintPath>/usr/local/share/dotnet/packs/Microsoft.macOS.Ref/12.1.301-preview.13.7/ref/net6.0/Xamarin.Mac.dll</HintPath>
65-
</Reference>
6669
<Reference Include="Xwt">
6770
<Private>False</Private>
6871
<HintPath>$(MDBinDir)\Xwt.dll</HintPath>

src/MonoDevelop.CSharpInteractive/Properties/AddinInfo.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
[assembly:AddinName ("CSharp Interactive")]
3636
[assembly:AddinDescription ("")]
3737

38-
[assembly:AddinDependency ("Core", "17.0")]
39-
[assembly:AddinDependency ("Ide", "17.0")]
40-
[assembly:AddinDependency ("Debugger", "17.0")]
41-
[assembly:AddinDependency ("TextEditor", "17.0")]
38+
[assembly:AddinDependency ("Core", "17.3")]
39+
[assembly:AddinDependency ("Ide", "17.3")]
40+
[assembly:AddinDependency ("Debugger", "17.3")]
41+
[assembly:AddinDependency ("TextEditor", "17.3")]
4242

0 commit comments

Comments
 (0)