Search This Blog

Sunday, February 4, 2018

Adding files and folders to a click once installation

Having trouble in adding specific files to your click once installation ? Morover, you want them to be placed under a specific folder ?

Here are the steps I followed that finally did it:

  1. You need to create the folder/file structure just like you want it to exist in your installation - in your visual studio project. For example, I needed two folders - x86 and x64, and the same  SQLite.Interop.dll under both
  2. Right click in your project, go to the Publish tab, then click in Application Files. Scroll down (they should be showing as the last items) to your added files, and make sure you change the Publish Status from Include (Auto) to Include. 
Should work now.



      

Thursday, February 1, 2018

Did you change your SVN ip and your Jenkins jobs are now failing? svn: E200015: No credential to try

Did you change your SVN ip and your Jenkins jobs are all failing now, even after your updated any ip references in the job configuration (stored at config.xml) to the new one ?

You may be missing this. This is was the missing bit that solved the problem for me.

In a short:

  1. Make sure you indeed changed all the old ip references in the config.xml to the new one (something I did before finding the article above, meaning this alone will not do it)
  2. Make sure you also update the ip in all credentials referencing the old ip.
  3. Restart jenkins
Your job should successfully complete now.