Skip to content

Commit 04209ae

Browse files
committed
fix csproj
1 parent 63be147 commit 04209ae

File tree

4 files changed

+35
-8
lines changed

4 files changed

+35
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,4 @@ MigrationBackup/
348348

349349
# Ionide (cross platform F# VS Code tools) working folder
350350
.ionide/
351+
*.mpack

VisualStudioMac.OneClickToOpenFile/CommandHandlers/Node/OneClickNodeCommandHandler.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,15 @@ public override void OnItemSelected()
2222
}
2323
}
2424
}
25+
26+
public override void OnRenameStarting(ref string startingText, ref int selectionStart, ref int selectionLength)
27+
{
28+
base.OnRenameStarting(ref startingText, ref selectionStart, ref selectionLength);
29+
}
30+
31+
public override void OnRenameStarting(ref int selectionStart, ref int selectionLength)
32+
{
33+
base.OnRenameStarting(ref selectionStart, ref selectionLength);
34+
}
2535
}
2636
}

VisualStudioMac.OneClickToOpenFile/VisualStudioMac.OneClickToOpenFile.csproj

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7-
<OutputPath>..\..\bin</OutputPath>
7+
<OutputPath>.\bin</OutputPath>
8+
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion>
89
</PropertyGroup>
9-
<ItemGroup>
10-
<EmbeddedResource Include="Properties\VisualStudioMac.OneClickToOpenFile.addin.xml">
11-
<LogicalName>VisualStudioMac.OneClickToOpenFile.addin.xml</LogicalName>
12-
</EmbeddedResource>
13-
</ItemGroup>
14-
<ItemGroup>
15-
<None Include="MonoDevelop.References.proj" />
10+
11+
<ItemGroup>
12+
<PackageReference Include="Microsoft.VisualStudioMac.Sdk" Version="17.0.0-preview.7955" />
13+
14+
<Reference Include="Xamarin.Mac">
15+
<HintPath>\Applications\Visual Studio %28Preview%http://29.app\Contents\MonoBundle\Xamarin.Mac.dll</HintPath>
16+
<Private>False</Private>
17+
</Reference>
1618
</ItemGroup>
1719
</Project>

pack.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
clear
3+
4+
SCRIPTFILE=$0
5+
6+
#Get the absolute path to the containing folder
7+
PROJECTFOLDER=${SCRIPTFILE%/*}
8+
9+
cd ${PROJECTFOLDER}
10+
11+
pwd
12+
13+
rm *.mpack
14+
mono /Applications/Visual\ Studio.app/Contents/Resources/lib/monodevelop/bin/vstool.exe setup pack ./VisualStudioMac.OneClickToOpenFile/bin/VisualStudioMac.OneClickToOpenFile.dll

0 commit comments

Comments
 (0)