11
11
<AssemblyName >Xamarin.Auth.Extensions</AssemblyName >
12
12
<NuGetPackageImportStamp >
13
13
</NuGetPackageImportStamp >
14
- <XamarinAuthCustomPreprocessorConstantsDefines ></XamarinAuthCustomPreprocessorConstantsDefines >
14
+ <XamarinAuthCustomPreprocessorConstantsDefines >
15
+ </XamarinAuthCustomPreprocessorConstantsDefines >
15
16
</PropertyGroup >
16
17
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17
18
<DebugSymbols >true</DebugSymbols >
24
25
<ConsolePause >false</ConsolePause >
25
26
</PropertyGroup >
26
27
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
27
- <DebugType ></DebugType >
28
+ <DebugType >
29
+ </DebugType >
28
30
<Optimize >true</Optimize >
29
31
<OutputPath >bin\Release</OutputPath >
30
32
<DefineConstants >__UNIFIED__;__MOBILE__;__IOS__;$(XamarinAuthCustomPreprocessorConstantsDefines)</DefineConstants >
73
75
<ItemGroup >
74
76
<None Include =" packages.config" />
75
77
</ItemGroup >
76
- <ItemGroup >
77
- <ProjectReference Include =" ..\..\Core\Xamarin.Auth.XamarinIOS\Xamarin.Auth.XamarinIOS.csproj" >
78
- <Project >{15be2387-8e72-4c0b-8a6a-460ef5fa4539}</Project >
79
- <Name >Xamarin.Auth.XamarinIOS</Name >
80
- <IsAppExtension >false</IsAppExtension >
81
- <IsWatchApp >false</IsWatchApp >
82
- </ProjectReference >
83
- </ItemGroup >
78
+ <!--
79
+ ==================================================================================================
80
+ If projects for references can be found use ProjectReferences otherwise use NuGet references
81
+ http://laurentkempe.com/2009/12/03/ProjectReference-with-Condition-in-your-MSBuild-project-files/
82
+ msbuild Choose When ProjectReference Reference Include
83
+ -->
84
+ <Choose >
85
+ <When Condition =" ! exists('..\..\Core\Xamarin.Auth.XamarinIOS\Xamarin.Auth.XamarinIOS.csproj')" >
86
+ <!-- nuget packages (dll) refs -->
87
+ <ItemGroup >
88
+ <Reference Include =" Xamarin.Auth NuGet Bait-n-Switch" >
89
+ <HintPath >..\packages\Xamarin.Auth.1.5.0.3\lib\Xamarin.iOS10\Xamarin.Auth.dll</HintPath >
90
+ <Name >Xamarin.Auth.XamarinIOS NuGet Bait-n-Switch</Name >
91
+ </Reference >
92
+ </ItemGroup >
93
+ </When >
94
+ <Otherwise >
95
+ <!-- project refs -->
96
+ <ItemGroup >
97
+ <ProjectReference Include =" ..\..\Core\Xamarin.Auth.XamarinIOS\Xamarin.Auth.XamarinIOS.csproj" >
98
+ <Project >{15be2387-8e72-4c0b-8a6a-460ef5fa4539}</Project >
99
+ <Name >Xamarin.Auth.XamarinIOS</Name >
100
+ <IsAppExtension >false</IsAppExtension >
101
+ <IsWatchApp >false</IsWatchApp >
102
+ </ProjectReference >
103
+ </ItemGroup >
104
+ </Otherwise >
105
+ </Choose >
106
+ <!--
107
+ If projects for references can be found use ProjectReferences otherwise use NuGet references
108
+ ==================================================================================================
109
+ -->
84
110
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
85
111
</Project >
0 commit comments