diff --git a/AzureIoTHubConnectedServiceLibrary/AccountPickerViewModel.cs b/AzureIoTHubConnectedServiceLibrary/AccountPickerViewModel.cs
index a217ae1..caf6422 100644
--- a/AzureIoTHubConnectedServiceLibrary/AccountPickerViewModel.cs
+++ b/AzureIoTHubConnectedServiceLibrary/AccountPickerViewModel.cs
@@ -1,6 +1,4 @@
-using Microsoft.Internal.VisualStudio.Shell.Interop;
-using Microsoft.VisualStudio.Services.Client.AccountManagement;
-//using Microsoft.VisualStudio.Services.Account;
+using Microsoft.VisualStudio.Services.Client.AccountManagement;
using Microsoft.VisualStudio.WindowsAzure.Authentication;
using System;
using System.ComponentModel;
@@ -8,6 +6,7 @@ using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
+using Microsoft.VisualStudio.Shell.Interop;
namespace AzureIoTHubConnectedService
{
diff --git a/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj
index bf9ed0a..8f8e38f 100644
--- a/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj
+++ b/AzureIoTHubConnectedServiceLibrary/AzureIoTHubConnectedServiceLibrary.csproj
@@ -43,30 +43,6 @@
..\FinalPublicKey.snk
-
- ..\packages\DotNetty.Buffers-signed.0.2.2\lib\net45\DotNetty.Buffers.dll
- True
-
-
- ..\packages\DotNetty.Codecs-signed.0.2.2\lib\net45\DotNetty.Codecs.dll
- True
-
-
- ..\packages\DotNetty.Codecs.Mqtt-signed.0.2.2\lib\net45\DotNetty.Codecs.Mqtt.dll
- True
-
-
- ..\packages\DotNetty.Common-signed.0.2.2\lib\net45\DotNetty.Common.dll
- True
-
-
- ..\packages\DotNetty.Handlers-signed.0.2.2\lib\net45\DotNetty.Handlers.dll
- True
-
-
- ..\packages\DotNetty.Transport-signed.0.2.2\lib\net45\DotNetty.Transport.dll
- True
-
False
@@ -81,20 +57,43 @@
..\packages\Microsoft.Azure.Devices.1.0.0\lib\net451\Microsoft.Azure.Devices.dll
True
-
- ..\packages\Microsoft.Azure.Devices.Client.1.0.1\lib\net45\Microsoft.Azure.Devices.Client.dll
+
+ ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.16.204221202\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
True
-
- ..\Externals\Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime.dll
- True
+
+ ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.16.204221202\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
+ True
+
+
+ ..\packages\WindowsAzure.ServiceBus.2.5.1.0\lib\net40-full\Microsoft.ServiceBus.dll
+ True
+
+
+ ..\packages\Microsoft.VisualStudio.Services.Client.14.89.0\lib\net45\Microsoft.TeamFoundation.Common.dll
+ True
..\packages\Microsoft.VisualStudio.ConnectedServices.2.0.0\lib\net45\Microsoft.VisualStudio.ConnectedServices.dll
True
-
- ..\Externals\Microsoft.VisualStudio.Services.Client.dll
+
+
+ ..\packages\Microsoft.VisualStudio.Services.InteractiveClient.14.89.0\lib\net45\Microsoft.VisualStudio.Services.Client.dll
+ True
+
+
+ ..\packages\Microsoft.VisualStudio.Services.Client.14.89.0\lib\net45\Microsoft.VisualStudio.Services.Common.dll
+ True
+
+
+ ..\packages\Microsoft.VisualStudio.Services.Client.14.89.0\lib\net45\Microsoft.VisualStudio.Services.WebApi.dll
+ True
False
@@ -105,7 +104,6 @@
False
- ..\Externals\Microsoft.VisualStudio.Shell.Immutable.14.0.dll
@@ -119,7 +117,6 @@
False
True
- ..\Externals\Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll
False
@@ -133,6 +130,10 @@
..\Externals\Microsoft.VisualStudio.WindowsAzure.CommonAzureTools.Contracts.1.5.dll
+
+ ..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.7.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll
+ True
+
..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
True
@@ -145,6 +146,10 @@
+
+ ..\packages\System.IdentityModel.Tokens.Jwt.4.0.0\lib\net45\System.IdentityModel.Tokens.Jwt.dll
+ True
+
..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll
@@ -152,6 +157,7 @@
+
..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll
True
diff --git a/AzureIoTHubConnectedServiceLibrary/app.config b/AzureIoTHubConnectedServiceLibrary/app.config
index fcc7032..1bebe30 100644
--- a/AzureIoTHubConnectedServiceLibrary/app.config
+++ b/AzureIoTHubConnectedServiceLibrary/app.config
@@ -8,4 +8,32 @@
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AzureIoTHubConnectedServiceLibrary/packages.config b/AzureIoTHubConnectedServiceLibrary/packages.config
index 9b54c5b..62a8fa3 100644
--- a/AzureIoTHubConnectedServiceLibrary/packages.config
+++ b/AzureIoTHubConnectedServiceLibrary/packages.config
@@ -1,18 +1,17 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Externals/Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime.dll b/Externals/Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime.dll
deleted file mode 100644
index 7f922a1..0000000
Binary files a/Externals/Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime.dll and /dev/null differ
diff --git a/Externals/Microsoft.VisualStudio.Services.Client.dll b/Externals/Microsoft.VisualStudio.Services.Client.dll
deleted file mode 100644
index 83f645e..0000000
Binary files a/Externals/Microsoft.VisualStudio.Services.Client.dll and /dev/null differ
diff --git a/Externals/Microsoft.VisualStudio.Shell.Immutable.14.0.dll b/Externals/Microsoft.VisualStudio.Shell.Immutable.14.0.dll
deleted file mode 100644
index b473679..0000000
Binary files a/Externals/Microsoft.VisualStudio.Shell.Immutable.14.0.dll and /dev/null differ
diff --git a/Externals/Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll b/Externals/Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll
deleted file mode 100644
index a94ab6d..0000000
Binary files a/Externals/Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll and /dev/null differ
diff --git a/Externals/NuGet.VisualStudio.xml b/Externals/NuGet.VisualStudio.xml
deleted file mode 100644
index 28568e8..0000000
--- a/Externals/NuGet.VisualStudio.xml
+++ /dev/null
@@ -1,1041 +0,0 @@
-
-
-
- NuGet.VisualStudio
-
-
-
-
- Adds an Import element to this project file if it doesn't already exist.
-
- The project file.
- The path to the imported file.
- The location where the Import is added.
-
-
-
- Removes the Import element from the project file.
-
- The project file.
- The path to the imported file.
-
-
-
- Install a package with locking to allow multiple concurrent extractions to work without disk contention.
-
-
-
-
- We want to base the lock name off of the full path of the package, however, the Mutex looks for files on disk if a path is given.
- Additionally, it also fails if the string is longer than 256 characters. Therefore we obtain a base-64 encoded hash of the path.
-
-
-
-
-
- Marks package directory for future removal if it was not fully deleted during the normal uninstall process
- if the directory does not contain any added or modified files.
- The package directory will be marked by an adjacent *directory name*.deleteme file.
-
-
-
-
- Attempts to remove package directories that were unable to be fully deleted during the original uninstall.
- These directories will be marked by an adjacent *directory name*.deleteme files in the local package repository.
- If the directory removal is successful, the .deleteme file will also be removed.
-
-
-
-
- Interaction logic for RestartRequestBar.xaml
-
-
- RestartRequestBar
-
-
-
-
- InitializeComponent
-
-
-
-
- Contains methods to restore packages installed in a project within the current solution.
-
-
-
-
- Returns a value indicating whether the user consent to download NuGet packages
- has been granted.
-
- true if the user consent has been granted; otherwise, false.
-
-
-
- Restores NuGet packages installed in the given project within the current solution.
-
- The project whose NuGet packages to restore.
-
-
-
- Returns true if the package is already installed in the local repository.
-
- The file system of the local repository.
- The package id.
- The package version
- True if the package is installed in the local repository.
-
-
-
- Contains methods to uninstall packages from a project within the current solution.
-
-
-
-
- Uninstall the specified package from a project and specify whether to uninstall its dependency packages too.
-
- The project from which the package is uninstalled.
- The package to be uninstalled
- A boolean to indicate whether the dependency packages should be uninstalled too.
-
-
-
- Contains information about an installed package.
-
-
-
-
- Id of the package.
-
-
-
-
- Version of the package.
-
-
- Do not use this property because it will require referencing NuGet.Core.dll assembly. Use the VersionString property instead.
-
-
-
-
- Title of the package.
-
-
-
-
- Description of the package.
-
-
-
-
- The authors of the package.
-
-
-
-
- The location where the package is installed on disk.
-
-
-
-
- The version of the package.
-
-
- Use this property instead of the Version property becase with the type string,
- it doesn't require referencing NuGet.Core.dll assembly.
-
-
-
-
- Creates a .refresh file in bin directory of the IFileSystem that points to the assembly being installed.
- This works around issues in DTE's AddReference method when dealing with GACed binaries.
-
- The project system the assembly is being referenced by.
- The relative path to the assembly being added
-
-
-
- Gets the list of package directories that are still need to be deleted in the
- local package repository.
-
-
-
-
- Marks package directory for future removal if it was not fully deleted during the normal uninstall process
- if the directory does not contain any added or modified files.
-
-
-
-
- Attempts to remove marked package directories that were unable to be fully deleted during the original uninstall.
-
-
-
-
- This function checks if there is a framework assembly of assemblyName and of version > availableVersion
- in targetFramework. NOTE that this function is only applicable for .NETFramework and returns false for
- all the other targetFrameworks
-
-
-
-
- This function checks if there is a framework assembly of assemblyName and of version > availableVersion
- in targetFramework. NOTE that this function is only applicable for .NETFramework and returns false for
- all the other targetFrameworks
-
-
-
-
- Returns the list of framework assemblies as specified in frameworklist.xml under the ReferenceAssemblies
- for .NETFramework. If the file is not present, an empty list is returned
-
-
-
-
- Given a fileSystem to the path containing RedistList\Frameworklist.xml file
- return the list of assembly names read out from the xml file
-
-
-
-
- Contains events which are raised when packages are installed or uninstalled from projects and the current solution.
-
-
-
-
- Raised when a package is about to be installed into the current solution.
-
-
-
-
- Raised after a package has been installed into the current solution.
-
-
-
-
- Raised when a package is about to be uninstalled from the current solution.
-
-
-
-
- Raised after a package has been uninstalled from the current solution.
-
-
-
-
- Raised after a package has been installed into a project within the current solution.
-
-
-
-
- Raised after a package has been uninstalled from a project within the current solution.
-
-
-
-
- Contains methods to query for installed packages within the current solution.
-
-
-
-
- Get the list of NuGet packages installed in the current solution.
-
-
-
-
- Checks if a NuGet package with the specified Id is installed in the specified project.
-
- The project to check for NuGet package.
- The id of the package to check.
- true if the package is install. false otherwise.
-
-
-
- Checks if a NuGet package with the specified Id and version is installed in the specified project.
-
- The project to check for NuGet package.
- The id of the package to check.
- The version of the package to check.
- true if the package is install. false otherwise.
-
-
-
- Checks if a NuGet package with the specified Id and version is installed in the specified project.
-
- The project to check for NuGet package.
- The id of the package to check.
- The version of the package to check.
- true if the package is install. false otherwise.
-
- The reason this method is named IsPackageInstalledEx, instead of IsPackageInstalled, is that
- when client project compiles against this assembly, the compiler would attempt to bind against
- the other overload which accepts SemanticVersion and would require client project to reference NuGet.Core.
-
-
-
-
- Get the list of NuGet packages installed in the specified project.
-
- The project to get NuGet packages from.
-
-
-
- Adds refresh files to the specified project for all assemblies references belonging to the packages specified by packageNames.
-
- The project.
- The file system pointing to 'packages' folder under the solution.
- The package names.
-
-
-
- Copies the native binaries to the project's bin folder.
-
- The project.
- The packages file system.
- The package names.
-
-
-
- This class is used by functional tests to change NuGet user settings.
-
-
-
-
- Sets a NuGet user settings property.
-
- The name of the settings property to set.
- The value of the settings property.
- If null, the settings property will be deleted.
-
-
-
- Gets the VsSettings singleton object.
-
- The VsSettings object in the system.
-
-
-
- Adds a new package source.
-
- Name of the new source.
- Value (uri) of the new source.
-
-
-
- Removes a new package source.
-
- Name of the source.
-
-
-
- Gets a value indicating whether the current solution is configured for Package Restore mode.
-
-
-
-
- Configures the current solution for Package Restore mode.
-
- if set to false, the method will not show any error message, and will not set package restore consent.
-
-
-
- Occurs when it is detected that the packages are missing or restored for the current solution.
-
-
-
-
- Checks the current solution if there is any package missing.
-
-
-
-
-
- Restores the missing packages for the current solution.
-
-
-
-
- Interaction logic for PackageRestoreBar.xaml
-
-
- PackageRestoreBar
-
-
-
-
- InitializeComponent
-
-
-
-
- Try to retrieve the package with the specified Id from machine cache first.
- If not found, download it from the specified repository and add to machine cache.
-
-
-
-
- Gets all package references in all projects of the current solution plus package
- references specified in the solution packages.config
-
-
-
-
- Gets the package references of the specified project.
-
-
-
-
- Invokes the action on the UI thread if one exists.
-
-
-
-
- Provides functionality for installing packages already on disk from an installer (MSI or VSIX).
-
-
-
-
- Gets the folder location where packages have been laid down for the specified extension.
-
- The installed extension.
- The VS Extension manager instance.
- An error handler that accepts the error message string and then throws the appropriate exception.
- The absolute path to the extension's packages folder.
-
-
-
- Gets the folder location where packages have been laid down in a registry-specified location.
-
- The registry key name that specifies the packages location.
- The optional list of parent registry keys to look in (used for unit tests).
- An error handler that accepts the error message string and then throws the appropriate exception.
- The absolute path to the packages folder specified in the registry.
-
-
-
- Installs one or more packages into the specified project.
-
- The package installer service that performs the actual package installation.
- The target project for installation.
- The packages to install, where to install them from, and additional options for their installation.
- The repository settings for the packages being installed.
- An action that accepts a warning message and presents it to the user, allowing execution to continue.
- An action that accepts an error message and presents it to the user, allowing execution to continue.
-
-
-
- For Website projects, adds necessary "refresh" files in the bin folder for added references.
-
- The target Website project.
- The local repository path.
- The packages that were installed.
-
-
-
- By convention, we copy all files under the NativeBinaries folder under package root to the bin folder of the Website.
-
- The target Website project.
- The local repository path.
- The packages that were installed.
-
-
-
- ProductUpdateBar
-
-
-
-
- InitializeComponent
-
-
-
-
- Cache that stores project based on multiple names. i.e. Project can be retrieved by name (if non conflicting), unique name and custom unique name.
-
-
-
-
- Finds a project by short name, unique name or custom unique name.
-
- name of the project to retrieve.
- project instance
- true if the project with the specified name is cached.
-
-
-
- Finds a project name by short name, unique name or custom unique name.
-
- name of the project
- project name instance
- true if the project name with the specified name is found.
-
-
-
- Removes a project and returns the project name instance of the removed project.
-
- name of the project to remove.
-
-
-
- Returns all cached projects.
-
-
-
-
- Determines if a short name is ambiguous
-
- short name of the project
- true if there are multiple projects with the specified short name.
-
-
-
- Add a project to the cache.
-
- project to add to the cache.
- The project name of the added project.
-
-
-
- Tries to find a project by short name. Returns the project name if and only if it is non-ambiguous.
-
-
-
-
- Adds an entry to the short name cache returning any conflicting project name.
-
- The first conflicting short name.
-
-
-
- Removes a project from the short name cache.
-
- The short name of the project.
-
-
-
- Removes a project from the project name dictionary.
-
-
-
-
- Represents a project name in the solution manager.
-
-
-
-
- Two projects are equal if they share the same FullNames.
-
-
-
-
- This project system represents the JavaScript project in Windows8
-
-
-
-
- Represent a particular tree node in the SolutionExplorer window.
-
-
-
-
- Delete all parent, grand parent, etc. of this file if they are empty, after deleting this file.
-
-
-
-
- Get the filter that is represented by the specified path
-
-
-
-
- Returns an ICredentials instance that the consumer would need in order
- to properly authenticate to the given Uri.
-
-
-
-
- THIS IS KINDA HACKISH: we are forcing the static property just so that the VsWebProxy can pick up the Uri.
- This method is responsible for initializing the WebRequest.DefaultWebProxy to the correct
- Uri based on the type of request that credentials are needed for before we prompt for credentials
- because the VsWebProxy uses that static property as a way to display the Uri that we are connecting to.
-
-
-
-
- This method is responsible for retrieving either cached credentials
- or forcing a prompt if we need the user to give us new credentials.
-
-
-
-
- Cache location relative to the template (inside the same folder as the vstemplate file)
-
-
-
-
- Cache location relative to the VSIX that packages the project template
-
-
-
-
- Cache location stored in the registry
-
-
-
-
- Represents all necessary configuration for installing a list of preinstalled packages.
-
-
-
-
- Creates a preinstalled package configuration.
-
- The absolute path to the packages repository on disk.
- The list of packages to be installed.
- A boolean indicating whether the packages are preunzipped within the repository path.
-
-
-
- The information that represents a single preinstalled package (already on disk).
-
-
-
-
- Information for a single preinstalled package that will have its assembly references added and its dependencies ignored.
-
- The package Id.
- The package version.
-
-
-
- Information for a single preinstalled package.
-
- The package Id.
- The package version.
- A boolean indicating whether assembly references from the package should be skipped.
- A boolean indicating whether dependencies from the package should be ignored.
-
-
-
- Returns the full path of the project directory.
-
- The project.
- The full path of the project directory.
-
-
-
- Gets the EnvDTE.Project instance from IVsHierarchy
-
- pHierarchy is the IVsHierarchy instance from which the project instance is obtained
-
-
-
- Gets the path to .nuget folder present in the solution
-
- Solution from which .nuget folder's path is obtained
-
-
-
- Returns true if the project has the packages.config file
-
- Project under whose directory packages.config is searched for
-
-
-
- Returns the full path of the packages config file associated with the project.
-
- The project.
- A tuple contains full path to packages.project_name.config and packages.config files.
-
-
-
- This method is different from the GetName() method above in that for Website project,
- it will always return the project name, instead of the full path to the website, when it uses Casini server.
-
-
-
-
- This constructor is used by unit tests to inject custom IVsProjectSystem implementation
-
-
-
-
- Adds refresh files to the specified project for all assemblies references belonging to the packages specified by packageNames.
-
- The project.
- The file system pointing to 'packages' folder under the solution.
- The package names.
-
-
-
- Copies the native binaries to the project's bin folder.
-
- The project.
- The packages file system.
- The package names.
-
-
-
- Gets all assembly references for a package
-
-
-
-
- Contains methods to install packages into a project within the current solution.
-
-
-
-
- Installs a single package from the specified package source.
-
- The package source to install the package from.
- The target project for package installation.
- The package id of the package to install.
- The version of the package to install
- A boolean indicating whether or not to ignore the package's dependencies during installation.
-
-
-
- Installs a single package from the specified package source.
-
- The package source to install the package from.
- The target project for package installation.
- The package id of the package to install.
- The version of the package to install
- A boolean indicating whether or not to ignore the package's dependencies during installation.
-
-
-
- Installs a single package from the specified package source.
-
- The package repository to install the package from.
- The target project for package installation.
- The package id of the package to install.
- The version of the package to install
- A boolean indicating whether or not to ignore the package's dependencies during installation.
- A boolean indicating if assembly references from the package should be skipped.
-
-
-
- Installs one or more packages that exist on disk in a folder defined in the registry.
-
- The registry key name (under NuGet's repository key) that defines the folder on disk containing the packages.
- A boolean indicating whether the folder contains packages that are pre-unzipped.
- A boolean indicating whether the assembly references from the packages should be skipped.
- The target project for package installation.
- A dictionary of packages/versions to install where the key is the package id and the value is the version.
-
- If any version of the package is already installed, no action will be taken.
-
- Dependencies are always ignored.
-
-
-
-
-
- Installs one or more packages that exist on disk in a folder defined in the registry.
-
- The registry key name (under NuGet's repository key) that defines the folder on disk containing the packages.
- A boolean indicating whether the folder contains packages that are pre-unzipped.
- A boolean indicating whether the assembly references from the packages should be skipped.
- A boolean indicating whether the package's dependencies should be ignored
- The target project for package installation.
- A dictionary of packages/versions to install where the key is the package id and the value is the version.
-
- If any version of the package is already installed, no action will be taken.
-
-
-
-
- Installs one or more packages that are embedded in a Visual Studio Extension Package.
-
- The Id of the Visual Studio Extension Package.
- A boolean indicating whether the folder contains packages that are pre-unzipped.
- A boolean indicating whether the assembly references from the packages should be skipped.
- The target project for package installation
- A dictionary of packages/versions to install where the key is the package id and the value is the version.
-
- If any version of the package is already installed, no action will be taken.
-
- Dependencies are always ignored.
-
-
-
-
-
- Installs one or more packages that are embedded in a Visual Studio Extension Package.
-
- The Id of the Visual Studio Extension Package.
- A boolean indicating whether the folder contains packages that are pre-unzipped.
- A boolean indicating whether the assembly references from the packages should be skipped.
- A boolean indicating whether the package's dependencies should be ignored
- The target project for package installation
- A dictionary of packages/versions to install where the key is the package id and the value is the version.
-
- If any version of the package is already installed, no action will be taken.
-
-
-
-
- This class implements the IConsole interface in order to integrate with the PowerShellHost.
- It sends PowerShell host outputs to the VS Output tool window.
-
-
-
-
- WORKAROUND:
- This override is in place to handle the case-sensitive call to Project.Object.References.Item
- There are certain assemblies where the AssemblyName and Assembly file name do not match in case
- And, this causes a mismatch. For more information, Refer to the RemoveReference of the base class
-
-
-
-
-
- Returns the configuraton path by walking the directory structure to find a nuget.config file.
-
-
-
-
- Extracts the repository path from a nuget.config settings file
-
- Full path to the nuget.config file
-
-
-
- Returns the list of candidates for nuget config files.
-
-
-
-
- Load the specified assembly using the information from the executing assembly.
- If the executing assembly is strongly signed, use Assembly.Load(); Otherwise,
- use Assembly.LoadFrom()
-
- The name of the assembly to be loaded.
- The loaded Assembly instance.
-
-
-
- Clears the output in the console
-
-
-
-
- Creates an instance of the package installer for unit testing of registry-based preinstalled packages. This should only be used for unit tests.
-
- The optional list of parent registry keys to look in (used for unit tests).
-
-
-
- Creates an instance of the package installer for unit testing of extension-based preinstalled packages. This should only be used for unit tests.
-
- A mock extension manager instance (used for unit tests).
-
-
-
- Creates an VsPackageManagerInstance that uses the Active Repository (the repository selected in the console drop down) and uses a fallback repository for dependencies.
-
-
-
-
- Creates a VsPackageManager that is used to manage install packages.
- The local repository is used as the primary source, and other active sources are
- used as fall back repository. When all needed packages are available in the local
- repository, which is the normal case, this package manager will not need to query
- any remote sources at all. Other active sources are
- used as fall back repository so that it still works even if user has used
- install-package -IgnoreDependencies.
-
- The VsPackageManager created.
-
-
-
- Creates a FallbackRepository with an aggregate repository that also contains the primaryRepository.
-
-
-
-
- Returns the user specified DependencyVersion in nuget.config.
-
- The user specified DependencyVersion value in nuget.config.
-
-
-
- This class unifies all the different ways of getting services within visual studio.
-
-
-
-
- Internal test hook for adding services
-
-
-
-
- Get the safe name of the specified project which guarantees not to conflict with other projects.
-
-
- It tries to return simple name if possible. Otherwise it returns the unique name.
-
-
-
-
- Get the list of all supported projects in the current solution. This method
- recursively iterates through all projects.
-
-
-
-
- Gets a value indicating whether there is a solution open in the IDE.
-
-
-
-
- Checks whether the current solution is saved to disk, as opposed to be in memory.
-
-
-
-
- Gets a list of supported projects currently loaded in the solution
-
-
-
-
-
- Invokes the action on the UI thread if one exists.
-
-
-
-
- Determines if NuGet is used in the project. Currently, it is determined by checking if packages.config is part of the project
-
- The project which is checked to see if NuGet is used in it
-
-
-
- Recursively retrieves all supported child projects of a virtual folder.
-
- The root container project
-
-
-
- If we didn't find the project item at the top level, then we look one more level down.
- In VS files can have other nested files like foo.aspx and foo.aspx.cs or web.config and web.debug.config.
- These are actually top level files in the file system but are represented as nested project items in VS.
-
-
-
-
- Checks if a native project type really is a managed project, by checking the CLRSupport item.
-
-
-
-
- Returns the unique name of the specified project including all solution folder names containing it.
-
-
- This is different from the DTE Project.UniqueName property, which is the absolute path to the project file.
-
-
-
-
- DO NOT delete this. This method is only called from PowerShell functional test.
-
-
-
-
- This method truncates Website projects into the VS-format, e.g. C:\..\WebSite1
- This is used for displaying in the projects combo box.
-
-
-
-
- This method truncates Website projects into the VS-format, e.g. C:\..\WebSite1, but it uses Name instead of SafeName from Solution Manager.
-
-
-
-
- Check if the project has the SharedAssetsProject capability. This is true
- for shared projects in universal apps.
-
-
-
-
- Determines if we need a source file to be under the App_Code folder
-
-
-
-
- Removes a reference via the DTE.
-
- This is identical to VsProjectSystem.RemoveReference except in the way we process exceptions.
-
-
-
- Sets NuGetPackageImportStamp to a new random guid. This is a hack to let the project system know it is out of date.
- The value does not matter, it just needs to change.
-
-
-
-
- A strongly-typed resource class, for looking up localized strings, etc.
-
-
-
-
- Returns the cached ResourceManager instance used by this class.
-
-
-
-
- Overrides the current thread's CurrentUICulture property for all
- resource lookups using this strongly typed resource class.
-
-
-
-
- Looks up a localized string similar to {0} cannot be null or an empty string.
-
-
-
-
- Looks up a localized string similar to {0} must be between {1} and {2}.
-
-
-
-
- Looks up a localized string similar to {0} must be a valid value from the {1} enumeration.
-
-
-
-
- Looks up a localized string similar to {0} must be greater than {1}.
-
-
-
-
- Looks up a localized string similar to {0} must be greater than or equal to {1}.
-
-
-
-
- Looks up a localized string similar to {0} must be less than {1}.
-
-
-
-
- Looks up a localized string similar to {0} must be less than or equal to {1}.
-
-
-
-
- Looks up a localized string similar to {0} cannot be an empty string, it must either be null or a non-empty string.
-
-
-
-
- Looks up a localized string similar to This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-