dotnet / dotnet/project-system
Framework reference override properties don't update until closing and reopening solution
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
_This issue has a corresponding [ticket on Developer Community](https://developercommunity.visualstudio.com/t/Framework-reference-override-properties-/1489636). Please vote and comment there to make sure your voice is heard._
---
[severity:I'm unable to use this version]
1. Create a .NET 5 console app. I am using .NET SDK 5.0.302.
2. Set the TFM to target Windows to pull in the Windows targeting package: net5.0-windows10.0.19041.0
3. You will see the Windows SDK reference pack with the properties:
! [image.png] (https://aka.ms/dc/image?name=Bac2fcbc6faa245e68975d0f7c374cebf637631136853924251_20210728-170125-image.png&tid=ac2fcbc6faa245e68975d0f7c374cebf637631136853924251)
4. Override the version by setting the property, for example 10.0.19041.17
5. You will see that the Microsoft.Windows.SDK.NET.Ref Version is updated, however the version of the binaries (Microsoft.Windows.SDK.NET, WinRT.Runtime) are not updated in the UI.
I need to close and reopen the solution for these versions to be updated.
---
### Original Comments
#### Feedback Bot on 7/29/2021, 00:05 AM:
(private comment, text removed)
#### Sara Liu [MSFT] on 7/30/2021, 00:13 AM:
(private comment, text removed)
#### Angela Zhang [MSFT] on 8/4/2021, 09:40 AM:
(private comment, text removed)
#### Feedback Bot on 11/1/2021, 01:33 AM:
(private comment, text removed)
---
### Original Solutions
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.