Closed kirsan31 closed 1 year ago
possibly related #8519.
@kirsan31 , linked PR is being tested. I am hoping to merge that this week and I will check if this scenario is one of those cases and update it here.
Oh sorry, my bad - didn't search before posting new issue 😔 Was 100% shure that this is designer problem...
Oh sorry, my bad - didn't search before posting new issue 😔
np. I am also looking at VS specific solution that we can service. I will link that as well when it is ready.
Targeting 8.0 and up is working. But VS solution has a few SystemAware instances to read the Project File's awareness.
Can you close this when the PR is merged @dreddy-work
Following PR shoudl help for .NET 7.0 and below target frameworks. https://github.com/microsoft/winforms-designer/pull/5081
Verified this issue in the latest .Net 8.0 build: 8.0.100-preview.4.23206.10, it is not reproduced. But for 7.0, it is reproduced so far.
Still an issue with 7.0 and 17.6.0 :(
Still an issue with 7.0 and 17.6.0 :(
It is in 17.7 Preview 1 build for .Net 7.0 and below.
Verified this on .NET 8.0 test pass build: 8.0.100-preview.5.23276.4, issue was fixed.
Environment
Microsoft Visual Studio Community 2022 Version 17.4.4 VisualStudio.17.Release/17.4.4+33213.308 Microsoft .NET Framework Version 4.8.09032
.NET version
.Net7 .Net6
Did this work in a previous version of Visual Studio and/or previous .NET release?
Yes in .Net framework
Issue description
Designer not loading with errors. If you comment out this line in
DesignerLoadBug.csproj
:<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
OR these lines in
Form1.Designer.cs
:designer will load normally.
Steps to reproduce
Open test project, open Form1 in the designer. DesignerLoadBug.zip
Diagnostics