Adding a reference to an esproj from an ASP.Net project results in a NU1105 error #12986
Labels
Functionality:Restore
Partner:JPS
Priority:2
Issues for the current backlog.
Product:VS.Client
Style:PackageReference
Type:Bug
Milestone
NuGet Product Used
Visual Studio Package Management UI, Other/NA
Product Version
Latest
Worked before?
17.8
Impact
It's more difficult to complete my work
Repro Steps & Context
When creating a new ASP.Net project, if we add a new JavaScript project and reference it from ASP.Net, we get this error:
NU1105 Unable to find project information for 'C:\Users\daroth\Documents\GitHub\javiercn\EsprojPlusWebAppIntegration\EsprojPlusWebAppIntegration.Assets\EsprojPlusWebAppIntegration.Assets.esproj'. 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.
I'm attaching a sample project and a binlog that shows the issue. Restoring from command line fixes the issue, but that's not really possible from within Visual Studio. This behavior seems new, only happening on internal versions of VS at the moment.
binlog.zip
EsprojPlusWebAppIntegration.zip
The text was updated successfully, but these errors were encountered: