Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal VS install has broken NuGet UI #8414

Closed
zivkan opened this issue Aug 1, 2019 · 9 comments · Fixed by NuGet/NuGet.Client#4288
Closed

Minimal VS install has broken NuGet UI #8414

zivkan opened this issue Aug 1, 2019 · 9 comments · Fixed by NuGet/NuGet.Client#4288
Assignees
Labels
Category:Quality Week Issues that should be considered for quality week Priority:2 Issues for the current backlog. Product:VS.Client Tenet:Acquisition Install of VS/other NuGet products Triage:NeedsTriageDiscussion Type:Bug

Comments

@zivkan
Copy link
Member

zivkan commented Aug 1, 2019

Withthe VS 16.3 preview, if you install just the shell, no workloads selected, then run VS, the Package Manager Console can be opened, but the host never finishes initializing. Also, if you go to tools->Options, if you select either of the NuGet pages you get an error.

@zivkan zivkan added Product:VS.Client Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Bug labels Aug 1, 2019
@zivkan zivkan added this to the Backlog milestone Aug 1, 2019
@zivkan zivkan added the Tenet:Acquisition Install of VS/other NuGet products label Aug 28, 2019
@donnie-msft
Copy link
Contributor

donnie-msft commented Sep 4, 2019

From Jitin John on DevCom:

What steps will reproduce the problem?
Open VS 2019 without any solution
Go to Nuget Package Manager Settings
What is the expected output? What do you see instead?
Expected: Settings of nuget sources
Actual: An error occurred loading this property page

Please provide any additional information below.
This problem started soon after using VS2019

These are the products installled with VS

Microsoft Visual Studio Enterprise 2019 Preview Version 16.3.0 Preview 2.0 VisualStudio.16.Preview/16.3.0-pre.2.0+29209.152 Microsoft .NET Framework Version 4.8.03752 Installed Version: Enterprise Application Insights Tools for Visual Studio Package 9.1.00611.1 Application Insights Tools for Visual Studio ASP.NET and Web Tools 2019 16.3.205.56800 ASP.NET and Web Tools 2019 ASP.NET Web Frameworks and Tools 2019 16.3.205.56800 For additional information, visit https://www.asp.net/ Azure App Service Tools v3.0.0 16.3.205.56800 Azure App Service Tools v3.0.0 Azure Functions and Web Jobs Tools 16.3.205.56800 Azure Functions and Web Jobs Tools C# Tools 3.3.0-beta3-19407-03+d961190a1b4b2a81ac178b567840dfeff048b037 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used. Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools. Fabric.DiagnosticEvents 1.0 Fabric Diagnostic Events IntelliCode Extension 1.0 IntelliCode Visual Studio Extension Detailed Info Microsoft Azure Service Fabric Tools for Visual Studio 2.5 Microsoft Azure Service Fabric Tools for Visual Studio Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v2.9.20726.1 Microsoft Continuous Delivery Tools for Visual Studio 0.4 Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE. Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines Microsoft Library Manager 1.0 Install client-side libraries easily to any web project Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers Microsoft Visual Studio Tools for Containers 1.1 Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container. NuGet Package Manager 5.3.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/ ProjectServicesPackage Extension 1.0 ProjectServicesPackage Visual Studio Extension Detailed Info Snapshot Debugging Extension 1.0 Snapshot Debugging Visual Studio Extension Detailed Info SQL Server Data Tools 16.0.61907.31040 Microsoft SQL Server Data Tools TypeScript Tools 16.0.10802.2001 TypeScript Tools for Microsoft Visual Studio Visual Basic Tools 3.3.0-beta3-19407-03+d961190a1b4b2a81ac178b567840dfeff048b037 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used. Visual F# Tools 10.4 for F# 4.6 16.3.0-beta.19381.3+8e8a754ab056dc16f6dda49110fe8729d1bbabc9 Microsoft Visual F# Tools 10.4 for F# 4.6 Visual Studio Code Debug Adapter Host Package 1.0 Interop layer for hosting Visual Studio Code debug adapters in Visual Studio Visual Studio Tools for Containers 1.0 Visual Studio Tools for Containers

@donnie-msft
Copy link
Contributor

Hit this today (closed as dupe) #9683

@donnie-msft donnie-msft added the Category:Quality Week Issues that should be considered for quality week label Jun 15, 2020
@dominoFire
Copy link
Contributor

Workaround: Install one Workload that depends on NuGet component, named Microsoft.VisualStudio.Component.NuGet, documented here

@nkolev92 nkolev92 added Priority:2 Issues for the current backlog. and removed Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. labels Apr 14, 2021
@zivkan
Copy link
Member Author

zivkan commented Jun 24, 2021

Another instance: https://developercommunity.visualstudio.com/t/error-setting-up-nuget-package-manager/1457437?from=email&viewtype=all#T-ND1459974

From the ComponentModel cache error file:

NuGet.PackageManagement.VisualStudio.NuGetProjectFactory.ProjectServiceAccessor: expected exactly 1 export matching constraints:
    Contract name: Microsoft.VisualStudio.ProjectSystem.IProjectServiceAccessor
but found 0.
   part definition NuGet.PackageManagement.VisualStudio.NuGetProjectFactory

We need to ensure that the settings page doesn't need to use the project system APIs, since the .NET project system might not be installed.

@aortiz-msft aortiz-msft added Priority:1 High priority issues that must be resolved in the current sprint. and removed Priority:2 Issues for the current backlog. labels Aug 20, 2021
@aortiz-msft aortiz-msft modified the milestones: Backlog, Sprint 2021-08 Aug 20, 2021
@aortiz-msft
Copy link
Contributor

@zivkan - Would you please take a look?

@zivkan zivkan modified the milestones: Sprint 2021-08, Sprint 2021-09 Sep 7, 2021
@dominoFire
Copy link
Contributor

dominoFire commented Sep 15, 2021

@dominoFire
Copy link
Contributor

@dominoFire dominoFire reopened this Oct 14, 2022
@dominoFire dominoFire added Triage:NeedsTriageDiscussion Priority:2 Issues for the current backlog. and removed Priority:1 High priority issues that must be resolved in the current sprint. labels Oct 14, 2022
@nkolev92
Copy link
Member

Closing this issue. We'll track the Dev Com one and watch for upvotes there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Quality Week Issues that should be considered for quality week Priority:2 Issues for the current backlog. Product:VS.Client Tenet:Acquisition Install of VS/other NuGet products Triage:NeedsTriageDiscussion Type:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants