diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-09 20:07:12 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-09 20:07:12 +0200 |
| commit | d5827e26ff5ee1b0532530bce4da3533f71a63dd (patch) | |
| tree | 194df1e4c33d7d07313d718152105164754c9c1b /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup | |
| parent | c7fa53084c674586ceee773ccbdc6b4c0a2ec7d4 (diff) | |
| download | Tango-d5827e26ff5ee1b0532530bce4da3533f71a63dd.tar.gz Tango-d5827e26ff5ee1b0532530bce4da3533f71a63dd.zip | |
Added LocalDB to machine prerequisit to machine studio installer.
Implemented machine studio installer feature selection.
Removed roslyn folder from MS release output.
Added date to tup file generation.
Added LocalDB start before connect service on TupFileBuilder.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup/TupFileBuilder.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup/TupFileBuilder.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup/TupFileBuilder.cs index 6dd8b82f7..fad6ce949 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup/TupFileBuilder.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tup/TupFileBuilder.cs @@ -69,9 +69,12 @@ namespace Tango.MachineStudio.Common.Tup { LogManager.Log(ex, "Could not connect using SQLEXPRESS. Trying local DB..."); - CmdCommand command = new CmdCommand("sqllocaldb", "info \"MSSQLLocalDB\""); + CmdCommand command = new CmdCommand("sqllocaldb", "start \"MSSQLLocalDB\""); var result = command.Run().Result; + command = new CmdCommand("sqllocaldb", "info \"MSSQLLocalDB\""); + result = command.Run().Result; + String pattern = "np:.+"; Regex reg = new Regex(pattern); var match = reg.Match(result.StandardOutput); |
