diff options
36 files changed, 1706 insertions, 14 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.c b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.c index 8af9a8576..52d9980de 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.c +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.c @@ -227,12 +227,13 @@ void Trigger_SetWHSFanSpeed(uint8_t fan_id, uint8_t speed) return; } -void Trigger_ReadWHSFanTacho (uint8_t fan_id) +void Trigger_ReadWHSFanTacho (uint8_t fan_id, uint8_t* tacho_value) { I2C_ReadingMessageStruc I2C_ReadingMessage; I2C_ReadingMessage.messageId = WHS_READ_FAN_TACHO; I2C_ReadingMessage.parameter = fan_id; + I2C_ReadingMessage.parameter3 = tacho_value; if (I2C_ReadingMsgQ != NULL) Mailbox_post(I2C_ReadingMsgQ , &I2C_ReadingMessage, BIOS_NO_WAIT); return; @@ -424,10 +425,9 @@ void I2C_ReadingTask(UArg arg0, UArg arg1) break; case WHS_READ_FAN_TACHO: - //todo + WHS_Read_fan_tach(I2C_ReadingMessage.parameter, I2C_ReadingMessage.parameter3);//todo break; - case WHS_SET_VOLT_BLOWER_CONTROL: WHS_Set_Volt_Blower_Control(I2C_ReadingMessage.parameter); //(fan_number, 0x20) break; @@ -460,6 +460,10 @@ void I2C_ReadingTask(UArg arg0, UArg arg1) case WHS_I2C_EEPROM_READ: // WHS_I2C_EEprom_Read(I2C_ReadingMessage.parameter, I2C_ReadingMessage.parameter2, I2C_ReadingMessage.parameter3); break; + + +//#endif + default: break; } diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.h b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.h index d3080e67e..16db6132f 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.h +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/I2C_Task.h @@ -22,7 +22,7 @@ void Trigger_WHS_I2C_EEprom_Read(uint32_t address, uint16_t size, uint8_t *p_dat //void Trigger_WHS_set_fan_speed( fan_num, uint16_t fan_speed); void Trigger_SetWHSFanSpeed (uint8_t fan_id, uint8_t speed); -void Trigger_ReadWHSFanTacho (uint8_t fan_id); //todo +void Trigger_ReadWHSFanTacho (uint8_t fan_id, uint8_t* tacho_value); //todo void Trigger_WHS_PT100_Read_All(void); void Trigger_ReadWHSPT100(uint8_t PT100_Id); //void Trigger_WHS_Set_Volt_Blower_Control(uint16_t volt); diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/D_EMC2302_fan.h b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/D_EMC2302_fan.h index a227e25d7..1882d9806 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/D_EMC2302_fan.h +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/D_EMC2302_fan.h @@ -85,6 +85,15 @@ /****************************************************************************** * Typedefs *******************************************************************************/ +typedef struct +{ + uint8_t i2s_bus; + uint8_t i2s_address; + uint8_t fan_speed[2]; + uint8_t fan_tacho[2]; +}D_EMC2301Struct; +extern D_EMC2301Struct fan_Struct_info; + /** * @enum Configuration Bits */ diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.c b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.c index 00a0c695f..73185725d 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.c +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.c @@ -12,6 +12,8 @@ #include <Drivers/I2C_Communication/WHS_Card/IO_Extender_Ports_TCA9555/WHS_IO.h> FAN_DRIVER_INFO Fan_Driver_Info[maxFAN-1]; + + #define FAN_SPEED_OFF 0x00 #define PUSH_PULL 1 uint8_t Fan_Mux_Channel = UNKNOWN; @@ -227,6 +229,15 @@ bool WHS_Read_fan_ALERT(WHS_fan_num fan_number, uint16_t *fan_alert) return status; } +void Set_All_WHS_Fans(uint8_t speed) +{ + WHS_fan_num fan_number=0; + + for (fan_number = FAN1 ; fan_number < maxFAN; fan_number++) + { + Trigger_SetWHSFanSpeed(fan_number, speed); + } +} bool Test_WHS_Fan() { @@ -254,19 +265,19 @@ bool Test_WHS_Fan() } if (status == OK) { - WHS_set_fan_speed(fan_number, 0x20); + Trigger_SetWHSFanSpeed(fan_number, 0x20); delayms(4000); - WHS_Read_fan_tach(fan_number, fan_tacho); + Trigger_SetWHSFanSpeed(fan_number, fan_tacho); delayms(1000); - WHS_set_fan_speed(fan_number, 0x80); + Trigger_SetWHSFanSpeed(fan_number, 0x80); delayms(4000); - WHS_Read_fan_tach(fan_number, fan_tacho); + Trigger_SetWHSFanSpeed(fan_number, fan_tacho); delayms(1000); - WHS_set_fan_speed(fan_number, 0xFF); + Trigger_SetWHSFanSpeed(fan_number, 0xFF); delayms(4000); - WHS_set_fan_speed(fan_number, FAN_SPEED_OFF); + Trigger_SetWHSFanSpeed(fan_number, FAN_SPEED_OFF); delayms(4000); - WHS_Read_fan_tach(fan_number, fan_tacho); + Trigger_SetWHSFanSpeed(fan_number, fan_tacho); delayms(1000); } diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.h b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.h index 371f82023..3e8171df8 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.h +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_EMC2302_Fan/WHS_Fan.h @@ -105,6 +105,7 @@ bool init_WHS_fan(void); bool WHS_set_fan_speed(WHS_fan_num fan_number, uint8_t fan_speed); bool WHS_Read_fan_tach(WHS_fan_num fan_number, uint16_t *fan_tacho); bool WHS_Read_fan_ALERT(WHS_fan_num fan_number, uint16_t *fan_alert); +void Set_All_WHS_Fans(uint8_t speed); //extern FAN_INFO Fan_Info; extern D_EMC2302_READ D_EMC2302_Read; diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index 9d794bcd7..6d92e06c9 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -755,6 +755,11 @@ uint32_t MillisecLowLoop(uint32_t tick) PressureCalc[Disp_i] = MillisecCalculatePressures(Disp_i); } } +#ifdef Use_WHS_Card + Trigger_WHS_PT100_Read_All(); + Trigger_WHS_MAX11614_Read_allADC(); +#endif + } if (OneMinute_Tick) { diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Progress.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Progress.c index cead9b0e9..c31e21e23 100644 --- a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Progress.c +++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Progress.c @@ -280,8 +280,8 @@ void Stub_ProgressRequest(MessageContainer* requestContainer) { uint16_t fan_tacho = 0; - WHS_set_fan_speed(((request->amount & 0x0000000F)-1) , request->delay & 0x000000FF); - WHS_Read_fan_tach(((request->amount & 0x0000000F)-1), &fan_tacho); + Trigger_SetWHSFanSpeed(((request->amount & 0x0000000F)-1) , request->delay & 0x000000FF); +// getWHSFanTacho(((request->amount & 0x0000000F)-1), &fan_tacho); response.progress = fan_tacho; response.has_progress = true; } diff --git a/Software/Embedded_SW/Embedded/Modules/Waste/newWHS_init.c b/Software/Embedded_SW/Embedded/Modules/Waste/newWHS_init.c index db6bd7da1..c42546d1b 100644 --- a/Software/Embedded_SW/Embedded/Modules/Waste/newWHS_init.c +++ b/Software/Embedded_SW/Embedded/Modules/Waste/newWHS_init.c @@ -52,7 +52,14 @@ bool newWHS_init(void) // status |= Test_WHS_PT100_ADC(); // //test_9555(); // status |= WHS_I2C_EEprom_Write_Ch_shai_taest(); - return status; + + Set_All_WHS_Fans(0xFF); + // delayms(4000); + //Trigger_SetWHSBlowerVoltage (0x0C00); + + + +return status; } diff --git a/Software/Stubs Collection/stubs/newWHS/test_Fan_speed.cs b/Software/Stubs Collection/stubs/newWHS/test_Fan_speed.cs new file mode 100644 index 000000000..582a7f7e7 --- /dev/null +++ b/Software/Stubs Collection/stubs/newWHS/test_Fan_speed.cs @@ -0,0 +1,59 @@ +using System; +using System.Text; +using System.Linq; +using System.Drawing; +using System.Diagnostics; +using System.Windows.Forms; +using System.Threading; +using System.Threading.Tasks; +using System.Collections.Generic; +using Tango.PMR.Stubs; +using Tango.Stubs; + +public void OnExecute(StubManager stubManager) +{ +// Request ---- +// Int32 : Amount +// Int32 : Delay + +// Response ---- +// Double : Progress + +//valv1 +var response1 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8501); //valv1_en=1 +Thread.Sleep(5000); //Sleep for 10 milli. +var response2 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8401);// valv1_dir=1 +Thread.Sleep(5000); //Sleep for 10 milli. +var response3 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8400);// valv1_dir=0 +Thread.Sleep(5000); //Sleep for 10 milli. +var response4 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8500);// valv1_disable + + +// valve 2 +var response5 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8701); //valv2_en=1 +Thread.Sleep(5000); //Sleep for 10 milli. +var response6 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8601);// valv2_dir=1 +Thread.Sleep(5000); //Sleep for 10 milli. +var response7 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8600);// valv2_dir=0 +Thread.Sleep(5000); //Sleep for 10 milli. +var response8 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x8700); //valv2_disable + +//test pump +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x0701);// pump on +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E9, 0x0700); // pump off + +// test Blower +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, 0x0000);// Blower OFF +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, 0x0400);// Blower 1.25v +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, 0x0800); // Blower 2.5v +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, 0x0C00);// Blower 3.77v +Thread.Sleep(5000); //Sleep for 10 milli. +stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, 0x0FFF); // Blower 5.0v + +}
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.config b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.config new file mode 100644 index 000000000..eb51eb63b --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.config @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> + </startup> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.xaml b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.xaml new file mode 100644 index 000000000..160510bb5 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.xaml @@ -0,0 +1,9 @@ +<Application x:Class="Tango.AzureUtils.UI.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:Tango.AzureUtils.UI" + StartupUri="MainWindow.xaml"> + <Application.Resources> + + </Application.Resources> +</Application> diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.xaml.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.xaml.cs new file mode 100644 index 000000000..a43bbe0d5 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Tango.AzureUtils.UI +{ + /// <summary> + /// Interaction logic for App.xaml + /// </summary> + public partial class App : Application + { + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/MainWindow.xaml b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/MainWindow.xaml new file mode 100644 index 000000000..4190337ce --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/MainWindow.xaml @@ -0,0 +1,25 @@ +<Window x:Class="Tango.AzureUtils.UI.MainWindow" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:local="clr-namespace:Tango.AzureUtils.UI" + mc:Ignorable="d" + Title="Azure Utils" Height="700" Width="1280"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="100"/> + <RowDefinition Height="1*"/> + </Grid.RowDefinitions> + + <TextBlock VerticalAlignment="Center" Margin="10 0 0 0" FontSize="40">Azure Utils</TextBlock> + + <Grid Grid.Row="1"> + <TabControl Margin="10"> + <TabItem Header="Environment Copy Wizard"> + + </TabItem> + </TabControl> + </Grid> + </Grid> +</Window> diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/MainWindow.xaml.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/MainWindow.xaml.cs new file mode 100644 index 000000000..c7d1728bd --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Tango.AzureUtils.UI +{ + /// <summary> + /// Interaction logic for MainWindow.xaml + /// </summary> + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/AssemblyInfo.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..bdbcdda94 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Tango.AzureUtils.UI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Tango.AzureUtils.UI")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file +//inside a <PropertyGroup>. For example, if you are using US english +//in your source files, set the <UICulture> to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Resources.Designer.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Resources.Designer.cs new file mode 100644 index 000000000..763a1f292 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Tango.AzureUtils.UI.Properties +{ + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Tango.AzureUtils.UI.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Resources.resx b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Settings.Designer.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Settings.Designer.cs new file mode 100644 index 000000000..e0ea8b73c --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Tango.AzureUtils.UI.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Settings.settings b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Tango.AzureUtils.UI.csproj b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Tango.AzureUtils.UI.csproj new file mode 100644 index 000000000..08d69d41d --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Tango.AzureUtils.UI.csproj @@ -0,0 +1,236 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{DF378E50-F0F8-46BF-A410-36DB02F2A742}</ProjectGuid> + <OutputType>WinExe</OutputType> + <RootNamespace>Tango.AzureUtils.UI</RootNamespace> + <AssemblyName>Tango.AzureUtils.UI</AssemblyName> + <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <WarningLevel>4</WarningLevel> + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> + <Deterministic>true</Deterministic> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Hyak.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Hyak.Common.1.2.2\lib\net452\Hyak.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Common.2.2.1\lib\net452\Microsoft.Azure.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.3.0.1\lib\net452\Microsoft.Azure.KeyVault.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.Core.1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault.WebKey, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.WebKey.3.0.1\lib\net452\Microsoft.Azure.KeyVault.WebKey.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.AppService.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.AppService.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.AppService.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.BatchAI.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.BatchAI.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.BatchAI.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Cdn.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Cdn.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Cdn.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Compute.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Compute.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Compute.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerInstance.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerInstance.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerInstance.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerRegistry.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerRegistry.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerRegistry.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerService.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerService.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerService.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.CosmosDB.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.CosmosDB.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.CosmosDB.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Dns.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Dns.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Dns.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.EventHub.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.EventHub.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.EventHub.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Graph.RBAC.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Graph.RBAC.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Graph.RBAC.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.KeyVault.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.KeyVault.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.KeyVault.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Locks.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Locks.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Locks.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Monitor.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Monitor.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Monitor.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Msi.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Msi.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Msi.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Network.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Network.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Network.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.PrivateDns.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.PrivateDns.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.PrivateDns.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Redis.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Redis.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Redis.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ResourceManager.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ResourceManager.Fluent.1.30.0\lib\net461\Microsoft.Azure.Management.ResourceManager.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Search.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Search.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Search.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ServiceBus.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ServiceBus.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ServiceBus.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Sql.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Sql.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Sql.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Storage.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Storage.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Storage.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.TrafficManager.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.TrafficManager.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.TrafficManager.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Storage.Blob, Version=11.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Storage.Blob.11.1.2\lib\net452\Microsoft.Azure.Storage.Blob.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Storage.Common, Version=11.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Storage.Common.11.1.2\lib\net452\Microsoft.Azure.Storage.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.4.3.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Logging, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Logging.1.1.2\lib\net451\Microsoft.IdentityModel.Logging.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Tokens, Version=5.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Tokens.5.1.2\lib\net451\Microsoft.IdentityModel.Tokens.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.19\lib\net461\Microsoft.Rest.ClientRuntime.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.18\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.Authentication.2.4.0\lib\net461\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll</HintPath> + </Reference> + <Reference Include="Microsoft.WindowsAzure.Configuration, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.2.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll</HintPath> + </Reference> + <Reference Include="Microsoft.WindowsAzure.Storage, Version=9.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\WindowsAzure.Storage.9.3.3\lib\net45\Microsoft.WindowsAzure.Storage.dll</HintPath> + </Reference> + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.IdentityModel" /> + <Reference Include="System.Net" /> + <Reference Include="System.Net.Http.WebRequest" /> + <Reference Include="System.Runtime" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.Security" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xaml"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="WindowsBase" /> + <Reference Include="PresentationCore" /> + <Reference Include="PresentationFramework" /> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </ApplicationDefinition> + <Page Include="MainWindow.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Compile Include="App.xaml.cs"> + <DependentUpon>App.xaml</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="MainWindow.xaml.cs"> + <DependentUpon>MainWindow.xaml</DependentUpon> + <SubType>Code</SubType> + </Compile> + </ItemGroup> + <ItemGroup> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + <None Include="packages.config" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\Tango.AzureUtils\Tango.AzureUtils.csproj"> + <Project>{4a6b97e5-5eba-4702-a016-6f4004f14b08}</Project> + <Name>Tango.AzureUtils</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/packages.config b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/packages.config new file mode 100644 index 000000000..9f49cc92c --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/packages.config @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Hyak.Common" version="1.2.2" targetFramework="net461" /> + <package id="Microsoft.Azure.Common" version="2.2.1" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault" version="3.0.1" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault.WebKey" version="3.0.1" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.AppService.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.BatchAI.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Cdn.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Compute.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerInstance.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerRegistry.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerService.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.CosmosDB.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Dns.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.EventHub.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Graph.RBAC.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.KeyVault.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Locks.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Monitor.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Msi.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Network.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.PrivateDns.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Redis.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ResourceManager.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Search.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ServiceBus.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Sql.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Storage.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.TrafficManager.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Storage.Blob" version="11.1.2" targetFramework="net461" /> + <package id="Microsoft.Azure.Storage.Common" version="11.1.2" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="4.3.0" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Logging" version="1.1.2" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Tokens" version="5.1.2" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime" version="2.3.19" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.18" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="2.4.0" targetFramework="net461" /> + <package id="Microsoft.WindowsAzure.ConfigurationManager" version="3.2.3" targetFramework="net461" /> + <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net461" /> + <package id="WindowsAzure.Storage" version="9.3.3" targetFramework="net461" /> +</packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/AzureUtilsCredentials.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils/AzureUtilsCredentials.cs new file mode 100644 index 000000000..a820954ac --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/AzureUtilsCredentials.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.AzureUtils +{ + public class AzureUtilsCredentials + { + public String ClientID { get; set; } + public String ClientSecret { get; set; } + public String TenantID { get; set; } + public String SubscriptionID { get; set; } + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/DeploymentManager.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/DeploymentManager.cs new file mode 100644 index 000000000..e9ae6e97b --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/DeploymentManager.cs @@ -0,0 +1,99 @@ +using Microsoft.Azure.Management.AppService.Fluent; +using Microsoft.Azure.Management.Fluent; +using Microsoft.Azure.Management.ResourceManager.Fluent; +using Microsoft.Azure.Management.ResourceManager.Fluent.Authentication; +using Microsoft.Azure.Storage; +using Microsoft.Azure.Storage.Blob; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.AzureUtils.Deployment +{ + public class DeploymentManager + { + private AzureUtilsCredentials _credentials; + private IAzure _azure; + + public DeploymentManager(AzureUtilsCredentials credentials) + { + _credentials = credentials; + } + + private static string app_id = "be33437c-5052-449f-ab9d-a88d008eae24"; + private static string client_secret = "bf67fb6f-4d06-4893-988c-6b347aff23d6"; + private static string tenant_id = "2ebd63a5-bc2f-41dc-9066-4409ed5e5dd4"; + private static string subscription_id = "10c8aa60-3b15-4e0d-b412-6aeef90e5e91"; + + private IAzure GetOrCreateAzure() + { + if (_azure == null) + { + var credentials = SdkContext.AzureCredentialsFactory.FromServicePrincipal( + _credentials.ClientID, + _credentials.ClientSecret, + _credentials.TenantID, + AzureEnvironment.AzureGlobalCloud); + + _azure = Azure.Authenticate(credentials).WithSubscription(_credentials.SubscriptionID); + } + + return _azure; + } + + public List<IWebApp> GetAllWebApps() + { + return GetOrCreateAzure().WebApps.List().ToList(); + } + + public void UpdateSlot(IDeploymentSlot slot) + { + + } + + public void Deploy() + { + var credentials = SdkContext.AzureCredentialsFactory.FromServicePrincipal( + app_id, + client_secret, + tenant_id, + AzureEnvironment.AzureGlobalCloud); + + var azure = Azure.Authenticate(credentials).WithSubscription(subscription_id); + var webApps = azure.WebApps.List(); + + var machineService = webApps.SingleOrDefault(x => x.Name == "MachineService"); + var devSlot = machineService.DeploymentSlots.GetByName("MachineService-DEV"); + var devProfile = devSlot.GetPublishingProfile(); + + String ftpAddress = devProfile.FtpUrl; + String ftpUser = devProfile.FtpUsername; + String ftpPassword = devProfile.FtpPassword; + + foreach (var ds in machineService.DeploymentSlots.List()) + { + Console.WriteLine(ds.Name); + } + + CloudStorageAccount sourceAccount = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName=tangostorage;AccountKey=S4z/D+Yg6mwMis+bs/VpcDLA9yE1iZaYq23shQlRIi2KmM9E7JY8zdZjeAPOPdG3gONHoNDEpsgH6D4cqQ/bsA==;EndpointSuffix=core.windows.net"); + CloudBlobClient sourceClient = sourceAccount.CreateCloudBlobClient(); + + var sourceContainer = sourceClient.GetContainerReference("machine-studio-versions-test"); + var sourceBlob = sourceContainer.GetBlockBlobReference("Machine Studio v4.0.34.0.zip"); + + var targetContainer = sourceClient.GetContainerReference("machine-studio-versions-dev"); + + CloudBlockBlob targetBlob = targetContainer.GetBlockBlobReference(sourceBlob.Name); + using (MemoryStream ms = new MemoryStream()) + { + targetBlob.UploadFromStream(ms);//Empty memory stream. Will create an empty blob. + } + + targetBlob.StartCopy(sourceBlob); + } + + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/ExtensionMethods.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/ExtensionMethods.cs new file mode 100644 index 000000000..6b57ce53a --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/ExtensionMethods.cs @@ -0,0 +1,27 @@ +using Microsoft.Azure.Management.AppService.Fluent; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.AzureUtils.Deployment; + +public static class ExtensionMethods +{ + public static MachineServiceSettings GetMachineServiceSettings(this IWebAppBase app) + { + MachineServiceSettings settings = new MachineServiceSettings(); + + var s = app.GetAppSettings(); + + settings.DB_ADDRESS = s[nameof(MachineServiceSettings.DB_ADDRESS)].Value; + settings.DB_CATALOG = s[nameof(MachineServiceSettings.DB_CATALOG)].Value; + settings.DB_USER_NAME = s[nameof(MachineServiceSettings.DB_USER_NAME)].Value; + settings.DB_PASSWORD = s[nameof(MachineServiceSettings.DB_PASSWORD)].Value; + settings.STORAGE_ACCOUNT = s[nameof(MachineServiceSettings.STORAGE_ACCOUNT)].Value; + settings.MACHINE_STUDIO_VERSIONS_CONTAINER = s[nameof(MachineServiceSettings.MACHINE_STUDIO_VERSIONS_CONTAINER)].Value; + settings.TANGO_VERSIONS_CONTAINER = s[nameof(MachineServiceSettings.TANGO_VERSIONS_CONTAINER)].Value; + + return settings; + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/MachineServiceSettings.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/MachineServiceSettings.cs new file mode 100644 index 000000000..66e374ba8 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/Deployment/MachineServiceSettings.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.AzureUtils.Deployment +{ + public class MachineServiceSettings + { + public String DB_ADDRESS { get; set; } + public String DB_CATALOG { get; set; } + public String DB_USER_NAME { get; set; } + public String DB_PASSWORD { get; set; } + public String STORAGE_ACCOUNT { get; set; } + public String TANGO_VERSIONS_CONTAINER { get; set; } + public String MACHINE_STUDIO_VERSIONS_CONTAINER { get; set; } + } +} diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/Properties/AssemblyInfo.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..f2a6c4a8e --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Tango.Azure")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Tango.Azure")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("4a6b97e5-5eba-4702-a016-6f4004f14b08")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/Tango.AzureUtils.csproj b/Software/Visual_Studio/Azure/Tango.AzureUtils/Tango.AzureUtils.csproj new file mode 100644 index 000000000..7643f389c --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/Tango.AzureUtils.csproj @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{4A6B97E5-5EBA-4702-A016-6F4004F14B08}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Tango.AzureUtils</RootNamespace> + <AssemblyName>Tango.AzureUtils</AssemblyName> + <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <Deterministic>true</Deterministic> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Hyak.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Hyak.Common.1.2.2\lib\net452\Hyak.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Common.2.2.1\lib\net452\Microsoft.Azure.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.3.0.1\lib\net452\Microsoft.Azure.KeyVault.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.Core.1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault.WebKey, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.WebKey.3.0.1\lib\net452\Microsoft.Azure.KeyVault.WebKey.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.AppService.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.AppService.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.AppService.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.BatchAI.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.BatchAI.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.BatchAI.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Cdn.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Cdn.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Cdn.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Compute.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Compute.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Compute.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerInstance.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerInstance.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerInstance.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerRegistry.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerRegistry.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerRegistry.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerService.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerService.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerService.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.CosmosDB.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.CosmosDB.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.CosmosDB.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Dns.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Dns.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Dns.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.EventHub.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.EventHub.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.EventHub.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Graph.RBAC.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Graph.RBAC.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Graph.RBAC.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.KeyVault.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.KeyVault.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.KeyVault.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Locks.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Locks.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Locks.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Monitor.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Monitor.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Monitor.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Msi.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Msi.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Msi.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Network.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Network.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Network.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.PrivateDns.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.PrivateDns.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.PrivateDns.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Redis.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Redis.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Redis.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ResourceManager.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ResourceManager.Fluent.1.30.0\lib\net461\Microsoft.Azure.Management.ResourceManager.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Search.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Search.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Search.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ServiceBus.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ServiceBus.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ServiceBus.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Sql.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Sql.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Sql.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Storage.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Storage.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Storage.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.TrafficManager.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.TrafficManager.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.TrafficManager.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Storage.Blob, Version=11.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Storage.Blob.11.1.2\lib\net452\Microsoft.Azure.Storage.Blob.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Storage.Common, Version=11.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Storage.Common.11.1.2\lib\net452\Microsoft.Azure.Storage.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.4.3.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Logging, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Logging.1.1.2\lib\net451\Microsoft.IdentityModel.Logging.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Tokens, Version=5.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Tokens.5.1.2\lib\net451\Microsoft.IdentityModel.Tokens.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.19\lib\net461\Microsoft.Rest.ClientRuntime.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.18\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.Authentication.2.4.0\lib\net461\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll</HintPath> + </Reference> + <Reference Include="Microsoft.WindowsAzure.Configuration, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.2.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll</HintPath> + </Reference> + <Reference Include="Microsoft.WindowsAzure.Storage, Version=9.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\WindowsAzure.Storage.9.3.3\lib\net45\Microsoft.WindowsAzure.Storage.dll</HintPath> + </Reference> + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.IdentityModel" /> + <Reference Include="System.Net" /> + <Reference Include="System.Net.Http.WebRequest" /> + <Reference Include="System.Runtime" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.Security" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="AzureUtilsCredentials.cs" /> + <Compile Include="Deployment\DeploymentManager.cs" /> + <Compile Include="Deployment\ExtensionMethods.cs" /> + <Compile Include="Deployment\MachineServiceSettings.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="packages.config" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/app.config b/Software/Visual_Studio/Azure/Tango.AzureUtils/app.config new file mode 100644 index 000000000..dde2c3cc6 --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/app.config @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils/packages.config b/Software/Visual_Studio/Azure/Tango.AzureUtils/packages.config new file mode 100644 index 000000000..9f49cc92c --- /dev/null +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils/packages.config @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Hyak.Common" version="1.2.2" targetFramework="net461" /> + <package id="Microsoft.Azure.Common" version="2.2.1" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault" version="3.0.1" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault.WebKey" version="3.0.1" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.AppService.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.BatchAI.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Cdn.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Compute.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerInstance.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerRegistry.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerService.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.CosmosDB.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Dns.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.EventHub.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Graph.RBAC.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.KeyVault.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Locks.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Monitor.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Msi.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Network.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.PrivateDns.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Redis.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ResourceManager.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Search.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ServiceBus.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Sql.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Storage.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.TrafficManager.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Storage.Blob" version="11.1.2" targetFramework="net461" /> + <package id="Microsoft.Azure.Storage.Common" version="11.1.2" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="4.3.0" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Logging" version="1.1.2" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Tokens" version="5.1.2" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime" version="2.3.19" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.18" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="2.4.0" targetFramework="net461" /> + <package id="Microsoft.WindowsAzure.ConfigurationManager" version="3.2.3" targetFramework="net461" /> + <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net461" /> + <package id="WindowsAzure.Storage" version="9.3.3" targetFramework="net461" /> +</packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.sln b/Software/Visual_Studio/Tango.sln index 9cc52ed4f..701bacba1 100644 --- a/Software/Visual_Studio/Tango.sln +++ b/Software/Visual_Studio/Tango.sln @@ -333,6 +333,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.MachineStudio.ActionL EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.LogViewer.UI", "Utilities\Tango.LogViewer.UI\Tango.LogViewer.UI.csproj", "{511A8AD7-6BA2-4BB5-A20A-1454196C5503}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.EnvironmentCopier", "Utilities\Tango.EnvironmentCopier\Tango.EnvironmentCopier.csproj", "{11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Azure", "Azure", "{7E56E37C-85E4-433B-B5F7-ECD0FEBAFB67}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.AzureUtils", "Azure\Tango.AzureUtils\Tango.AzureUtils.csproj", "{4A6B97E5-5EBA-4702-A016-6F4004F14B08}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.AzureUtils.UI", "Azure\Tango.AzureUtils.UI\Tango.AzureUtils.UI.csproj", "{DF378E50-F0F8-46BF-A410-36DB02F2A742}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution AppVeyor|Any CPU = AppVeyor|Any CPU @@ -5945,6 +5953,126 @@ Global {511A8AD7-6BA2-4BB5-A20A-1454196C5503}.Release|x64.Build.0 = Release|Any CPU {511A8AD7-6BA2-4BB5-A20A-1454196C5503}.Release|x86.ActiveCfg = Release|Any CPU {511A8AD7-6BA2-4BB5-A20A-1454196C5503}.Release|x86.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|ARM.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|ARM64.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|ARM64.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|x64.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.AppVeyor|x86.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|ARM.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|ARM.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|ARM64.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|x64.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|x64.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|x86.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Debug|x86.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|Any CPU.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|Any CPU.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|ARM.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|ARM.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|ARM64.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|ARM64.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|x64.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|x64.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|x86.ActiveCfg = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.DefaultBuild|x86.Build.0 = Debug|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|Any CPU.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|ARM.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|ARM.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|ARM64.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|ARM64.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|x64.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|x64.Build.0 = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|x86.ActiveCfg = Release|Any CPU + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}.Release|x86.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|ARM.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|ARM64.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|ARM64.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|x64.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.AppVeyor|x86.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|ARM.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|ARM.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|ARM64.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|x64.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|x64.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|x86.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Debug|x86.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|Any CPU.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|Any CPU.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|ARM.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|ARM.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|ARM64.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|ARM64.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|x64.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|x64.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|x86.ActiveCfg = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.DefaultBuild|x86.Build.0 = Debug|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|Any CPU.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|ARM.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|ARM.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|ARM64.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|ARM64.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|x64.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|x64.Build.0 = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|x86.ActiveCfg = Release|Any CPU + {4A6B97E5-5EBA-4702-A016-6F4004F14B08}.Release|x86.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|ARM.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|ARM64.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|ARM64.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|x64.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.AppVeyor|x86.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|ARM.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|ARM.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|ARM64.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|x64.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|x64.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|x86.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Debug|x86.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|Any CPU.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|Any CPU.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|ARM.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|ARM.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|ARM64.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|ARM64.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|x64.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|x64.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|x86.ActiveCfg = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.DefaultBuild|x86.Build.0 = Debug|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|Any CPU.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|ARM.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|ARM.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|ARM64.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|ARM64.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|x64.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|x64.Build.0 = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|x86.ActiveCfg = Release|Any CPU + {DF378E50-F0F8-46BF-A410-36DB02F2A742}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -6056,6 +6184,9 @@ Global {18A27902-9881-4556-8163-F6DF2236A14D} = {B2AF4F3F-2828-47C3-8F3E-A0EA0BD66FF8} {447ECB9F-F730-47D6-8DF8-D232BF4A0315} = {B2AF4F3F-2828-47C3-8F3E-A0EA0BD66FF8} {511A8AD7-6BA2-4BB5-A20A-1454196C5503} = {5F6BBAA8-EAD0-4B18-97E5-55B4F56DD760} + {11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1} = {5F6BBAA8-EAD0-4B18-97E5-55B4F56DD760} + {4A6B97E5-5EBA-4702-A016-6F4004F14B08} = {7E56E37C-85E4-433B-B5F7-ECD0FEBAFB67} + {DF378E50-F0F8-46BF-A410-36DB02F2A742} = {7E56E37C-85E4-433B-B5F7-ECD0FEBAFB67} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution BuildVersion_UseGlobalSettings = False diff --git a/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/App.config b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/App.config new file mode 100644 index 000000000..46d44cd47 --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/App.config @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> + </startup> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Program.cs b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Program.cs new file mode 100644 index 000000000..03434c73e --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Program.cs @@ -0,0 +1,42 @@ +using Microsoft.Azure.Management.Fluent; +using Microsoft.Azure.Management.ResourceManager.Fluent; +using Microsoft.Azure.Management.ResourceManager.Fluent.Authentication; +using Microsoft.Azure.Storage; +using Microsoft.Azure.Storage.Blob; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.AzureUtils; +using Tango.AzureUtils.Deployment; + +namespace Tango.EnvironmentCopier +{ + class Program + { + private static AzureUtilsCredentials GetCredentials() + { + AzureUtilsCredentials credentials = new AzureUtilsCredentials(); + + credentials.ClientID = "be33437c-5052-449f-ab9d-a88d008eae24"; + credentials.ClientSecret = "bf67fb6f-4d06-4893-988c-6b347aff23d6"; + credentials.TenantID = "2ebd63a5-bc2f-41dc-9066-4409ed5e5dd4"; + credentials.SubscriptionID = "10c8aa60-3b15-4e0d-b412-6aeef90e5e91"; + + return credentials; + } + + static void Main(string[] args) + { + DeploymentManager manager = new DeploymentManager(GetCredentials()); + + var machineService = manager.GetAllWebApps().SingleOrDefault(x => x.Name == "MachineService"); + + var devSlot = machineService.DeploymentSlots.GetByName("MachineService-DEV"); + + var settings = devSlot.GetMachineServiceSettings(); + } + } +} diff --git a/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Properties/AssemblyInfo.cs b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..91905088a --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Tango.EnvironmentCopier")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Tango.EnvironmentCopier")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("11b1afc3-7d56-4bc1-a56a-36e2a1c660f1")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/ServicePrincipal.json b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/ServicePrincipal.json new file mode 100644 index 000000000..16fe6be6e --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/ServicePrincipal.json @@ -0,0 +1,12 @@ +{ + "clientId": "be33437c-5052-449f-ab9d-a88d008eae24", + "clientSecret": "bf67fb6f-4d06-4893-988c-6b347aff23d6", + "subscriptionId": "10c8aa60-3b15-4e0d-b412-6aeef90e5e91", + "tenantId": "2ebd63a5-bc2f-41dc-9066-4409ed5e5dd4", + "activeDirectoryEndpointUrl": "https://login.microsoftonline.com", + "resourceManagerEndpointUrl": "https://management.azure.com/", + "activeDirectoryGraphResourceId": "https://graph.windows.net/", + "sqlManagementEndpointUrl": "https://management.core.windows.net:8443/", + "galleryEndpointUrl": "https://gallery.azure.com/", + "managementEndpointUrl": "https://management.core.windows.net/" +}
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Tango.EnvironmentCopier.csproj b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Tango.EnvironmentCopier.csproj new file mode 100644 index 000000000..6eff8f9b1 --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/Tango.EnvironmentCopier.csproj @@ -0,0 +1,202 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{11B1AFC3-7D56-4BC1-A56A-36E2A1C660F1}</ProjectGuid> + <OutputType>Exe</OutputType> + <RootNamespace>Tango.EnvironmentCopier</RootNamespace> + <AssemblyName>Tango.EnvironmentCopier</AssemblyName> + <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> + <Deterministic>true</Deterministic> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Hyak.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Hyak.Common.1.2.2\lib\net452\Hyak.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Common.2.2.1\lib\net452\Microsoft.Azure.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.3.0.1\lib\net452\Microsoft.Azure.KeyVault.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.Core.1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.KeyVault.WebKey, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.KeyVault.WebKey.3.0.1\lib\net452\Microsoft.Azure.KeyVault.WebKey.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.AppService.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.AppService.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.AppService.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.BatchAI.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.BatchAI.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.BatchAI.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Cdn.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Cdn.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Cdn.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Compute.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Compute.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Compute.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerInstance.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerInstance.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerInstance.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerRegistry.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerRegistry.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerRegistry.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ContainerService.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ContainerService.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ContainerService.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.CosmosDB.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.CosmosDB.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.CosmosDB.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Dns.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Dns.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Dns.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.EventHub.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.EventHub.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.EventHub.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Graph.RBAC.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Graph.RBAC.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Graph.RBAC.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.KeyVault.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.KeyVault.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.KeyVault.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Locks.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Locks.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Locks.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Monitor.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Monitor.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Monitor.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Msi.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Msi.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Msi.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Network.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Network.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Network.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.PrivateDns.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.PrivateDns.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.PrivateDns.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Redis.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Redis.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Redis.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ResourceManager.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ResourceManager.Fluent.1.30.0\lib\net461\Microsoft.Azure.Management.ResourceManager.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Search.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Search.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Search.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.ServiceBus.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.ServiceBus.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.ServiceBus.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Sql.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Sql.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Sql.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.Storage.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.Storage.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.Storage.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Management.TrafficManager.Fluent, Version=1.0.0.63, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Management.TrafficManager.Fluent.1.30.0\lib\net452\Microsoft.Azure.Management.TrafficManager.Fluent.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Storage.Blob, Version=11.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Storage.Blob.11.1.2\lib\net452\Microsoft.Azure.Storage.Blob.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Azure.Storage.Common, Version=11.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Azure.Storage.Common.11.1.2\lib\net452\Microsoft.Azure.Storage.Common.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Clients.ActiveDirectory, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.4.3.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Logging, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Logging.1.1.2\lib\net451\Microsoft.IdentityModel.Logging.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Tokens, Version=5.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.IdentityModel.Tokens.5.1.2\lib\net451\Microsoft.IdentityModel.Tokens.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.19\lib\net461\Microsoft.Rest.ClientRuntime.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.18\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath> + </Reference> + <Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.Authentication.2.4.0\lib\net461\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll</HintPath> + </Reference> + <Reference Include="Microsoft.WindowsAzure.Configuration, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.2.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll</HintPath> + </Reference> + <Reference Include="Microsoft.WindowsAzure.Storage, Version=9.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\..\packages\WindowsAzure.Storage.9.3.3\lib\net45\Microsoft.WindowsAzure.Storage.dll</HintPath> + </Reference> + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.IdentityModel" /> + <Reference Include="System.Net" /> + <Reference Include="System.Net.Http.WebRequest" /> + <Reference Include="System.Runtime" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.Security" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + <None Include="packages.config" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\Azure\Tango.AzureUtils\Tango.AzureUtils.csproj"> + <Project>{4a6b97e5-5eba-4702-a016-6f4004f14b08}</Project> + <Name>Tango.AzureUtils</Name> + </ProjectReference> + <ProjectReference Include="..\..\Tango.Core\Tango.Core.csproj"> + <Project>{a34ee0f0-649d-41c8-8489-b6f1cc6924ee}</Project> + <Name>Tango.Core</Name> + </ProjectReference> + <ProjectReference Include="..\..\Tango.Web\Tango.Web.csproj"> + <Project>{5001990f-977b-48ff-b217-0236a5022ad8}</Project> + <Name>Tango.Web</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <None Include="ServicePrincipal.json" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/packages.config b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/packages.config new file mode 100644 index 000000000..9f49cc92c --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EnvironmentCopier/packages.config @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Hyak.Common" version="1.2.2" targetFramework="net461" /> + <package id="Microsoft.Azure.Common" version="2.2.1" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault" version="3.0.1" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net461" /> + <package id="Microsoft.Azure.KeyVault.WebKey" version="3.0.1" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.AppService.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.BatchAI.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Cdn.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Compute.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerInstance.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerRegistry.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ContainerService.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.CosmosDB.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Dns.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.EventHub.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Graph.RBAC.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.KeyVault.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Locks.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Monitor.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Msi.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Network.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.PrivateDns.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Redis.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ResourceManager.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Search.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.ServiceBus.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Sql.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.Storage.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Management.TrafficManager.Fluent" version="1.30.0" targetFramework="net461" /> + <package id="Microsoft.Azure.Storage.Blob" version="11.1.2" targetFramework="net461" /> + <package id="Microsoft.Azure.Storage.Common" version="11.1.2" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="4.3.0" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Logging" version="1.1.2" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Tokens" version="5.1.2" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime" version="2.3.19" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.18" targetFramework="net461" /> + <package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="2.4.0" targetFramework="net461" /> + <package id="Microsoft.WindowsAzure.ConfigurationManager" version="3.2.3" targetFramework="net461" /> + <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net461" /> + <package id="WindowsAzure.Storage" version="9.3.3" targetFramework="net461" /> +</packages>
\ No newline at end of file |
