21 Sept 2020

Create automatically updated daily archive using 7-zip and batch

收藏到CSDN网摘

Since lockdown started, I switched to a laptop for my daily work and lost the directly connections to our secured network drive. Although we have alternative secured online space for file transferring, packing and uploading those files frequently is a dumb thing to do from time to time. By adding those tasks to a batch file and pressing the green button seem more sensiable to do then. In this post, a batch script that utilises the free opensource archive file software 7-zip has been shared. Moreover, it will use the current date to name the archive file automatically. Here we go!

8 Sept 2020

Visual Studio Kept on rebuilding all projects without modifying anything

收藏到CSDN网摘

I noticed vs2013 started to rebuild all my projects and their dependencies even without any code change. Interestingly, the exact same project won't be compiled on Debug mode, which suggests some differences in the settings. By changing the Tools - Options, select Projects and Solutions - Build and Run, then set "MSBuild project build output verbosity" to Diagnostic. This will output the reason for building a project. I found that VS is looking for missing vc120.pdb, which was generated in Debug mode but not in Release. So the cure is very easy after pinning the nails down.

2 Sept 2020

Change the Default profile while starting Microsoft Chromium Edge Browser

收藏到CSDN网摘

While the MS makes their Chromium based Edge browser better and better, the profile manager helps the users to manage their working account and personal account. It's also helpful to set which profile will be used to open links redirected from third-party applications. However, to decide which profile to be used to start Edge by default. some command line option need to be added as following: