gibaBR / Switch-Backup-Manager

Complete Switch Backups management tool
375 stars 53 forks source link

Building from Source Code #135

Open PSXDupe opened 5 years ago

PSXDupe commented 5 years ago

Guys, this is not so much an issue but a request for knowledge

How do I setup Visual Studio to compile the latest source code.

I have installed Visual Studio Community 2015, loaded the project, but when I go to build it a get a load of errors related to utils.cs

Error CS1547 Keyword 'void' cannot be used in this context Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 1421 Active Error CS1003 Syntax error, '[' expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 1421 Active Error CS1528 Expected ; or = (cannot specify constructor arguments in declaration) Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 1421 Active Error CS1525 Invalid expression term ')' Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 1421 Active Error CS1002 ; expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 1421 Active Error CS1003 Syntax error, ']' expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 1421 Active Error CS1003 Syntax error, '[' expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1528 Expected ; or = (cannot specify constructor arguments in declaration) Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1003 Syntax error, ',' expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1026 ) expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1525 Invalid expression term 'ref' Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1003 Syntax error, ',' expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1002 ; expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1003 Syntax error, ']' expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active Error CS1513 } expected Switch Backup Manager E:\Switch-Backup-Manager-master\Switch Backup Manager\Util.cs 4168 Active

PSXDupe commented 5 years ago

All seem to be related to just two line 1421 & 4168

garoxas commented 5 years ago

please copy line 1410 - 1430 and line 4150 - 4180 here most likely you somehow mess the source code by accidentally deleting some stuff or run git diff to see if there's any unexpected changes in the code