コード例 #1
0
        private async void OnNuGetProjectAdded(object sender, NuGetProjectEventArgs e)
        {
            if (IsCurrentSolutionEnabledForRestore)
            {
                EnablePackageRestore(e.NuGetProject);
            }

            await RaisePackagesMissingEventForSolution(CancellationToken.None);
        }
コード例 #2
0
        private async void OnNuGetProjectAdded(object sender, NuGetProjectEventArgs e)
        {
            if (IsCurrentSolutionEnabledForRestore)
            {
                EnablePackageRestore(e.NuGetProject);
            }

            await RaisePackagesMissingEventForSolution(CancellationToken.None);
        }