The '.vsrepx' report format has evolved from an attempt to adapt Visual Studio Report Designer for.NET Core projects.
Since v21.2, we introduced .cs
/ .vb
format support for our Visual Studio Designer for .NET Core and .NET 5+. The VSREPX format became obsolete, and we recommend the CS/VB format in Visual Studio.
The obsolete `.vsrepx' format does not include some features introduced later, such as inheritance support and custom controls. To take advantage of all our new features, you must use the CS/VB format.
This project contains sample code that can be used to convert several VSREPX files in a Visual Studio project into CS or VB report files. We advise you to study the suggested code, modify it if necessary, and use the code in your application.
To convert files, do the following:
-
Download the project files and give writing permissions to files and folders within the project.
-
Use Project Converter to convert solutions to the version that is installed on your machine.
-
Open the
ConvertVSRepx2Cs.sln
file. -
Add your VSREPX files to the
ClassLibrary1
project in the solution. -
Build the solution.
-
Open the
HostComponent
component in the Visual Studio and select theconverterComponent1
item in the designer. -
Open the Properties window for the
converterComponent1
item, and click theConvert
action link:
The Visual Studio Designer attempts to load a VSREPX file in the ClassLibrary1
project, converts a report to CS (VB) format, and saves the file to the Layout
folder. There is no progress indicator, so you should wait for several minutes.
The name of the project that the converter searches for VSREPX files, is specified by the ProjectName
variable in the Program.cs
file.
(you will be redirected to DevExpress.com to submit your response)