I use websocket in bestHTTP to send messages. But I get the following error during compilation. How can I solve it?
error:
Assets\Best HTTP (Pro)\BestHTTP\SecureProtocol\x509\store\IX509Selector.cs(11,11): error CS0433: The type 'ICloneable' exists in both 'Microsoft.Windows.MixedReality.DotNetWinRT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
IX509Selector.cs
code:
// compile with: /reference:Microsoft.Windows.MixedReality.DotNetWinRT.dll /reference:System=netstandard.dll
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.X509.Store
{
public interface IX509Selector
: ICloneable
{
object Clone();
bool Match(object obj);
}
}
If applicable, add screenshots to help explain your problem.
MRTK Version v2.2
Microsoft Mixed Reality Toolkit 2.2.0
HoloLens 2
@dfields-msft, have you seen this?
Can someone help me?
Sorry for the delay responding, @tjhappy - we took this offline and diagnosed a problem with the Microsoft.Windows.MixedReality.DotnetWinRT package. A new version will be published shortly with a fix. Thanks for your patience!
The fixed version is published here, please update your package and let us know if it resolves your issue:
https://www.nuget.org/packages/Microsoft.Windows.MixedReality.DotNetWinRT/0.5.1049
Great. After theGreat. After the update, the problem has been solved. Thank you update, the problem has been solved. Thank you