Skip to content

Delete .NET Framework VB projects, code files, and refs - #12920

Merged
gewarren merged 2 commits into
dotnet:mainfrom
gewarren:delete-vb-netfx-projects
Aug 3, 2026
Merged

Delete .NET Framework VB projects, code files, and refs#12920
gewarren merged 2 commits into
dotnet:mainfrom
gewarren:delete-vb-netfx-projects

Conversation

@gewarren

Copy link
Copy Markdown
Collaborator

Contributes to #12713.

VB code won't be backported to the dotnet/runtime repo, so no sense in spending time to upgrade old VB projects.

Copilot AI review requested due to automatic review settings July 31, 2026 21:11
@gewarren
gewarren requested review from a team and mconnew as code owners July 31, 2026 21:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the .NET API reference documentation to remove references to legacy Visual Basic (.NET Framework-era) snippet projects and deletes corresponding VB snippet project/source files, aligning with the effort in #12713 to avoid investing in upgrading old VB snippet projects.

Changes:

  • Removed VB snippet include directives from multiple ECMA XML reference docs where the corresponding VB snippet projects/sources are being removed.
  • Deleted legacy VB snippet project files (.vbproj) and associated VB code-behind/source files under snippets/visualbasic/.
  • Removed several older VB sample assets (designer/generated VB files) that were only used by the deleted snippet projects.

Reviewed changes

Copilot reviewed 126 out of 141 changed files in this pull request and generated no comments.

Show a summary per file
File Description
xml/System.Windows/Application.xml Removed VB snippet includes for Application overview examples.
xml/System.Windows.Input/TabletDevice.xml Removed VB snippet includes tied to deleted StylusDevice sample code-behind.
xml/System.Windows.Input/SystemGesture.xml Removed VB snippet include for the gesture example.
xml/System.Windows.Input/StylusPointPropertyUnit.xml Removed VB snippet includes for stylus point property unit examples.
xml/System.Windows.Input/StylusPointPropertyInfo.xml Removed VB snippet includes for stylus point property info examples.
xml/System.Windows.Input/StylusPointProperty.xml Removed VB snippet includes for stylus point property examples.
xml/System.Windows.Input/StylusPointProperties.xml Removed VB snippet include for stylus point properties example.
xml/System.Windows.Input/StylusDevice.xml Removed VB snippet include for GetStylusPoints example.
xml/System.Windows.Ink/StylusTip.xml Removed VB snippet include for InkCanvas-related example.
xml/System.Windows.Ink/StrokeCollection.xml Removed VB snippet include for InkCanvas-related StrokeCollection example.
xml/System.Windows.Ink/DrawingAttributeIds.xml Removed VB snippet include for DrawingAttributeIds example.
xml/System.Windows.Documents/Hyperlink.xml Removed VB snippet includes for Hyperlink examples.
xml/System.Windows.Controls/TabControl.xml Removed VB snippet include for TabControl formatting example.
xml/System.Windows.Controls/Page.xml Removed VB snippet includes for Page overview examples.
xml/System.Windows.Controls/InkCanvas.xml Removed VB snippet includes for InkCanvas overview examples.
xml/System.Windows.Controls/HeaderedContentControl.xml Removed VB snippet include for HeaderedContentControl formatting example.
xml/System.Windows.Controls/GroupStyle.xml Removed VB snippet include for GroupStyle example.
xml/System.Windows.Automation.Provider/ISelectionProvider.xml Removed VB snippet includes for UI Automation provider examples.
xml/System.Windows.Automation.Provider/ISelectionItemProvider.xml Removed VB snippet includes for UI Automation provider examples.
xml/System.ServiceModel/SessionMode.xml Removed VB snippet include for SessionMode example.
xml/System.ServiceModel/ServiceContractAttribute.xml Removed VB snippet includes for ServiceContractAttribute examples.
xml/System.ServiceModel/OperationContext.xml Removed VB snippet includes for OperationContext examples.
xml/System.ServiceModel/ClientBase`1.xml Removed VB snippet include for ClientBase example.
xml/System.ServiceModel/ChannelFactory`1.xml Removed VB snippet include for ChannelFactory example.
xml/System.ServiceModel/ChannelFactory.xml Removed VB snippet include for ChannelFactory example.
xml/System.ServiceModel.Security/X509ServiceCertificateAuthentication.xml Removed VB snippet includes for X509ServiceCertificateAuthentication examples.
xml/System.ServiceModel.Description/IContractBehavior.xml Removed VB snippet includes for IContractBehavior examples.
xml/System.ServiceModel.Channels/NamedPipeTransportBindingElement.xml Removed VB snippet includes for NamedPipeTransportBindingElement examples.
snippets/visualbasic/VS_Snippets_Wpf/UIAISelectionProvider_ISelectionItemProvider_snip/visualbasic/providerform.vb Deleted legacy VB snippet source file.
snippets/visualbasic/VS_Snippets_Wpf/UIAISelectionProvider_ISelectionItemProvider_snip/visualbasic/providerform.designer.vb Deleted legacy VB designer source file.
snippets/visualbasic/VS_Snippets_Wpf/UIAISelectionProvider_ISelectionItemProvider_snip/visualbasic/program.vb Deleted legacy VB snippet entry point source file.
snippets/visualbasic/VS_Snippets_Wpf/UIAISelectionProvider_ISelectionItemProvider_snip/visualbasic/elementprovider.vbproj Deleted legacy VB project file.
snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/services.vb Deleted legacy VB WCF snippet source file.
snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/proxycode.vb Deleted legacy generated VB proxy snippet file.
snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/hostapplication.vb Deleted legacy VB host snippet source file.
snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/host.vbproj Deleted legacy VB host project file.
snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/client.vbproj Deleted legacy VB client project file.
snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/client.vb Deleted legacy VB client snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/services.vb Deleted legacy VB WCF session snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/proxycode.vb Deleted legacy generated VB proxy snippet file.
snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/hostapplication.vb Deleted legacy VB host snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/host.vbproj Deleted legacy VB host project file.
snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/client.vbproj Deleted legacy VB client project file.
snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/client.vb Deleted legacy VB client snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/services.vb Deleted legacy VB WCF naming snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/proxycode.vb Deleted legacy generated VB proxy snippet file.
snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/hostapplication.vb Deleted legacy VB host snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/host.vbproj Deleted legacy VB host project file.
snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/client.vbproj Deleted legacy VB client project file.
snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/client.vb Deleted legacy VB client snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb Deleted legacy VB WCF callback contract snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/proxycode.vb Deleted legacy generated VB proxy snippet file.
snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/hostapplication.vb Deleted legacy VB host snippet source file.
snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/host.vbproj Deleted legacy VB host project file.
snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/client.vbproj Deleted legacy VB client project file.
snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/client.vb Deleted legacy VB client snippet source file.
snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/my project/assemblyinfo.vb Deleted legacy VB project metadata file.
snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/module1.vb Deleted legacy VB snippet source file.
snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/cs.vbproj Deleted legacy VB project file.
snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/my project/assemblyinfo.vb Deleted legacy VB project metadata file.
snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb Deleted legacy VB snippet source file.
snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/cs.vbproj Deleted legacy VB project file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/services.vb Deleted legacy VB snippet source file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/proxycode.vb Deleted legacy generated VB proxy snippet file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb Deleted legacy VB behavior snippet source file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/hostapplication.vb Deleted legacy VB host snippet source file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/host.vbproj Deleted legacy VB host project file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/client.vbproj Deleted legacy VB client project file.
snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/client.vb Deleted legacy VB client snippet source file.
snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/proxycode.vb Deleted legacy generated VB proxy snippet file.
snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/client.vbproj Deleted legacy VB client project file.
snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/client.vb Deleted legacy VB client snippet source file.
snippets/visualbasic/System.Windows/Application/Overview/my project/assemblyinfo.vb Deleted legacy VB WPF sample assembly metadata.
snippets/visualbasic/System.Windows/Application/Overview/applicationsnippets.vbproj Deleted legacy VB WPF sample project file.
snippets/visualbasic/System.Windows/Application/Overview/application.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows/Application/Overview/appcode.vb Deleted legacy VB WPF sample source file.
snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/PacketSpy.vbproj Deleted legacy VB WPF sample project file.
snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/MyApp.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/My Project/Settings.Designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/My Project/Resources.Designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/My Project/MyEvents.vb Deleted legacy generated VB application events file.
snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/My Project/AssemblyInfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/Window1.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/MyStroke.vb Deleted legacy VB sample stroke implementation.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/MyApp.xaml.vb Deleted legacy VB sample app code-behind file.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/My Project/MySettings.Designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/My Project/MyResources.Designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/My Project/MyEvents.vb Deleted legacy generated VB application events file.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/My Project/AssemblyInfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/CustomRenderedStroke.vb Deleted legacy VB sample custom stroke rendering.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/Window1.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/MyApp.xaml.vb Deleted legacy VB sample app code-behind file.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/My Project/MySettings.Designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/My Project/MyResources.Designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/My Project/MyEvents.vb Deleted legacy generated VB application events file.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/My Project/AssemblyInfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/Ink3d.vb Deleted legacy VB sample control implementation.
snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/CustomRenderedStroke.vb Deleted legacy VB sample stroke implementation.
snippets/visualbasic/System.Windows.Documents/Hyperlink/Overview/window1.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows.Documents/Hyperlink/Overview/myapp.xaml.vb Deleted legacy VB WPF sample app code-behind file.
snippets/visualbasic/System.Windows.Documents/Hyperlink/Overview/hyperlinksnippets.vbproj Deleted legacy VB WPF sample project file.
snippets/visualbasic/System.Windows.Controls/Page/Overview/pagesnippets.vbproj Deleted legacy VB WPF sample project file.
snippets/visualbasic/System.Windows.Controls/Page/Overview/my project/settings.designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.Windows.Controls/Page/Overview/my project/resources.designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.Windows.Controls/Page/Overview/my project/assemblyinfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.Windows.Controls/Page/Overview/markupandcodebehindpage.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows.Controls/Page/Overview/homepage.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.Windows.Controls/Page/Overview/codepage.vb Deleted legacy VB sample page implementation.
snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/MyApp.xaml.vb Deleted legacy VB WPF sample app code-behind file.
snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/My Project/Settings.Designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/My Project/Resources.Designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/My Project/MyEvents.vb Deleted legacy generated VB application events file.
snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/My Project/AssemblyInfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/DrawingAttributesSample.vbproj Deleted legacy VB WPF sample project file.
snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/window1.xaml.vb Deleted legacy VB WPF sample code-behind/source file.
snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/my project/settings.designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/my project/resources.designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/my project/assemblyinfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/application.xaml.vb Deleted legacy VB WPF sample app code-behind file.
snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/my project/settings.designer.vb Deleted legacy generated VB settings file.
snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/my project/resources.designer.vb Deleted legacy generated VB resources file.
snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/my project/assemblyinfo.vb Deleted legacy VB sample assembly metadata.
snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/changeitem.xaml.vb Deleted legacy VB WPF sample code-behind file.
snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/application.xaml.vb Deleted legacy VB WPF sample app code-behind file.
Files not reviewed (15)
  • snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/my project/resources.designer.vb: Generated file
  • snippets/visualbasic/System.ComponentModel/IEditableCollectionView/Overview/my project/settings.designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/my project/resources.designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Controls/GroupStyle/HeaderStringFormat/my project/settings.designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/My Project/Resources.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Controls/InkCanvas/Overview/My Project/Settings.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Controls/Page/Overview/my project/resources.designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Controls/Page/Overview/my project/settings.designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/My Project/MyResources.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Ink/DrawingAttributes/PropertyDataChanged/My Project/MySettings.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/My Project/MyResources.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Ink/Stroke/.ctor/My Project/MySettings.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/My Project/Resources.Designer.vb: Generated file
  • snippets/visualbasic/System.Windows.Input/StylusDevice/GetStylusPoints/My Project/Settings.Designer.vb: Generated file
  • snippets/visualbasic/VS_Snippets_Wpf/UIAISelectionProvider_ISelectionItemProvider_snip/visualbasic/providerform.designer.vb: Generated file

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM

@gewarren
gewarren merged commit 086f8f2 into dotnet:main Aug 3, 2026
6 of 7 checks passed
@gewarren
gewarren deleted the delete-vb-netfx-projects branch August 3, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants