Exception:In windows 10 xamarin forms project any help please? (PCL project tagrgetting ios android and windows 10 ) this is working just on ios and android
public class Config
{
private Realm _dblocal;
private static Config _config = new Config();
public static Config Instance
{
get
{
if (_config == null)
_config = new Config();
return _config;
}
}
private Config() { }
public RealmConfiguration get_realm_config()
{
var config = new RealmConfiguration("ymora.realm");
var realm = Realm.GetInstance(config);
var pathToDatabase = config.DatabasePath;
return config;
}
/// <summary>
/// Gets the Realm db local.
/// </summary>
/// <returns>The db local.</returns>
public Realm get_db_local()
{
if (_dblocal != null)
{
return _dblocal;
}
else
{
_dblocal = Realm.GetInstance(this.get_realm_config());
return this._dblocal;
}
}
}
```
This is interesting.
Could you try specifying an absolute path in the RealmConfiguration constructor?
yes i try it and it's not working
@fealebenpae thank you i will be waiting for news :)
What are your Visual Studio, Windows 10, and Windows 10 SDK versions? Also the target and minimum Windows versions in the project.
I'm running Windows 10 Creators Update with Visual Studio 2017 Update 2, my minimum version is the November Update and target version is the Creators Update. I have both the Creators and Anniversary SDKs installed. I cannot reproduce the problem on Win32 or x64.
i'm running on windows 10 pro ,system (x64 ) and on VS2015
for my universal project i'm using windows 10 Anniversary Edition 10.0 (Build 14393 )as a target and minimum version windows10(10.,build 10586) any help ? i have to install vs2017??
so realm for windows is not working on VS2015 try to solve this problem !
Now i can run with windows on VS2017 but without loading data it says The 0x148c thread stopped with code 0 (0x0). i tested running with x64 arm also with x86 any help please
Hey @Amor-Fairouz, could you try this nuget to see if it fixes the issue for you?
Realm.Database.2.0.0.nupkg.zip
hello thks for update i wanted to ask you how can i use this file for nuget
locally ? i still new in xamarin and c# devs.
regards
On 31 May 2017 at 12:28, Yavor Georgiev notifications@github.com wrote:
Reopened #1410 https://github.com/realm/realm-dotnet/issues/1410.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-dotnet/issues/1410#event-1103933944, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APGs7ZZvuLipUn2LY97mf_Dv4OKsrt5iks5r_UDhgaJpZM4Njs3x
.
--
Fairouz Amor
Mobile Software Student
Private Higher School of Engineering and Technology
Adresse : Pôle technologique El Ghazela -2083 Ariana- Tunisie
*Tel :+21655776263 *
You can see this SO answer for a detailed explanation - the screenshots are fairly old, but the menu items are pretty much the same.
yes i see thank you for your help 👍
@Amor-Fairouz did you try the custom package that @fealebenpae sent? Does it solve the issue you were experiencing?
I'll assume that the issue is closed. Should that not be the case, feel free to reopen it and we'll take another look.
I'm sorry for the late but for now I uninstalled visual studio 2015 so I
cannot test and we are using visual studio 2017 this error was shown in
VS2015 thank you for your time
On Jun 6, 2017 7:25 PM, "Nikola Irinchev" notifications@github.com wrote:
Closed #1410 https://github.com/realm/realm-dotnet/issues/1410.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-dotnet/issues/1410#event-1112218475, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APGs7Qo_cZU9P2pSlWTsNYa614GVxBjUks5sBYt3gaJpZM4Njs3x
.