dotnet / project-system

The .NET Project System for Visual Studio
MIT License
969 stars 387 forks source link

Reference dialog doesn't allow selecting full framework assemblies when Cross-targeting #1609

Open BillHiebert opened 7 years ago

BillHiebert commented 7 years ago
  1. Create an asp.net core app on Full Framework

  2. R-click, Add Reference. Notice the choices available: image

  3. Now create an asp.net core app. Edit project file and add a 2nd framework like net452.

  4. R-click, Add Reference. Notice the options to add assemblies (and COM) are missing: image

You need to edit the project file and add framework references manually.

davkean commented 7 years ago

Yep, see: https://github.com/dotnet/roslyn-project-system/issues/400#issuecomment-265622372 for how xproj did this.