Error:
C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.103.2\agent\Worker\Tools\nuget.exe
failed with return code: 1
Packages failed to install Return code: 1
Delivery_Analytics\Delivery_Analytics\Delivery_Analytics.csproj (0, 0)
Cannot resolve Assembly or Windows Metadata file 'System.Runtime.Handles.dll'
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets
(264, 5)
Type universe cannot resolve assembly: System.Runtime.Handles, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
Process 'msbuild.exe' exited with code '1'
2016-08-16T12:16:14.5082366Z System.Security.Cryptography.Cng 4.2.0 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
2016-08-16T12:16:14.5082366Z System.Security.Cryptography.Encoding 4.0.0 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
2016-08-16T12:16:14.5092363Z System.Security.Cryptography.Primitives 4.0.0 is not compatible with
UAP,Version=v10.0 (win10-x64-aot).
2016-08-16T12:16:14.5092363Z System.Collections.NonGeneric 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
2016-08-16T12:16:14.5092363Z System.Collections.Specialized 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
2016-08-16T12:16:14.5102364Z System.Private.Uri 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
2016-08-16T12:16:14.5102364Z System.Net.Requests 4.0.11 provides a compile-time reference assembly for System.Net.Requests on
UAP,Version=v10.0, but there is no run-time assembly compatible with
win10-x64-aot.
2016-08-16T12:16:14.5112357Z System.Runtime.WindowsRuntime.UI.Xaml 4.0.1 provides a compile-time reference assembly for System.Runtime.WindowsRuntime.UI.Xaml on UAP,Version=v10.0, but there
is no run-time assembly compatible with win10-x64-aot.
2016-08-16T12:16:14.5112357Z System.IO.Compression 4.1.1 provides a compile-time reference assembly for System.IO.Compression on
UAP,Version=v10.0, but there is no run-time assembly compatible with
win10-x64-aot.
2016-08-16T12:16:14.5412349Z Generating MSBuild file Delivery_Analytics.nuget. targets.
2016-08-16T12:16:14.5432359Z Generating MSBuild file Delivery_Analytics.nuget. props.
2016-08-16T12:16:14.5712346Z ##[debug]rc:1
2016-08-16T12:16:14.5722353Z ##[debug]success:false
2016-08-16T12:16:14.5812337Z ##[error]Error: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.104.1\
agent\ Worker\ Tools\nuget.exe failed with return code: 1
2016-08-16T12:16:14.5812337Z ##[error]Packages failed to install
2016-08-16T12:16:14.5822348Z ##[debug]task result: Failed
2016-08-16T12:16:14.5822348Z ##[error]Return code: 1
Based on my test, changing Microsoft.NetCore.UniversalWindowsPlatform dependency version to 5.1.0, then it works fine. Based on this thread https://github.com/dotnet/coreclr/issues/3520, the 5.2.0 is prerelease and isn’t yet supported to be consumed by UWP apps.
Related
Im having issues to install ZAP add ons using the command gradle tasks after i put cd zaproxy. Im using windows, the goal is for me to plug in owasp zap in eclipse. I already have the owsap zap application installed using the installer x64 bit. Please help as i already referred the official tutorial documentation and youtube video but still couldnt solve the issue.
What I did in gitbash:
`NB MSI#KhairunAqilah-Laptop MINGW64 ~/zaproxy
$ gradle tasks
What I should get:
what i got:
> Task :buildSrc:compileKotlin FAILED
The `kotlin-dsl` plugin applied to project ':buildSrc' enables experimental Kotlin compiler features. For more information see https://docs.gradle.org/6.8.3/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/META-INF/gradle.kotlin_module: Module was compiled with an incompatible version of
Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessors26zbplfot43jvv3iww08bvstz.kt: (64, 66): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompat
ible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessors26zbplfot43jvv3iww08bvstz.kt: (65, 40): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompat
ible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsbmeqcrgd7c0p5ndnkkj10dxnn.kt: (64, 26): Class 'com.install4j.gradle.Install4jExtension' was compiled with an inc
ompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsbmeqcrgd7c0p5ndnkkj10dxnn.kt: (65, 6): Class 'com.install4j.gradle.Install4jExtension' was compiled with an inco
mpatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsbmeqcrgd7c0p5ndnkkj10dxnn.kt: (71, 26): Class 'com.install4j.gradle.Install4jExtension' was compiled with an inc
ompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsbmeqcrgd7c0p5ndnkkj10dxnn.kt: (72, 6): Class 'com.install4j.gradle.Install4jExtension' was compiled with an inco
mpatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsc7umvmbh1t2ps42oazl5v7ufw.kt: (64, 62): Class 'com.install4j.gradle.Install4jExtension' was compiled with an inc
ompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsc7umvmbh1t2ps42oazl5v7ufw.kt: (65, 111): Class 'com.install4j.gradle.Install4jExtension' was compiled with an in
compatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\build\generated-sources\kotlin-dsl-accessors\kotlin\gradle\kotlin\dsl\accessors\_e1186a2f8739d9ae78eab335915ef41a\Accessorsc7umvmbh1t2ps42oazl5v7ufw.kt: (71, 79): Class 'com.install4j.gradle.Install4jExtension' was compiled with an inc
ompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jExtension.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\github-releases.gradle.kts: (3, 29): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1
.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\github-releases.gradle.kts: (103, 42): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4
.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\github-releases.gradle.kts: (105, 80): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4
.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\installers.gradle.kts: (3, 29): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\installers.gradle.kts: (109, 41): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\installers.gradle.kts: (110, 9): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\installers.gradle.kts: (111, 9): Class 'com.install4j.gradle.Install4jTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.1.
The class is loaded from C:/Users/NB MSI/.gradle/caches/modules-2/files-2.1/gradle.plugin.install4j.install4j.buildtools/gradle_publish/10.0.3/508d4dda8e92616f1ad09cff9379b39812888f60/gradle_publish-10.0.3.jar!/com/install4j/gradle/Install4jTask.class
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\test.gradle.kts: (24, 10): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
internal fun Project.sourceSets(configure: Action<SourceSetContainer>): Unit defined in gradle.kotlin.dsl.accessors._566dc064233c60a31df379898f991b12 in file Accessors2oadk7let745pm8ahqypkqzlk.kt
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\test.gradle.kts: (41, 32): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
internal val Project.sourceSets: SourceSetContainer defined in gradle.kotlin.dsl.accessors._566dc064233c60a31df379898f991b12 in file Accessors2oadk7let745pm8ahqypkqzlk.kt
e: C:\Users\NB MSI\zaproxy\buildSrc\src\main\kotlin\org\zaproxy\zap\test.gradle.kts: (42, 26): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
internal val Project.sourceSets: SourceSetContainer defined in gradle.kotlin.dsl.accessors._566dc064233c60a31df379898f991b12 in file Accessors2oadk7let745pm8ahqypkqzlk.kt
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileKotlin'.
> Compilation error. See log for more details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
If you pulled the code recently then you may have got it in an inconsistent state as we were in the middle of releasing ZAP 2.12.0. Pull the code now and try again - it should be consistent and work.
My target mono android version is 8.0 and i am building my app at API level 26
while building droid i am getting about 500 warnings related to nuget packages
in Android and IOS is OK....
something like this...
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Animation.design_fab_in. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Animation.design_fab_out. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.MediaRouteControllerWindowBackground. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteBluetoothIconDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteCastDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteChooserPrimaryTextStyle. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteChooserSecondaryTextStyle. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteCollapseGroupDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteConnectingDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteControllerPrimaryTextStyle. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteControllerSecondaryTextStyle. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteControllerTitleTextStyle. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteExpandGroupDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteOffDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Attribute.mediaRouteOnDrawable. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Boolean.abc_action_bar_embed_tabs_pre_jb. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Boolean.abc_action_bar_expanded_action_views_exclusive. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Boolean.abc_config_allowActionMenuItemTextWithIcon. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Color.design_textinput_error_color_dark. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Color.design_textinput_error_color_light. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Color.hint_foreground_material_dark. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Color.hint_foreground_material_light. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Dimension.abc_dialog_list_padding_vertical_material. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Dimension.abc_search_view_text_min_width. Please check that your Nuget Package versions are compatible.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1476,2): warning XA0106: Skipping BMS.Droid.Resource.Dimension.design_bottom_sheet_modal_peek_height. Please check that your Nuget Package versions are compatible.
These non-actionable warnings can be suppressed by editing the following into the Android project file:
<PropertyGroup>
<MSBuildWarningsAsMessages>XA0106</MSBuildWarningsAsMessages>
</PropertyGroup>
As of Visual Studio 16.3 Preview 1, these have been downgraded to messages instead of warnings, so suppression will no longer be necessary. More background is available on the Xamarin.Android GitHub.
I thought my problem was very simple to resolve but it isn't. I'm creating some new components for Xamarin. I have a main Xamarin project where I'm testing my components.
My components are a main portable project and for each platform there is specific implementation.
The implementation for UWP generates a compatibility error
Project PSC.Xam.Controls.BindableRadioButton.UWP is not compatible
with uap10.0 (UAP,Version=v10.0). Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0. Project PSC.Xam.Controls.BindableRadioButton.UWP is
not compatible with uap10.0 (UAP,Version=v10.0) / win10-arm. Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0 (win10-arm). Project
PSC.Xam.Controls.BindableRadioButton.UWP is not compatible with
uap10.0 (UAP,Version=v10.0) / win10-arm-aot. Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0 (win10-arm-aot). Project
PSC.Xam.Controls.BindableRadioButton.UWP is not compatible with
uap10.0 (UAP,Version=v10.0) / win10-x64. Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0 (win10-x64). Project
PSC.Xam.Controls.BindableRadioButton.UWP is not compatible with
uap10.0 (UAP,Version=v10.0) / win10-x64-aot. Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0 (win10-x64-aot). Project
PSC.Xam.Controls.BindableRadioButton.UWP is not compatible with
uap10.0 (UAP,Version=v10.0) / win10-x86. Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0 (win10-x86). Project
PSC.Xam.Controls.BindableRadioButton.UWP is not compatible with
uap10.0 (UAP,Version=v10.0) / win10-x86-aot. Project
PSC.Xam.Controls.BindableRadioButton.UWP supports: uap10.0.10240
(UAP,Version=v10.0.10240) One or more projects are incompatible with
UAP,Version=v10.0 (win10-x86-aot). NuGet package restore failed.
I checked the configuration of UWP main project and the implementation project and both are the same settings.
In the implementation project, I have a reference to the portable project and its settings are:
If I deploy the project and run it, it seems working fine on my desktop.
Also, I receive two other errors:
Duplicate Entry
0xdef00532 - Conflicting values for resource 'Files/Xamarin.Forms.Platform.UAP/TabbedPageStyle.xbf' GENERATEPROJECTPRIFILE
I checked my Package.appxmanifest and Dependencies is as requested.
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal"
MinVersion="10.0.0.0"
MaxVersionTested="10.0.0.0" />
</Dependencies>
In order to use .NET Standard 2.0 in UWP, you need to target Fall Creators Update (FCU) as the minimum version of your UWP project. That’s because .NET Standard 2.0 contains many APIs that require FCU to make them work in the context of the UWP execution environment, specifically AppContainer.
https://blogs.msdn.microsoft.com/dotnet/2017/08/25/uwp-net-standard-2-0-preview/
https://blogs.msdn.microsoft.com/dotnet/2017/10/10/announcing-uwp-support-for-net-standard-2-0/
Find project.json file and replace "uap10.0" with "uap10.0.10586"
I am building module to run iOS 64bits.
I got this error, please help me to fix this.
Appcelerator: 4.1
TitaniumSDK: 4.1.0.G
Build settings from command line:
SDKROOT = iphoneos8.4
=== BUILD TARGET demomodule OF PROJECT demomodule WITH CONFIGURATION Release ===
Check dependencies
** BUILD SUCCEEDED **
Build settings from command line:
SDKROOT = iphonesimulator8.4
=== BUILD TARGET demomodule OF PROJECT demomodule WITH CONFIGURATION Release ===
Check dependencies
** BUILD SUCCEEDED **
Check build architectures
[WARN] built module is missing 64-bit support.
[WARN] architectures in manifest: x86_64, i386, arm64, armv7
[WARN] compiled binary architectures: i386, armv7
MODULE BUILD FAILED
[ERROR] there is discrepancy between the architectures specified in module manifest and compiled binary.
[ERROR] Please update manifest to match module binary architectures.
I'm battling paths in Fsharp and Mono on OSX. I have 2 questions:
Is there any way to make mono follow #I paths in Fsharp?
Is some way that I may include the dll in the exe, such that files compiled on one machine may run on another without having to duplicate installation of packages?
Example of the problem is the following: I've installed MathNet.Numerics in a local directory "packages" one level above my source directory using nugget.exe. Running the example:
#I "../packages/MathNet.Numerics.3.6.0/lib/net40/"
#r "MathNet.Numerics.dll"
open MathNet.Numerics
let v = SpecialFunctions.Gamma(0.5)
printfn "%g" v
followed by ";;" gives
...
1.77245
val v : float = 1.772453851
val it : unit = ()
while, when placed in the file monoIgnoresPaths.fsx, I have to also tell mono, where the dll is:
Solsikke:src sporring$ mono --version
Mono JIT compiler version 3.12.0 ((detached/a813491 Thu Dec 11 12:24:44 EST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-(detached/5486eb2)
GC: sgen
Solsikke:src sporring$ echo $MONO_PATH
Solsikke:src sporring$ fsharpc monoIgnoresPaths.fsx
F# Compiler for F# 3.1 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
Solsikke:src sporring$ mono monoIgnoresPaths.exe
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'MathNet.Numerics, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'MathNet.Numerics, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'MathNet.Numerics, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'MathNet.Numerics, Version=3.6.0.0, Culture=neutral, PublicKeyToken=null'
Solsikke:src sporring$ export MONO_PATH=`pwd`/../packages/MathNet.Numerics.3.6.0/lib/net40/;
Solsikke:src sporring$ mono monoIgnoresPaths.exe
1.77245
Is this a bug in Mono?
Thanks, Jon
fsharpc ignores #I (by design), the directive is meant to be used only in fsharpi.
For your second question, you can use --standalone to compile all the references into the binary.