cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
_shielder_
Level 6

Patch Changing Code?

I am trying to create a patch for a new release. Everything builds fine and I get no errors or warnings. When I run the patch everything runs normal. However, when I run my application it begins to run but produces an error in my code that is in a Try Catch and exits my application per the Catch code.

If I install my new release from scratch my application runs fine. So the patch is changing the code or something.

Any ideas?

Thanks
Labels (1)
0 Kudos
(3) Replies
Alpesh
Flexera Alumni

I do not think that the patch is changing the code. But it could be that one of the file required by your application is not getting updated as expected or so. You will have to debug your application thoroughly and check if the required version of files are present on the machine.
0 Kudos
_shielder_
Level 6

Alpesh thanks for the help.

You were correct the problem is that my MyApp.exe.config is being changed during the update. It is inserting a blank SQL connection string line.

Original:


After Patching:




Do you have any idea how to stop this behavior? I'm currently looking at the "REINSTALLMODE Property" but I'm not sure this is where to fix this.

Thanks Again
0 Kudos
_shielder_
Level 6

0 Kudos