clickonce

How do you include many additional files with ClickOnce deployment?

匆匆过客 提交于 2020-01-19 13:02:08
问题 I am trying to deploy my first WPF, C# application to many desktops. For most records in the case database there is a large PDF which I want to store separate from the database and is displayed when a button is pressed (PDF filename equals the id number). It is a search only program, no data is being saved back to the database by users. There are approximately 32,000 pdfs and this number will grow. When I tried to list these files in the project and use ClickOnce to Deploy VS said I had

Can I remove the ReportViewer language packs with ClickOnce installer

可紊 提交于 2020-01-15 09:01:54
问题 I have a .Net 4 WPF application that is deployed through ClickOnce. The application generates some reports locally and shows them to the user, so it has a reference to Microsoft.ReportViewer.WinForms . These reports are .rdlc and embedded in the application as resources. Recently, we upgraded the .dll from version 10 to the latest version 14 in order to view the newer schema definitions. The problem is that the older version did not have the option to show reports in other languages, but now,

Change assembly name for build settings in .csproj

落花浮王杯 提交于 2020-01-15 08:59:08
问题 I have an application which I want to publish with ClickOnce via command line. I have a test and a live version. It should be allowed to have both installed at the same time, which means that I need to change the assemble name (and preferably also the product name) for one of the builds. I would like to do this in the build settings. I have managed to make some build settings, which works fine, but I cannot figure out how to change the assembly and product name, for just one of them. I have

Weird behaviour when running ClickOnce deployed version of WPF application

半腔热情 提交于 2020-01-15 06:43:12
问题 We have a Navigation Based WPF application. It works fine when running directly from Visual Studio, or even if we copy the files to another directory or another computer and run it there. We deploy the application over the internet using ClickOnce and most of the time this does not cause any problems. Every now and then however, it just freezes completely and you get the classic "Application xxxx is not responding" and a non responsive UI. This does not happen every time, and only when using

How can I associate a custom URL protocol with a ClickOnce app?

陌路散爱 提交于 2020-01-14 19:04:29
问题 I want to associate a custom URL protocol (for example, myprotocol://SomeFolder/SomePage ) with a ClickOnce application. I can create the association without a problem - the issue is that every time the application is updated (which is frequently) the path to the EXE file changes. Is there any way around this issue? 回答1: It seems the answer to this is you can't, however I did come up with a solution. I created a launcher (very simple application) which finds the shortcut and passes its

How can I associate a custom URL protocol with a ClickOnce app?

痞子三分冷 提交于 2020-01-14 19:04:08
问题 I want to associate a custom URL protocol (for example, myprotocol://SomeFolder/SomePage ) with a ClickOnce application. I can create the association without a problem - the issue is that every time the application is updated (which is frequently) the path to the EXE file changes. Is there any way around this issue? 回答1: It seems the answer to this is you can't, however I did come up with a solution. I created a launcher (very simple application) which finds the shortcut and passes its

Will ClickOnce be ported to .NET Core 3 as well as WinForms?

别来无恙 提交于 2020-01-14 08:03:35
问题 Now that Winforms is being ported to .NET Core 3, what technology will be used for deploying those apps? Will ClickOnce also be ported? Many of the properties used by ClickOnce are currently stored in the .csproj file, but those project files change significantly between .NET Framework and .NET Core, so presumably this would require changes to Microsoft's ClickOnce code to make it work? Has there been any official word from Microsoft on this, I can't find anything in the documentation? 回答1:

ClickOnce certificate renew deploy

人盡茶涼 提交于 2020-01-14 04:40:27
问题 I've deployed a ClickOnce application several years ago with the ClickOnce to production. The (purchased) certificate expired a few days ago. I bought a new certificate and I installed it on my machine. I tried to deploy the application, and I see a prompt that warns me about the different key used in the previously deployed application. I read this in order to solve this problem: Certificate Expiration in ClickOnce Deployment which is not maintained anymore. According to the documentation if

Set CustomActionData on a ClickOnce setup.exe

你说的曾经没有我的故事 提交于 2020-01-14 04:34:08
问题 I need to do a Publish of my application (ClickOnce) so people can install my application from the web. With ClickOnce the setup.exe file is automatically created. What I have done in my application is to add a "Visual Studio Setup project" (which I named AppSetup) and there I have made an important Custom Action in the Install folder. How can I make ClickOnce create the setup.exe based on AppSetup instead of creating a default setup.exe automatically? If this is not possible, how can I make

I do not have Application Files dialog box in my vs2010

我们两清 提交于 2020-01-14 03:07:06
问题 I am using : Visual studio 2010 Professional Edition and developing Excel addin 2007 Where could i find the options I have there? Or could you tell me which edition of vs has the button? Print screen Thank you! 回答1: Found the explanation from the msdn it says : When you are trying to deploy Office addin : Data FilesFiles with .xml, .mdb, and .mdf extensions are automatically copied to the application data directory. You cannot configure these data files by using the Application Files dialog