社区
C#
帖子详情
xamarin.Android.Support.Core.UI无法安装问题
cong1212
2017-09-07 11:55:35
请教大神们解决问题,问题如下:
无法安装程序包“Xamarin.Android.Support.Core.UI 25.4.0.2”。你正在尝试将此程序包安装到目标为“MonoAndroid,Version=v6.0”的项目中,但该程序包不包含任何与该框架兼容的程序集引用或内容文件。有关详细信息,请联系程序包作者。
...全文
375
回复
打赏
收藏
xamarin.Android.Support.Core.UI无法安装问题
请教大神们解决问题,问题如下: 无法安装程序包“Xamarin.Android.Support.Core.UI 25.4.0.2”。你正在尝试将此程序包安装到目标为“MonoAndroid,Version=v6.0”的项目中,但该程序包不包含任何与该框架兼容的程序集引用或内容文件。有关详细信息,请联系程序包作者。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
OPC UA 客户端 服务器 标准库源码
Overview This OPC UA reference implementation is targeting the .NET Standard Library. .Net Standard allows developing apps that run on all common platforms available today, including Linux, iOS,
Android
(via
Xamarin
) and Windows 7/8/8.1/10 (including embedded/IoT editions) without req
ui
ring platform-specific modifications. Furthermore, cloud applications and services (such as ASP.Net, DNX, Azure Websites, Azure Webjobs, Azure Nano Server and Azure Service Fabric) are also
support
ed. Features included 1. Fully ported
Core
UA stack and SDK (Client, Server, Configuration & Sample assemblies) 2. Sample Servers and Clients, including all req
ui
red controls, for .Net 4.6, .Net
Core
and UWP. 3. X.509 certificate
support
for client and server authentication 4. Anonymous, username, X.509 certificate (experimental) and JWT (experimental) user authentication 5. UA-TCP & HTTPS transports (client and server) 6. Folder certificate-store
support
7. Sessions (including
UI
support
in the samples) 8. Subscriptions (including
UI
support
in the samples) Getting Started All the tools you need for .Net Standard come with the .Net
Core
tools. See here for what you need. How to create self signed certificates for the sample applications On Windows 1. Open a command prompt in the root folder of your repository 2. Run the script CreateAllCerts.cmd in the root folder of your repository to create the certificates for all sample applications. 3. Alternatively, you can run the script CreateCert.cmd in each sample project folder to create new self signed certificates for the application. 4. The self signed certificates are stored in OPC Foundation/CertificateStores/MachineDefault in each application project folder On Linux 1. Open a command prompt 2. Navigate to the project folder of the sample app, e.g. SampleApplications/Samples/Net
Core
ConsoleClient 3. Run the script ./createcert.sh to create the certificates for the sample applications. 4. The self signed certificates are stored in OPC Foundation/CertificateStores/MachineDefault in each application project folder How to b
ui
ld and run the samples in Visual Studio on Windows 1. Create certificates for all sample applications. 2. Open the solution UA-NetStandard.sln with VisualStudio. 3. Choose a project in the Solution Explorer and set it with a right click as Startup Project. 4. Hit F5 to b
ui
ld and execute the sample. How to b
ui
ld and run the console samples on Windows, Linux and iOS This section describes how to run the Net
Core
ConsoleClient, Net
Core
ConsolePublisher and Net
Core
ConsoleServer sample applications. Please follow instructions in this article to setup the dotnet command line environment for your platform. Prereq
ui
sites 1. Once the dotnet command is available, navigate to the root folder in your local copy of the repository and execute dotnet restore. This command calls into NuGet to restore the tree of dependencies. Start the server 1. Open a command prompt 2. Now navigate to the folder SampleApplications/Samples/Net
Core
ConsoleServer. 3. Run the script ./createcert.sh on Linux or CreateCert.cmd on Windows to create the self signed certificate for the command line application. 4. To run the server sample type dotnet run. The server is now running and waiting for connections. In this sample configuration the server always accepts new client certificates. Start the client 1. Open a command prompt 2. Now navigate to the folder SampleApplications/Samples/Net
Core
ConsoleClient. 3. Run the script ./createcert.sh on Linux or CreateCert.cmd on Windows to create the self signed certificate for the command line application. 4. To execute the sample type dotnet run to connect to the OPC UA console sample server running on the same host. To connect to another OPC UA server specify the server as first argument and type e.g. dotnet run opc.tcp://myserver:51210/UA/SampleServer. How to b
ui
ld and run the OPC UA Web Telemetry sample • Go to the Azure portal and create a new Storage account. • Open the solution OpcUaWebTelemetry.sln with VisualStudio 2015. • Open the MessageProcessing\Configuration.cs file to configure the app to use your Azure resources (Storage account and IoTHub). // {StorageAccountName} is the name of the storage account and could be found // under Settings->Access keys->Storage account name of your storage account on the Azure portal. // {AccessKey} is the access key of the storage account and could be found // under Settings->Access keys->key1 of your storage account on the Azure portal. public static string StorageConnectionString = "DefaultEndpointsProtocol=https;AccountName={StorageAccountName};AccountKey={AccessKey}"; // {ConsumerGroupName} is the name of a aonsumer group of your IoTHub. The IoTHub you use is the // one you have created for use with the OPC UA Publisher sample. // You need to create this consumer group via the messaging settings of your IoTHub in the Azure portal. // We recommend that you do not share this Consumer group with other consumers, nor that you use the $Default consumer group. public static string EventHubConsumerGroup = "{ConsumerGroupName}"; // {EventHubEndpoint} is the Event Hub compatible endpoint of your IoTHub and could be found // under Settings->Messaging->Event Hub-compatible endpoint of your IoTHub in the Azure portal. // {PrimaryKey} is the IoT Hub primary key for access with iothubowner policy and could be found // under Settings->Shared access policies->iothubowner->Primary key of your IoTHub in the Azure portal. public static string EventHubConnectionString = "Endpoint={EventHubEndpoint};SharedAccessKeyName=iothubowner;{PrimaryKey}"; // {HubName} is the Event Hub compatible name of your IoTHub and could be found // under Settings->Messaging->Event Hub-compatible name of your IoTHub in the Azure portal. public static string EventHubName = "{HubName}"; • Save the file, reb
ui
ld the solution and start it. This will start a local instance of the application. • The solution can also be deployed into a Azure App service. Please use VisualStudio 2015's Azure publishing functionality for this purpose. • Now run the OPC UA Publisher sample, connect to a OPC UA server and publish a node. • You should see the node value on the web page after a few seconds. License This repository includes the UA .NetStandard Stack, sample libraries, and sample applications. The UA .NetStandard Stack follows a dual-license: • OPC Foundation Corporate Members: RCL • Everybody else: GPL 2.0 • RCL enables OPC Foundation members to deploy their applications using the UA .NetStandard stack without being req
ui
red to disclose the application code. Non-members must disclose their application code when using the UA .NetStandard Stack. • Note: Dual license applies to this repository only; GPL 2.0 applies to all derived repositories (for example 'forks'). For details check the License section below. • All samples are provided under the MIT license. Contributing We strongly encourage community participation and contribution to this project. First, please fork the repository and commit your changes there. Once happy with your changes you can generate a 'pull request'. You must agree to the contributor license agreement before we can accept your changes. The CLA and "I AGREE" button is automatically displayed when you perform the pull request. You can preview CLA here.
Xamarin
.
Android
实现App内版本更新
本文阐述
Xamarin
.
Android
开发中如何实现App内自动更新的功能,并对比了
Android
原生态与
Xamarin
.
Android
环境中App自动更新的差异,最后给出了总结及注意事项
Xamarin
从0到100
Xamarin
让.NET程序员在移动互联时代占据了有利位置,用熟悉的C#语言+XAML+地表强Visual Studio 2017 能构建iOS /
Android
/ Windows App 。
【
Xamarin
挖墙脚系列:
Xamarin
.
Android
的API设计准则】
原文:【
Xamarin
挖墙脚系列:
Xamarin
.
Android
的API设计准则】前言 楼主也是看着
Xamarin
的官方文档来的。基本也是照猫画虎。英语勉强凑合。翻译的不对的地方,大家多多指教。(这些东西估计弄不完整,呵呵所以别报太高的期望,楼主也很忙) 原文地址:http://developer.
xamarin
.com/g
ui
des/
android
/advanced_topics/api_...
Visual Studio 2019
Xamarin
.
Android
首次使用 RecyclerView
使用RecyclerView前,需要
安装
扩展包,
安装
步骤:工具-->NuGet 包管理器-->管理解决方案的NuGet程序包,切换到浏览页签;搜索最终需要
安装
的包
Xamarin
.
Android
.
Support
.v7.RecyclerView,点
安装
后会提示 ……检测到版本冲突。直接
安装
/引用…… ,这个时候根据提示一次
安装
即可;分别需要依次
安装
Xamarin
.
Android
.Sup...
C#
110,539
社区成员
642,577
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章