-
Notifications
You must be signed in to change notification settings - Fork 60
Package Windows Forms analyzers #1693
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
Conversation
Would you be able to upload copies of generated NuGet packages we can take a peek at? |
I'm getting close to opening a PR in dotnet/winforms that will contain all of this. I'll ping back. |
The props and targets pertaining to this PR are here: https://github.com/RussKie/winforms/tree/project_configuration/pkg/Microsoft.Private.Winforms/WindowsDesktop.App.Ref |
This comment has been minimized.
This comment has been minimized.
Inbox Windows Forms analyzers into Windows Desktop SDK as per https://github.com/dotnet/designs/blob/main/accepted/2021/InboxSourceGenerators.md The analyzers and source generators come from a Windows Forms transport package built and packaged by https://github.com/dotnet/winforms/tree/main/pkg/Microsoft.Private.Winforms project. The analyzers are placed under .\sdk\analyzers folder, so that when the transport package is ingested the analyzers would not get imported by the ingesting projects (e.g. this project or dotnet/wpf). Add validation to verify the Windows Forms transport package contains the required content. And while at it, update the way the Windows Forms file classifications are referenced.
5b8bd98
to
f10c3cd
Compare
Wait so that is the structure of those Sdk's? 🤔 |
You can see the structure in
|
Microsoft.DotNet.Wpf.GitHub , Microsoft.DotNet.Wpf.ProjectTemplates , Microsoft.NET.Sdk.WindowsDesktop From Version 6.0.0-rc.1.21378.4 -> To Version 6.0.0-rc.1.21378.6 Dependency coherency updates Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Private.Winforms,Microsoft.Dotnet.WinForms.ProjectTemplates From Version 6.0.0-rc.1.21378.3 -> To Version 6.0.0-rc.1.21378.7 (parent: Microsoft.DotNet.Wpf.GitHub
…7-607a64fca6a0' into inbox_Windows_Forms_analyzers
Unblocks: dotnet/winforms#5035
Inbox Windows Forms analyzers into Windows Desktop SDK as per https://github.com/dotnet/designs/blob/main/accepted/2021/InboxSourceGenerators.md
The analyzers and source generators come from a Windows Forms transport package built and packaged by https://github.com/dotnet/winforms/tree/main/pkg/Microsoft.Private.Winforms project. The analyzers are placed under .\sdk\analyzers folder, so that when the transport package is ingested the analyzers would not get imported by the ingesting projects (e.g. this project or dotnet/wpf).
Add validation to verify the Windows Forms transport package contains the required content.
And while at it, update the way the Windows Forms file classifications are referenced.
Windows Forms transport package (published to general-testing-internal feed)

Windows Desktop package

End result:
