clickonce

System.Collections.Specialized.StringCollection settings work fine in Debug and Release but crash on Deployment?

时光怂恿深爱的人放手 提交于 2021-01-29 08:50:46
问题 For my latest WPF application, I've been using an System.Collections.Specialized.StringCollection to save and load strings. My current system works like a charm in Debug and Release, but when deployed to ClickOnce, the application crashes as soon as anything involving the settings are involved (loading or saving)! However, System.Collections.Specialized.StringCollections work just fine on their own if not a setting. What could be causing these crashes? Here are my systems: public static void

Where to put embedded database file for clickonce deployment

本小妞迷上赌 提交于 2021-01-29 06:12:06
问题 Using a SQLite embedded database. I am using Entity Framework 6. I have the database in the bin folder when I am testing. While testing EF connects fine with the following connection string: public Entities() : base(@"metadata=DataModel1.csdl|DataModel1.ssdl|DataModel1.msl;provider=Devart.Data.SQLite;provider connection string=""Data Source=database.db;FailIfMissing=False""", "Entities") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } When I deploy the app using

Deploy EXE provided by Nuget package as a component of a ClickOnce installation

安稳与你 提交于 2021-01-27 05:30:31
问题 I have a WPF application that makes use of Selenium to automate internet explorer instances. The application is deployed to users as a click-once installation. It makes use of the Selenium.WebDriver.IEDriver nuget package, which provides IEDriverServer.exe to the bin directory automatically. This exe is not an entry in the project, but is copied there automatically as part of the build process. In order for my application to run on computers it is installed on, this exe needs to be included

Deploy EXE provided by Nuget package as a component of a ClickOnce installation

一曲冷凌霜 提交于 2021-01-27 05:30:09
问题 I have a WPF application that makes use of Selenium to automate internet explorer instances. The application is deployed to users as a click-once installation. It makes use of the Selenium.WebDriver.IEDriver nuget package, which provides IEDriverServer.exe to the bin directory automatically. This exe is not an entry in the project, but is copied there automatically as part of the build process. In order for my application to run on computers it is installed on, this exe needs to be included

Can ClickOnce be configured to delete off old published directories?

不羁的心 提交于 2021-01-20 22:16:12
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

Can ClickOnce be configured to delete off old published directories?

不羁的心 提交于 2021-01-20 22:15:10
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

Can ClickOnce be configured to delete off old published directories?

不羁的心 提交于 2021-01-20 22:14:49
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

Can ClickOnce be configured to delete off old published directories?

若如初见. 提交于 2021-01-20 22:13:15
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

Can ClickOnce be configured to delete off old published directories?

半世苍凉 提交于 2021-01-20 22:13:12
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

Can ClickOnce be configured to delete off old published directories?

有些话、适合烂在心里 提交于 2021-01-20 22:12:54
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being