Skip to content

Commit c338cbe

Browse files
committed
Fix global usings + other setup
1 parent 2a89994 commit c338cbe

5 files changed

Lines changed: 66 additions & 10 deletions

File tree

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
<Project Sdk="Xamarin.Legacy.Sdk">
1+
<Project Sdk="Xamarin.Legacy.Sdk/0.2.0-alpha2">
22
<PropertyGroup>
33
<TargetFrameworks>xamarin.ios10;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
44
<Nullable>enable</Nullable>
55
<ImplicitUsings>true</ImplicitUsings>
66

77
<RootNamespace>Cirrious.FluentLayouts.Touch</RootNamespace>
8-
<AssemblyName>Cirrious.FluentLayouts.Touch</AssemblyName>
9-
10-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">10.0</SupportedOSPlatformVersion>
11-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">10.0</SupportedOSPlatformVersion>
8+
<AssemblyName>Cirrious.FluentLayout.Touch</AssemblyName>
9+
<PackageId>Cirrious.FluentLayout</PackageId>
1210
</PropertyGroup>
1311
</Project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Global using directives
2+
3+
global using Foundation;
4+
global using UIKit;

Directory.Build.props

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Company>FluentLayout</Company>
4+
<Copyright>FluentLayout</Copyright>
5+
6+
<PackageProjectUrl>https://github.com/FluentLayout/Cirrious.FluentLayout</PackageProjectUrl>
7+
<RepositoryUrl>https://github.com/FluentLayout/Cirrious.FluentLayout</RepositoryUrl>
8+
9+
<Authors>slodge</Authors>
10+
<Owners>gshackles,slodge</Owners>
11+
<PackageReleaseNotes />
12+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
13+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
14+
<RepositoryType>git</RepositoryType>
15+
<Product>$(AssemblyName) ($(TargetFramework))</Product>
16+
<NeutralLanguage>en</NeutralLanguage>
17+
<MinClientVersion>2.12</MinClientVersion>
18+
19+
<LangVersion>latest</LangVersion>
20+
<NoWarn>$(NoWarn);1591;1701;1702;1705;VSX1000;NU1603</NoWarn>
21+
22+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">10.0</SupportedOSPlatformVersion>
23+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.3.1</SupportedOSPlatformVersion>
24+
</PropertyGroup>
25+
26+
<PropertyGroup Condition=" '$(TF_BUILD)' == 'true' ">
27+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
28+
<Deterministic>true</Deterministic>
29+
</PropertyGroup>
30+
31+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' or '$(GITHUB_ACTIONS)' == 'true' ">
32+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
33+
<IncludeSymbols>true</IncludeSymbols>
34+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
35+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
36+
37+
<DesignTimeBuild>false</DesignTimeBuild>
38+
<DebugType>portable</DebugType>
39+
<DebugSymbols>true</DebugSymbols>
40+
41+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
42+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
43+
</PropertyGroup>
44+
45+
<ItemGroup>
46+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
47+
<PrivateAssets>all</PrivateAssets>
48+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
49+
</PackageReference>
50+
</ItemGroup>
51+
</Project>

QuickLayout.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickLayout.Touch", "QuickL
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cirrious.FluentLayouts.Touch", "Cirrious.FluentLayout\Cirrious.FluentLayouts.Touch.csproj", "{75D2DA9D-DFD4-49A1-98FB-FE0F0677EF0F}"
1111
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sample", "Sample", "{EB499142-3F05-4B62-AF4A-16A6CFF92694}"
13+
EndProject
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{41493C47-62E0-4E84-B0F7-C9588119C1B2}"
15+
EndProject
1216
Global
1317
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1418
Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
@@ -117,4 +121,8 @@ Global
117121
GlobalSection(MonoDevelopProperties) = preSolution
118122
StartupItem = QuickLayout.Touch\QuickLayout.Touch.csproj
119123
EndGlobalSection
124+
GlobalSection(NestedProjects) = preSolution
125+
{849AFB57-994A-42D9-A786-EF34FC951CDE} = {EB499142-3F05-4B62-AF4A-16A6CFF92694}
126+
{5739EE87-45C0-496A-8388-A09CDB906501} = {EB499142-3F05-4B62-AF4A-16A6CFF92694}
127+
EndGlobalSection
120128
EndGlobal

global.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)