Commit 9fda2c6 1 parent 90ec0c7 commit 9fda2c6 Copy full SHA for 9fda2c6
File tree 10 files changed +19
-2
lines changed
interdependent-binding-projects
10 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 16
16
<DefineConstants ></DefineConstants >
17
17
<LangVersion >latest</LangVersion >
18
18
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
19
+ <RootTestsDirectory >..</RootTestsDirectory >
19
20
</PropertyGroup >
20
21
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
21
22
<DebugSymbols >true</DebugSymbols >
166
167
<Compile Include =" AppDelegate.cs" />
167
168
<Compile Include =" FrameworkTests.cs" />
168
169
</ItemGroup >
170
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
169
171
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
170
172
<ItemGroup >
171
173
<ProjectReference Include =" ..\..\tests\bindings-framework-test\bindings-framework-test.csproj" >
Original file line number Diff line number Diff line change 15
15
<IntermediateOutputPath >obj\$(Platform)\$(Configuration)-unified</IntermediateOutputPath >
16
16
<DefineConstants ></DefineConstants >
17
17
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
18
+ <RootTestsDirectory >..</RootTestsDirectory >
18
19
</PropertyGroup >
19
20
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
20
21
<DebugSymbols >true</DebugSymbols >
166
167
<Name >Touch.Client-iOS</Name >
167
168
</ProjectReference >
168
169
</ItemGroup >
170
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
169
171
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.FSharp.targets" />
170
172
</Project >
Original file line number Diff line number Diff line change 15
15
<IntermediateOutputPath >obj\$(Platform)\$(Configuration)-unified</IntermediateOutputPath >
16
16
<DefineConstants ></DefineConstants >
17
17
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
18
+ <RootTestsDirectory >..</RootTestsDirectory >
18
19
</PropertyGroup >
19
20
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
20
21
<DebugSymbols >True</DebugSymbols >
142
143
<ItemGroup >
143
144
<Compile Include =" Main.cs" />
144
145
</ItemGroup >
146
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
145
147
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
146
148
<ItemGroup >
147
149
<ProjectReference Include =" ..\bindings-test2\bindings-test2.csproj" >
Original file line number Diff line number Diff line change 15
15
<DefineConstants ></DefineConstants >
16
16
<LangVersion >latest</LangVersion >
17
17
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
18
+ <RootTestsDirectory >..\..</RootTestsDirectory >
18
19
</PropertyGroup >
19
20
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
20
21
<DebugSymbols >True</DebugSymbols >
264
265
<Link >simlauncher64-sgen.frameworks</Link >
265
266
</BundleResource >
266
267
</ItemGroup >
268
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
267
269
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
268
270
</Project >
Original file line number Diff line number Diff line change 14
14
<IntermediateOutputPath >obj\$(Platform)\$(Configuration)-unified</IntermediateOutputPath >
15
15
<DefineConstants ></DefineConstants >
16
16
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
17
+ <RootTestsDirectory >..\..\..</RootTestsDirectory >
17
18
</PropertyGroup >
18
19
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
19
20
<DebugSymbols >True</DebugSymbols >
174
175
<ImageAsset Condition =" '$(TargetFrameworkIdentifier)' != 'Xamarin.WatchOS'" Include =" Assets.xcassets\AppIcons.appiconset\icon-app-76%402x.png" />
175
176
<ImageAsset Condition =" '$(TargetFrameworkIdentifier)' != 'Xamarin.WatchOS'" Include =" Assets.xcassets\AppIcons.appiconset\icon-app-83.5%402x.png" />
176
177
</ItemGroup >
178
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
177
179
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
178
180
<ItemGroup >
179
181
<Content Include =" BoardingPass.pkpass" />
Original file line number Diff line number Diff line change 15
15
<DefineConstants ></DefineConstants >
16
16
<LangVersion >latest</LangVersion >
17
17
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
18
+ <RootTestsDirectory >..\..\..</RootTestsDirectory >
18
19
</PropertyGroup >
19
20
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
20
21
<DebugSymbols >True</DebugSymbols >
236
237
<Name >bindings-test</Name >
237
238
</ProjectReference >
238
239
</ItemGroup >
240
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
239
241
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
240
242
</Project >
Original file line number Diff line number Diff line change 14
14
<IntermediateOutputPath >obj\$(Platform)\$(Configuration)-unified</IntermediateOutputPath >
15
15
<DefineConstants ></DefineConstants >
16
16
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
17
+ <RootTestsDirectory >..\..\..</RootTestsDirectory >
17
18
</PropertyGroup >
18
19
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' " >
19
20
<DebugSymbols >True</DebugSymbols >
231
232
<Name >bindings-test</Name >
232
233
</ProjectReference >
233
234
</ItemGroup >
235
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
234
236
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
235
237
</Project >
Original file line number Diff line number Diff line change 15
15
<TargetFrameworkIdentifier >Xamarin.iOS</TargetFrameworkIdentifier >
16
16
<IntermediateOutputPath >obj\$(Platform)\$(Configuration)-unified</IntermediateOutputPath >
17
17
<RestoreProjectStyle >PackageReference</RestoreProjectStyle >
18
+ <RootTestsDirectory >..\..</RootTestsDirectory >
18
19
</PropertyGroup >
19
20
<PropertyGroup >
20
21
<MonoNativeMode Condition =" '$(TargetFrameworkIdentifier)|$(Configuration)|$(Platform)' == 'Xamarin.iOS|Debug|iPhoneSimulator'" >MONO_NATIVE_SYMLINK</MonoNativeMode >
194
195
<Link >MonoNativeConfig.cs</Link >
195
196
</Compile >
196
197
</ItemGroup >
198
+ <Import Project =" $(RootTestsDirectory)\nunit.framework.targets" />
197
199
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
198
200
</Project >
199
201
Original file line number Diff line number Diff line change 4
4
<PropertyGroup >
5
5
<XmlLinkerFile >$(MSBuildThisFileDirectory)nunit.framework.xml</XmlLinkerFile >
6
6
<MonoBundlingExtraArgs >--xml=$(XmlLinkerFile) $(MonoBundlingExtraArgs)</MonoBundlingExtraArgs >
7
- <MtouchExtraArgs >--xml=$(XmlLinkerFile) $(MtouchExtraArgs)</MtouchExtraArgs >
7
+ <MtouchExtraArgs >--xml=$(XmlLinkerFile) --dlsym:+nunit.framework.dll $(MtouchExtraArgs)</MtouchExtraArgs >
8
8
</PropertyGroup >
9
9
</Project >
Original file line number Diff line number Diff line change @@ -409,7 +409,8 @@ public void ParseDlsymOptions (string options)
409
409
if ( Driver . TryParseBool ( options , out dlsym ) ) {
410
410
DlsymOptions = dlsym ? DlsymOptions . All : DlsymOptions . None ;
411
411
} else {
412
- DlsymAssemblies = new List < Tuple < string , bool > > ( ) ;
412
+ if ( DlsymAssemblies == null )
413
+ DlsymAssemblies = new List < Tuple < string , bool > > ( ) ;
413
414
414
415
var assemblies = options . Split ( ',' ) ;
415
416
foreach ( var assembly in assemblies ) {
You can’t perform that action at this time.
0 commit comments