Author |
Message |
mijen
Joined: 21 Oct 2022 Posts: 2
|
Posted: Fri Oct 21, 2022 8:44 am Post subject: Visual Studio C# filter |
|
|
I'm considering using ViceVersa Pro for creating backup of Visual Studio C# solutions (projects, source files) but without the binaries that are generated during compilation.
I'm familiar with the modern way of doing software development using git, but sometimes file backups is a better solution.
Anyone already created a file/folder filter for this purpose? Willing to share?
Kind regards,
Michael |
|
Back to top |
|
 |
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8589
|
Posted: Fri Oct 21, 2022 10:26 am Post subject: |
|
|
Hi, we use ViceVersa PRO to backup C++ projects. We exclude :
*.obj - object code
*.pdb - program debug databse file
*.bsc - source browser database
*.ilk - incremental linker file
*.sbr - source browser intermediate file
*.idb - rebuild dependency file
*.lib - library file
*.exe - executable _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
 |
mijen
Joined: 21 Oct 2022 Posts: 2
|
Posted: Sat Oct 22, 2022 8:24 am Post subject: Visual Studio C# filter |
|
|
TGRMN Software wrote: | Hi, we use ViceVersa PRO to backup C++ projects. We exclude :
*.obj - object code
*.pdb - program debug databse file
*.bsc - source browser database
*.ilk - incremental linker file
*.sbr - source browser intermediate file
*.idb - rebuild dependency file
*.lib - library file
*.exe - executable |
I appreciate the feedback, thanks!
Looking for similar for C# and IDE Visual Studio I stumbled over the gitignore repository at github.com. I can't include link here, but search for gitignore and it should appear.
It seem "they" have included most of what you use, except for a few they have left out, and an addition of a bunch more.
The corresponding gitignore file for C# development using Visual Studio is much more involved, including by example a bunch of folders with letters that can be spelled with capital or lower case letters etc.
By example part of the "Build results" section use:
Code: | # Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/ |
And there are also some sections that that doesn't look trivial to translate into ViceVersa settings:
Code: | # Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.* |
How can I "translate" above gitignore syntax to ViceVersa filtering?
Feature idea? Import gitignore files?
Kind regards,
Michael |
|
Back to top |
|
 |
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8589
|
Posted: Mon Oct 24, 2022 2:54 am Post subject: |
|
|
Hi, thanks, I think these are Regex filters, they should be able to be used in ViceVersa as well using the <r> prefix. See Filter Syntax in help. I will test them. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|