From 7ad3b6e23e80dcfb9301454f222daf65f936b870 Mon Sep 17 00:00:00 2001 From: Artur Laksberg Date: Wed, 20 Jan 2016 18:45:37 -0800 Subject: [PATCH] Refactoring to support 2-phase compilation The two phases are needed for signing: 1) Build the DLL project 2) Sign the DLL 3) Build the VSIX project 4) Sign the VSIX --- ...ice.sln => AzureIoTHubConnectedService.sln | 12 +- .../AzureIoTHubConnectedService.csproj | 219 +-------------- .../AzureIoTHubConnectedService.csproj.user | 3 + .../source.extension.vsixmanifest | 3 +- .../AccountManager.cs | 0 .../AccountPicker.xaml | 0 .../AccountPicker.xaml.cs | 0 .../AccountPickerViewModel.cs | 0 .../Arguments.cs | 0 .../AuthorizationPolicy.cs | 0 .../AzureError.cs | 0 .../AzureErrorResponse.cs | 0 .../AzureIoTHubAccountManager.cs | 0 .../AzureIoTHubAccountProviderGrid.cs | 0 .../AzureIoTHubConnectedServiceLibrary.csproj | 250 ++++++++++++++++++ .../AzureIoTHubProviderIcon.png | Bin .../AzureIoTHubProviderIconPreview.png | Bin .../AzureIoTHubProviderIconSmall.png | Bin .../AzureResource.cs | 0 .../CloudToDevice.cs | 0 .../DeviceIdentity.cs | 0 .../DeviceSelectionDialog.xaml | 0 .../DeviceSelectionDialog.xaml.cs | 0 .../DialogWindows.cs | 0 .../GetMicrosoftResourcesResponse.cs | 0 .../GetResourceGroupsResponse.cs | 0 .../GetResourceLocationsResponse.cs | 0 .../Handler.cs | 0 .../HandlerHelper.cs | 0 .../IMediaTypeFormatter.cs | 0 .../IoTHub.cs | 0 .../IoTHubListResponse.cs | 0 .../IoTHubProperties.cs | 0 .../IoTHubResource.cs | 0 .../JsonMediaTypeFormatter.cs | 0 .../NewDevice.xaml | 0 .../NewDevice.xaml.cs | 0 .../NuGetUtilities.cs | 0 .../ProjectUtilities.cs | 0 .../Properties/AssemblyInfo.cs | 33 +++ .../Provider.cs | 0 .../Resource.Designer.cs | 0 .../Resource.resx | 0 .../ResourceGroup.cs | 0 .../ResourceLocation.cs | 0 .../ResourceTypeInfo.cs | 0 .../Resources/CPP/SendDataToAzureIoTHub.cpp | 0 .../Resources/CSharp/SendDataToAzureIoTHub.cs | 0 .../ServiceManagementHttpClient.cs | 0 .../ServiceManagementHttpClientBuilder.cs | 0 .../ServiceManagementHttpClientExtensions.cs | 0 .../ServiceManagementHttpClientHandler.cs | 0 .../UpgradeLog.htm | Bin AzureIoTHubConnectedServiceLibrary/app.config | 11 + .../authenticator.cs | 0 .../index.html | 0 .../packages.config | 0 ....Proton.AzureIot.0.9.0.1-preview-003.nupkg | Bin ...re.C.SharedUtility.1.0.0-preview-003.nupkg | Bin ...THub.AmqpTransport.1.0.0-preview-010.nupkg | Bin ...oTHub.IoTHubClient.1.0.0-preview-010.nupkg | Bin ...ure.devices.client.1.0.0-preview-007.nupkg | Bin .../packages}/newtonsoft.json.6.0.8.nupkg | Bin 63 files changed, 320 insertions(+), 211 deletions(-) rename AzureIoTHubConnectedService/AzureIoTHubConnectedService.sln => AzureIoTHubConnectedService.sln (55%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AccountManager.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AccountPicker.xaml (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AccountPicker.xaml.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AccountPickerViewModel.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Arguments.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AuthorizationPolicy.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureError.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureErrorResponse.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureIoTHubAccountManager.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureIoTHubAccountProviderGrid.cs (100%) create mode 100644 AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureIoTHubProviderIcon.png (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureIoTHubProviderIconPreview.png (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureIoTHubProviderIconSmall.png (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/AzureResource.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/CloudToDevice.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/DeviceIdentity.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/DeviceSelectionDialog.xaml (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/DeviceSelectionDialog.xaml.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/DialogWindows.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/GetMicrosoftResourcesResponse.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/GetResourceGroupsResponse.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/GetResourceLocationsResponse.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Handler.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/HandlerHelper.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/IMediaTypeFormatter.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/IoTHub.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/IoTHubListResponse.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/IoTHubProperties.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/IoTHubResource.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/JsonMediaTypeFormatter.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/NewDevice.xaml (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/NewDevice.xaml.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/NuGetUtilities.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ProjectUtilities.cs (100%) create mode 100644 AzureIoTHubConnectedServiceLibrary/Properties/AssemblyInfo.cs rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Provider.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Resource.Designer.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Resource.resx (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ResourceGroup.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ResourceLocation.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ResourceTypeInfo.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Resources/CPP/SendDataToAzureIoTHub.cpp (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/Resources/CSharp/SendDataToAzureIoTHub.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ServiceManagementHttpClient.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ServiceManagementHttpClientBuilder.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ServiceManagementHttpClientExtensions.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/ServiceManagementHttpClientHandler.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/UpgradeLog.htm (100%) create mode 100644 AzureIoTHubConnectedServiceLibrary/app.config rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/authenticator.cs (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/index.html (100%) rename {AzureIoTHubConnectedService => AzureIoTHubConnectedServiceLibrary}/packages.config (100%) rename {AzureIoTHubConnectedService/Packages => AzureIoTHubConnectedServiceLibrary/packages}/Apache.QPID.Proton.AzureIot.0.9.0.1-preview-003.nupkg (100%) rename {AzureIoTHubConnectedService/Packages => AzureIoTHubConnectedServiceLibrary/packages}/Microsoft.Azure.C.SharedUtility.1.0.0-preview-003.nupkg (100%) rename {AzureIoTHubConnectedService/Packages => AzureIoTHubConnectedServiceLibrary/packages}/Microsoft.Azure.IoTHub.AmqpTransport.1.0.0-preview-010.nupkg (100%) rename {AzureIoTHubConnectedService/Packages => AzureIoTHubConnectedServiceLibrary/packages}/Microsoft.Azure.IoTHub.IoTHubClient.1.0.0-preview-010.nupkg (100%) rename {AzureIoTHubConnectedService/Packages => AzureIoTHubConnectedServiceLibrary/packages}/microsoft.azure.devices.client.1.0.0-preview-007.nupkg (100%) rename {AzureIoTHubConnectedService/Packages => AzureIoTHubConnectedServiceLibrary/packages}/newtonsoft.json.6.0.8.nupkg (100%) diff --git a/AzureIoTHubConnectedService/AzureIoTHubConnectedService.sln b/AzureIoTHubConnectedService.sln similarity index 55% rename from AzureIoTHubConnectedService/AzureIoTHubConnectedService.sln rename to AzureIoTHubConnectedService.sln index 8ee0563..a89c90d 100644 --- a/AzureIoTHubConnectedService/AzureIoTHubConnectedService.sln +++ b/AzureIoTHubConnectedService.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.24720.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureIoTHubConnectedService", "AzureIoTHubConnectedService.csproj", "{11DB582F-9A17-4481-A975-D7FAF2260672}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureIoTHubConnectedService", "AzureIoTHubConnectedService\AzureIoTHubConnectedService.csproj", "{11DB582F-9A17-4481-A975-D7FAF2260672}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureIoTHubConnectedServiceLibrary", "AzureIoTHubConnectedServiceLibrary\AzureIoTHubConnectedServiceLibrary.csproj", "{E3F516CA-E6B9-4585-BF00-C89A67159900}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -21,6 +23,14 @@ Global {11DB582F-9A17-4481-A975-D7FAF2260672}.Release|Any CPU.Build.0 = Release|Any CPU {11DB582F-9A17-4481-A975-D7FAF2260672}.Release|x86.ActiveCfg = Release|x86 {11DB582F-9A17-4481-A975-D7FAF2260672}.Release|x86.Build.0 = Release|x86 + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Debug|x86.ActiveCfg = Debug|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Debug|x86.Build.0 = Debug|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Release|Any CPU.Build.0 = Release|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Release|x86.ActiveCfg = Release|Any CPU + {E3F516CA-E6B9-4585-BF00-C89A67159900}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj b/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj index fa56799..1f745cd 100644 --- a/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj +++ b/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj @@ -59,221 +59,22 @@ 4 - - AccountPicker.xaml.cs - AccountPicker.xaml - - - - - - - - - - - - - - - - - - True - True - Resource.resx - - - - - - - - - - - - - - - - - AccountPicker.xaml - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - DeviceSelectionDialog.xaml - - - NewDevice.xaml - - - - - - - - - - - - - true - Always - - - true - Always - - - true - Always - - - true - Always - - - true - Always - - - true - Always - - + + PreserveNewest + true + Designer - - Always - - - Always - true - - - Always - true - - - - - - - False - - - True - - - packages\Microsoft.Azure.Amqp.1.0.0-preview-003\lib\net451\Microsoft.Azure.Amqp.dll - True - - - packages\Microsoft.Azure.Devices.1.0.0-preview-005\lib\net451\Microsoft.Azure.Devices.dll - True - - - ..\Externals\Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime.dll - True - - - packages\Microsoft.VisualStudio.ConnectedServices.2.0.0\lib\net45\Microsoft.VisualStudio.ConnectedServices.dll - True - - - ..\Externals\Microsoft.VisualStudio.Services.Client.dll - - - False - ..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Shell.14.0\v4.0_14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.14.0.dll - - - False - ..\..\..\..\dev14\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Immutable.10.0.dll - - - - False - ..\Externals\Microsoft.VisualStudio.Shell.Immutable.14.0.dll - - - - False - True - ..\..\..\..\dev14\VSSDK\VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.10.0.dll - - - False - True - ..\..\..\..\dev14\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.Interop.11.0.dll - - - False - True - ..\Externals\Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll - - - False - ..\..\..\..\dev14\VSSDK\VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.Shell.Interop.8.0.dll - - - False - ..\..\..\..\dev14\VSSDK\VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.VisualStudio.TextManager.Interop.dll - - - False - ..\..\..\..\dev14\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Threading.dll - - - ..\Externals\Microsoft.VisualStudio.WindowsAzure.CommonAzureTools.Contracts.1.5.dll - - - packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll - True - - - packages\NuGet.VisualStudio.2.8.6\lib\net45\NuGet.VisualStudio.dll - True - - - - - - - - packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll - True - - - - - packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll - True - - - - - - - - ResXFileCodeGenerator - Resource.Designer.cs - Designer - + + {e3f516ca-e6b9-4585-bf00-c89a67159900} + AzureIoTHubConnectedServiceLibrary + BuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b + DebugSymbolsProjectOutputGroup%3b + diff --git a/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj.user b/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj.user index 9ee4c2e..1eced2a 100644 --- a/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj.user +++ b/AzureIoTHubConnectedService/AzureIoTHubConnectedService.csproj.user @@ -30,4 +30,7 @@ /rootsuffix Exp Program + + ProjectFiles + \ No newline at end of file diff --git a/AzureIoTHubConnectedService/source.extension.vsixmanifest b/AzureIoTHubConnectedService/source.extension.vsixmanifest index b6d7abf..0ba9ddd 100644 --- a/AzureIoTHubConnectedService/source.extension.vsixmanifest +++ b/AzureIoTHubConnectedService/source.extension.vsixmanifest @@ -12,12 +12,13 @@ + - + diff --git a/AzureIoTHubConnectedService/AccountManager.cs b/AzureIoTHubConnectedServiceLibrary/AccountManager.cs similarity index 100% rename from AzureIoTHubConnectedService/AccountManager.cs rename to AzureIoTHubConnectedServiceLibrary/AccountManager.cs diff --git a/AzureIoTHubConnectedService/AccountPicker.xaml b/AzureIoTHubConnectedServiceLibrary/AccountPicker.xaml similarity index 100% rename from AzureIoTHubConnectedService/AccountPicker.xaml rename to AzureIoTHubConnectedServiceLibrary/AccountPicker.xaml diff --git a/AzureIoTHubConnectedService/AccountPicker.xaml.cs b/AzureIoTHubConnectedServiceLibrary/AccountPicker.xaml.cs similarity index 100% rename from AzureIoTHubConnectedService/AccountPicker.xaml.cs rename to AzureIoTHubConnectedServiceLibrary/AccountPicker.xaml.cs diff --git a/AzureIoTHubConnectedService/AccountPickerViewModel.cs b/AzureIoTHubConnectedServiceLibrary/AccountPickerViewModel.cs similarity index 100% rename from AzureIoTHubConnectedService/AccountPickerViewModel.cs rename to AzureIoTHubConnectedServiceLibrary/AccountPickerViewModel.cs diff --git a/AzureIoTHubConnectedService/Arguments.cs b/AzureIoTHubConnectedServiceLibrary/Arguments.cs similarity index 100% rename from AzureIoTHubConnectedService/Arguments.cs rename to AzureIoTHubConnectedServiceLibrary/Arguments.cs diff --git a/AzureIoTHubConnectedService/AuthorizationPolicy.cs b/AzureIoTHubConnectedServiceLibrary/AuthorizationPolicy.cs similarity index 100% rename from AzureIoTHubConnectedService/AuthorizationPolicy.cs rename to AzureIoTHubConnectedServiceLibrary/AuthorizationPolicy.cs diff --git a/AzureIoTHubConnectedService/AzureError.cs b/AzureIoTHubConnectedServiceLibrary/AzureError.cs similarity index 100% rename from AzureIoTHubConnectedService/AzureError.cs rename to AzureIoTHubConnectedServiceLibrary/AzureError.cs diff --git a/AzureIoTHubConnectedService/AzureErrorResponse.cs b/AzureIoTHubConnectedServiceLibrary/AzureErrorResponse.cs similarity index 100% rename from AzureIoTHubConnectedService/AzureErrorResponse.cs rename to AzureIoTHubConnectedServiceLibrary/AzureErrorResponse.cs diff --git a/AzureIoTHubConnectedService/AzureIoTHubAccountManager.cs b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubAccountManager.cs similarity index 100% rename from AzureIoTHubConnectedService/AzureIoTHubAccountManager.cs rename to AzureIoTHubConnectedServiceLibrary/AzureIoTHubAccountManager.cs diff --git a/AzureIoTHubConnectedService/AzureIoTHubAccountProviderGrid.cs b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubAccountProviderGrid.cs similarity index 100% rename from AzureIoTHubConnectedService/AzureIoTHubAccountProviderGrid.cs rename to AzureIoTHubConnectedServiceLibrary/AzureIoTHubAccountProviderGrid.cs diff --git a/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj new file mode 100644 index 0000000..7f2e5ed --- /dev/null +++ b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj @@ -0,0 +1,250 @@ + + + + + Debug + AnyCPU + {E3F516CA-E6B9-4585-BF00-C89A67159900} + Library + Properties + AzureIoTHubConnectedService + AzureIoTHubConnectedServiceLibrary + v4.6 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + x86 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + True + + + ..\packages\Microsoft.Azure.Amqp.1.0.0-preview-003\lib\net451\Microsoft.Azure.Amqp.dll + True + + + ..\packages\Microsoft.Azure.Devices.1.0.0-preview-005\lib\net451\Microsoft.Azure.Devices.dll + True + + + ..\Externals\Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime.dll + True + + + ..\packages\Microsoft.VisualStudio.ConnectedServices.2.0.0\lib\net45\Microsoft.VisualStudio.ConnectedServices.dll + True + + + ..\Externals\Microsoft.VisualStudio.Services.Client.dll + + + False + + + False + + + + False + ..\Externals\Microsoft.VisualStudio.Shell.Immutable.14.0.dll + + + + False + True + + + False + True + + + False + True + ..\Externals\Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll + + + False + + + False + + + False + + + ..\Externals\Microsoft.VisualStudio.WindowsAzure.CommonAzureTools.Contracts.1.5.dll + + + ..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll + True + + + ..\packages\NuGet.VisualStudio.2.8.6\lib\net45\NuGet.VisualStudio.dll + True + + + + + + + + ..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll + True + + + + + ..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll + True + + + + + + + + AccountPicker.xaml.cs + AccountPicker.xaml + + + + + + + + + + + + + + + + + + True + True + Resource.resx + + + + + + + + + + + + + + + + + AccountPicker.xaml + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + DeviceSelectionDialog.xaml + + + NewDevice.xaml + + + + + + + + + + + + ResXFileCodeGenerator + Resource.Designer.cs + Designer + + + + + + + + + Always + + + Always + true + + + Always + true + + + + + + true + Always + + + true + Always + + + true + Always + + + true + Always + + + true + Always + + + true + Always + + + + + + + \ No newline at end of file diff --git a/AzureIoTHubConnectedService/AzureIoTHubProviderIcon.png b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubProviderIcon.png similarity index 100% rename from AzureIoTHubConnectedService/AzureIoTHubProviderIcon.png rename to AzureIoTHubConnectedServiceLibrary/AzureIoTHubProviderIcon.png diff --git a/AzureIoTHubConnectedService/AzureIoTHubProviderIconPreview.png b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubProviderIconPreview.png similarity index 100% rename from AzureIoTHubConnectedService/AzureIoTHubProviderIconPreview.png rename to AzureIoTHubConnectedServiceLibrary/AzureIoTHubProviderIconPreview.png diff --git a/AzureIoTHubConnectedService/AzureIoTHubProviderIconSmall.png b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubProviderIconSmall.png similarity index 100% rename from AzureIoTHubConnectedService/AzureIoTHubProviderIconSmall.png rename to AzureIoTHubConnectedServiceLibrary/AzureIoTHubProviderIconSmall.png diff --git a/AzureIoTHubConnectedService/AzureResource.cs b/AzureIoTHubConnectedServiceLibrary/AzureResource.cs similarity index 100% rename from AzureIoTHubConnectedService/AzureResource.cs rename to AzureIoTHubConnectedServiceLibrary/AzureResource.cs diff --git a/AzureIoTHubConnectedService/CloudToDevice.cs b/AzureIoTHubConnectedServiceLibrary/CloudToDevice.cs similarity index 100% rename from AzureIoTHubConnectedService/CloudToDevice.cs rename to AzureIoTHubConnectedServiceLibrary/CloudToDevice.cs diff --git a/AzureIoTHubConnectedService/DeviceIdentity.cs b/AzureIoTHubConnectedServiceLibrary/DeviceIdentity.cs similarity index 100% rename from AzureIoTHubConnectedService/DeviceIdentity.cs rename to AzureIoTHubConnectedServiceLibrary/DeviceIdentity.cs diff --git a/AzureIoTHubConnectedService/DeviceSelectionDialog.xaml b/AzureIoTHubConnectedServiceLibrary/DeviceSelectionDialog.xaml similarity index 100% rename from AzureIoTHubConnectedService/DeviceSelectionDialog.xaml rename to AzureIoTHubConnectedServiceLibrary/DeviceSelectionDialog.xaml diff --git a/AzureIoTHubConnectedService/DeviceSelectionDialog.xaml.cs b/AzureIoTHubConnectedServiceLibrary/DeviceSelectionDialog.xaml.cs similarity index 100% rename from AzureIoTHubConnectedService/DeviceSelectionDialog.xaml.cs rename to AzureIoTHubConnectedServiceLibrary/DeviceSelectionDialog.xaml.cs diff --git a/AzureIoTHubConnectedService/DialogWindows.cs b/AzureIoTHubConnectedServiceLibrary/DialogWindows.cs similarity index 100% rename from AzureIoTHubConnectedService/DialogWindows.cs rename to AzureIoTHubConnectedServiceLibrary/DialogWindows.cs diff --git a/AzureIoTHubConnectedService/GetMicrosoftResourcesResponse.cs b/AzureIoTHubConnectedServiceLibrary/GetMicrosoftResourcesResponse.cs similarity index 100% rename from AzureIoTHubConnectedService/GetMicrosoftResourcesResponse.cs rename to AzureIoTHubConnectedServiceLibrary/GetMicrosoftResourcesResponse.cs diff --git a/AzureIoTHubConnectedService/GetResourceGroupsResponse.cs b/AzureIoTHubConnectedServiceLibrary/GetResourceGroupsResponse.cs similarity index 100% rename from AzureIoTHubConnectedService/GetResourceGroupsResponse.cs rename to AzureIoTHubConnectedServiceLibrary/GetResourceGroupsResponse.cs diff --git a/AzureIoTHubConnectedService/GetResourceLocationsResponse.cs b/AzureIoTHubConnectedServiceLibrary/GetResourceLocationsResponse.cs similarity index 100% rename from AzureIoTHubConnectedService/GetResourceLocationsResponse.cs rename to AzureIoTHubConnectedServiceLibrary/GetResourceLocationsResponse.cs diff --git a/AzureIoTHubConnectedService/Handler.cs b/AzureIoTHubConnectedServiceLibrary/Handler.cs similarity index 100% rename from AzureIoTHubConnectedService/Handler.cs rename to AzureIoTHubConnectedServiceLibrary/Handler.cs diff --git a/AzureIoTHubConnectedService/HandlerHelper.cs b/AzureIoTHubConnectedServiceLibrary/HandlerHelper.cs similarity index 100% rename from AzureIoTHubConnectedService/HandlerHelper.cs rename to AzureIoTHubConnectedServiceLibrary/HandlerHelper.cs diff --git a/AzureIoTHubConnectedService/IMediaTypeFormatter.cs b/AzureIoTHubConnectedServiceLibrary/IMediaTypeFormatter.cs similarity index 100% rename from AzureIoTHubConnectedService/IMediaTypeFormatter.cs rename to AzureIoTHubConnectedServiceLibrary/IMediaTypeFormatter.cs diff --git a/AzureIoTHubConnectedService/IoTHub.cs b/AzureIoTHubConnectedServiceLibrary/IoTHub.cs similarity index 100% rename from AzureIoTHubConnectedService/IoTHub.cs rename to AzureIoTHubConnectedServiceLibrary/IoTHub.cs diff --git a/AzureIoTHubConnectedService/IoTHubListResponse.cs b/AzureIoTHubConnectedServiceLibrary/IoTHubListResponse.cs similarity index 100% rename from AzureIoTHubConnectedService/IoTHubListResponse.cs rename to AzureIoTHubConnectedServiceLibrary/IoTHubListResponse.cs diff --git a/AzureIoTHubConnectedService/IoTHubProperties.cs b/AzureIoTHubConnectedServiceLibrary/IoTHubProperties.cs similarity index 100% rename from AzureIoTHubConnectedService/IoTHubProperties.cs rename to AzureIoTHubConnectedServiceLibrary/IoTHubProperties.cs diff --git a/AzureIoTHubConnectedService/IoTHubResource.cs b/AzureIoTHubConnectedServiceLibrary/IoTHubResource.cs similarity index 100% rename from AzureIoTHubConnectedService/IoTHubResource.cs rename to AzureIoTHubConnectedServiceLibrary/IoTHubResource.cs diff --git a/AzureIoTHubConnectedService/JsonMediaTypeFormatter.cs b/AzureIoTHubConnectedServiceLibrary/JsonMediaTypeFormatter.cs similarity index 100% rename from AzureIoTHubConnectedService/JsonMediaTypeFormatter.cs rename to AzureIoTHubConnectedServiceLibrary/JsonMediaTypeFormatter.cs diff --git a/AzureIoTHubConnectedService/NewDevice.xaml b/AzureIoTHubConnectedServiceLibrary/NewDevice.xaml similarity index 100% rename from AzureIoTHubConnectedService/NewDevice.xaml rename to AzureIoTHubConnectedServiceLibrary/NewDevice.xaml diff --git a/AzureIoTHubConnectedService/NewDevice.xaml.cs b/AzureIoTHubConnectedServiceLibrary/NewDevice.xaml.cs similarity index 100% rename from AzureIoTHubConnectedService/NewDevice.xaml.cs rename to AzureIoTHubConnectedServiceLibrary/NewDevice.xaml.cs diff --git a/AzureIoTHubConnectedService/NuGetUtilities.cs b/AzureIoTHubConnectedServiceLibrary/NuGetUtilities.cs similarity index 100% rename from AzureIoTHubConnectedService/NuGetUtilities.cs rename to AzureIoTHubConnectedServiceLibrary/NuGetUtilities.cs diff --git a/AzureIoTHubConnectedService/ProjectUtilities.cs b/AzureIoTHubConnectedServiceLibrary/ProjectUtilities.cs similarity index 100% rename from AzureIoTHubConnectedService/ProjectUtilities.cs rename to AzureIoTHubConnectedServiceLibrary/ProjectUtilities.cs diff --git a/AzureIoTHubConnectedServiceLibrary/Properties/AssemblyInfo.cs b/AzureIoTHubConnectedServiceLibrary/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d8ce391 --- /dev/null +++ b/AzureIoTHubConnectedServiceLibrary/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +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("AzureIoTHubConnectedService")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AzureIoTHubConnectedService")] +[assembly: AssemblyCopyright("")] +[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)] + +// 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/AzureIoTHubConnectedService/Provider.cs b/AzureIoTHubConnectedServiceLibrary/Provider.cs similarity index 100% rename from AzureIoTHubConnectedService/Provider.cs rename to AzureIoTHubConnectedServiceLibrary/Provider.cs diff --git a/AzureIoTHubConnectedService/Resource.Designer.cs b/AzureIoTHubConnectedServiceLibrary/Resource.Designer.cs similarity index 100% rename from AzureIoTHubConnectedService/Resource.Designer.cs rename to AzureIoTHubConnectedServiceLibrary/Resource.Designer.cs diff --git a/AzureIoTHubConnectedService/Resource.resx b/AzureIoTHubConnectedServiceLibrary/Resource.resx similarity index 100% rename from AzureIoTHubConnectedService/Resource.resx rename to AzureIoTHubConnectedServiceLibrary/Resource.resx diff --git a/AzureIoTHubConnectedService/ResourceGroup.cs b/AzureIoTHubConnectedServiceLibrary/ResourceGroup.cs similarity index 100% rename from AzureIoTHubConnectedService/ResourceGroup.cs rename to AzureIoTHubConnectedServiceLibrary/ResourceGroup.cs diff --git a/AzureIoTHubConnectedService/ResourceLocation.cs b/AzureIoTHubConnectedServiceLibrary/ResourceLocation.cs similarity index 100% rename from AzureIoTHubConnectedService/ResourceLocation.cs rename to AzureIoTHubConnectedServiceLibrary/ResourceLocation.cs diff --git a/AzureIoTHubConnectedService/ResourceTypeInfo.cs b/AzureIoTHubConnectedServiceLibrary/ResourceTypeInfo.cs similarity index 100% rename from AzureIoTHubConnectedService/ResourceTypeInfo.cs rename to AzureIoTHubConnectedServiceLibrary/ResourceTypeInfo.cs diff --git a/AzureIoTHubConnectedService/Resources/CPP/SendDataToAzureIoTHub.cpp b/AzureIoTHubConnectedServiceLibrary/Resources/CPP/SendDataToAzureIoTHub.cpp similarity index 100% rename from AzureIoTHubConnectedService/Resources/CPP/SendDataToAzureIoTHub.cpp rename to AzureIoTHubConnectedServiceLibrary/Resources/CPP/SendDataToAzureIoTHub.cpp diff --git a/AzureIoTHubConnectedService/Resources/CSharp/SendDataToAzureIoTHub.cs b/AzureIoTHubConnectedServiceLibrary/Resources/CSharp/SendDataToAzureIoTHub.cs similarity index 100% rename from AzureIoTHubConnectedService/Resources/CSharp/SendDataToAzureIoTHub.cs rename to AzureIoTHubConnectedServiceLibrary/Resources/CSharp/SendDataToAzureIoTHub.cs diff --git a/AzureIoTHubConnectedService/ServiceManagementHttpClient.cs b/AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClient.cs similarity index 100% rename from AzureIoTHubConnectedService/ServiceManagementHttpClient.cs rename to AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClient.cs diff --git a/AzureIoTHubConnectedService/ServiceManagementHttpClientBuilder.cs b/AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClientBuilder.cs similarity index 100% rename from AzureIoTHubConnectedService/ServiceManagementHttpClientBuilder.cs rename to AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClientBuilder.cs diff --git a/AzureIoTHubConnectedService/ServiceManagementHttpClientExtensions.cs b/AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClientExtensions.cs similarity index 100% rename from AzureIoTHubConnectedService/ServiceManagementHttpClientExtensions.cs rename to AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClientExtensions.cs diff --git a/AzureIoTHubConnectedService/ServiceManagementHttpClientHandler.cs b/AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClientHandler.cs similarity index 100% rename from AzureIoTHubConnectedService/ServiceManagementHttpClientHandler.cs rename to AzureIoTHubConnectedServiceLibrary/ServiceManagementHttpClientHandler.cs diff --git a/AzureIoTHubConnectedService/UpgradeLog.htm b/AzureIoTHubConnectedServiceLibrary/UpgradeLog.htm similarity index 100% rename from AzureIoTHubConnectedService/UpgradeLog.htm rename to AzureIoTHubConnectedServiceLibrary/UpgradeLog.htm diff --git a/AzureIoTHubConnectedServiceLibrary/app.config b/AzureIoTHubConnectedServiceLibrary/app.config new file mode 100644 index 0000000..fcc7032 --- /dev/null +++ b/AzureIoTHubConnectedServiceLibrary/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/AzureIoTHubConnectedService/authenticator.cs b/AzureIoTHubConnectedServiceLibrary/authenticator.cs similarity index 100% rename from AzureIoTHubConnectedService/authenticator.cs rename to AzureIoTHubConnectedServiceLibrary/authenticator.cs diff --git a/AzureIoTHubConnectedService/index.html b/AzureIoTHubConnectedServiceLibrary/index.html similarity index 100% rename from AzureIoTHubConnectedService/index.html rename to AzureIoTHubConnectedServiceLibrary/index.html diff --git a/AzureIoTHubConnectedService/packages.config b/AzureIoTHubConnectedServiceLibrary/packages.config similarity index 100% rename from AzureIoTHubConnectedService/packages.config rename to AzureIoTHubConnectedServiceLibrary/packages.config diff --git a/AzureIoTHubConnectedService/Packages/Apache.QPID.Proton.AzureIot.0.9.0.1-preview-003.nupkg b/AzureIoTHubConnectedServiceLibrary/packages/Apache.QPID.Proton.AzureIot.0.9.0.1-preview-003.nupkg similarity index 100% rename from AzureIoTHubConnectedService/Packages/Apache.QPID.Proton.AzureIot.0.9.0.1-preview-003.nupkg rename to AzureIoTHubConnectedServiceLibrary/packages/Apache.QPID.Proton.AzureIot.0.9.0.1-preview-003.nupkg diff --git a/AzureIoTHubConnectedService/Packages/Microsoft.Azure.C.SharedUtility.1.0.0-preview-003.nupkg b/AzureIoTHubConnectedServiceLibrary/packages/Microsoft.Azure.C.SharedUtility.1.0.0-preview-003.nupkg similarity index 100% rename from AzureIoTHubConnectedService/Packages/Microsoft.Azure.C.SharedUtility.1.0.0-preview-003.nupkg rename to AzureIoTHubConnectedServiceLibrary/packages/Microsoft.Azure.C.SharedUtility.1.0.0-preview-003.nupkg diff --git a/AzureIoTHubConnectedService/Packages/Microsoft.Azure.IoTHub.AmqpTransport.1.0.0-preview-010.nupkg b/AzureIoTHubConnectedServiceLibrary/packages/Microsoft.Azure.IoTHub.AmqpTransport.1.0.0-preview-010.nupkg similarity index 100% rename from AzureIoTHubConnectedService/Packages/Microsoft.Azure.IoTHub.AmqpTransport.1.0.0-preview-010.nupkg rename to AzureIoTHubConnectedServiceLibrary/packages/Microsoft.Azure.IoTHub.AmqpTransport.1.0.0-preview-010.nupkg diff --git a/AzureIoTHubConnectedService/Packages/Microsoft.Azure.IoTHub.IoTHubClient.1.0.0-preview-010.nupkg b/AzureIoTHubConnectedServiceLibrary/packages/Microsoft.Azure.IoTHub.IoTHubClient.1.0.0-preview-010.nupkg similarity index 100% rename from AzureIoTHubConnectedService/Packages/Microsoft.Azure.IoTHub.IoTHubClient.1.0.0-preview-010.nupkg rename to AzureIoTHubConnectedServiceLibrary/packages/Microsoft.Azure.IoTHub.IoTHubClient.1.0.0-preview-010.nupkg diff --git a/AzureIoTHubConnectedService/Packages/microsoft.azure.devices.client.1.0.0-preview-007.nupkg b/AzureIoTHubConnectedServiceLibrary/packages/microsoft.azure.devices.client.1.0.0-preview-007.nupkg similarity index 100% rename from AzureIoTHubConnectedService/Packages/microsoft.azure.devices.client.1.0.0-preview-007.nupkg rename to AzureIoTHubConnectedServiceLibrary/packages/microsoft.azure.devices.client.1.0.0-preview-007.nupkg diff --git a/AzureIoTHubConnectedService/Packages/newtonsoft.json.6.0.8.nupkg b/AzureIoTHubConnectedServiceLibrary/packages/newtonsoft.json.6.0.8.nupkg similarity index 100% rename from AzureIoTHubConnectedService/Packages/newtonsoft.json.6.0.8.nupkg rename to AzureIoTHubConnectedServiceLibrary/packages/newtonsoft.json.6.0.8.nupkg