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

switch-to-projects with MSIX: Unable to find project information for MyNugetProject.csproj #134

Open
tripleacoder opened this issue Oct 11, 2023 · 1 comment

Comments

@tripleacoder
Copy link

I have a solution MyApp which also contains an installer for MSIX.

When I use switch-to-projects, I get:

NU1105 Unable to find project information for 'C:\Users\lpedersen\source\repos\MyNugetSolution\MyNugetProject.csproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. MyApp.Installer C:\Users\lpedersen\source\repos\MyApp\MyApp.Installer\MyApp.Installer.wapproj 1

The installer is complaining about the project being outside the solution it seems.

I can build the solution and debug it. The.csproj file has replaced the Nuget reference with a ProjectReference.
However, the reference is adorned with a yellow triangle. And when I try stepping into the Nuget project, it is using outdated code from SourceLink.

Is the tool compatible with MSIX?

@tripleacoder
Copy link
Author

Never mind. It worked when a dialog appeared in Visual Studio and I clicked on "Reload project".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant