Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #759 from mono/fix-xammactest-project
Browse files Browse the repository at this point in the history
[Mac] Update XamMacTest project configuration
  • Loading branch information
sevoku committed Dec 1, 2017
2 parents 341b9e7 + 48f989c commit 901fb06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
3 changes: 0 additions & 3 deletions TestApps/XamMacTest/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ class MainClass
{
static void Main (string [] args)
{
//FIXME: remove this once mmp summorts xammac
ObjCRuntime.Dlfcn.dlopen ("/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib", 0);

App.Run (ToolkitType.XamMac);
}
}
Expand Down
21 changes: 6 additions & 15 deletions TestApps/XamMacTest/XamMacTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2B7FF081-FE53-42F7-9D5D-D4B38E548F94}</ProjectGuid>
<ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>MacTest</RootNamespace>
<AssemblyName>MacTest</AssemblyName>
<SuppressXamMacMigration>True</SuppressXamMacMigration>
<UseXamMacFullFramework>true</UseXamMacFullFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand All @@ -26,6 +27,7 @@
<UseSGen>False</UseSGen>
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
<AOTMode>None</AOTMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -42,19 +44,16 @@
<UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling>
<DebugSymbols>true</DebugSymbols>
<AOTMode>None</AOTMode>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.Mac">
<HintPath>\Library\Frameworks\Xamarin.Mac.framework\Versions\Current\lib\x86_64\full\Xamarin.Mac.dll</HintPath>
</Reference>
<Reference Include="Xamarin.Mac" />
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
<ItemGroup>
<None Include="Info.plist" />
</ItemGroup>
Expand All @@ -72,13 +71,5 @@
<Name>Xwt.XamMac</Name>
</ProjectReference>
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>
<Properties>
<Policies>
<DotNetNamingPolicy DirectoryNamespaceAssociation="None" ResourceNamePolicy="FileName" />
</Policies>
</Properties>
</MonoDevelop>
</ProjectExtensions>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" />
</Project>

0 comments on commit 901fb06

Please sign in to comment.