Публикация winform подключенной к базе данных access на сетевом диске
Hello all , I have created a winform application which is currently in my C drive(desktop) connected to access database which is also present in bin/debug of my winform source folder. Now i want to publish this in a network drive where two users can open this form and enter data . When i go to publish folder my database name is not showing in application files , hence i am not able to connect to it . please help how to publish this application. I have attached my app.config which i think might help you providing me a solution. <pre lang="xml"> <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> </configSections> <connectionStrings> <add name="WindowsFormsApp1.Properties.Settings.TrialConnectionString" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Trial.accdb" providerName="System.Data.OleDb" /> </connectionStrings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> </startup> </configuration>
Что я уже пробовал:
Кроме того , у меня нет мастера настройки проекта, поэтому я попробовал опубликовать его прямым методом Project-publish-and publish wizard