Hi,
I am having a similar problem in terms of what I have seen on the internet when I have googled this problem. However, the DataSettings.cs looks like it has changed and wants you to store the Settings.txt in the Tenants folder in the App_Data. I have tried different things and I cannot get my application to work. I keep on getting the following error when I write update-database in the Package Manager Console.
A connection string could not be resolved for the parameterless constructor of the derived DbContext. Either the database is not installed, or the file 'Settings.txt' does not exist or contains invalid content.
My connection string looks like the following.
<connectionStrings>
<add name="ObjectContextBase" connectionString="Data Source=DESKTOP-FTT7V1S;Initial Catalog=SmartStoreNET5;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
In the \src\Presentation\SmartStore.Web\App_Data\Tenants folder, I wrote the connection string like the following in the Settings.txt.
<add name="ObjectContextBase" connectionString="Data Source=DESKTOP-FTT7V1S;Initial Catalog=SmartStoreNET5;Integrated Security=True" providerName="System.Data.SqlClient" />
My email is j8.bell@gmail.com
Thanks,
John