visual studio 2019 not show add new item Report rdlc - wpf

I installed Microsoft Reporting Services Projects VS2019 extention and ssdt based on this link on vs 2019 : https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-ver15
I have wpf core project in vs 2019 , but when I right click and select add new item , there is not Report item to select. How can we add .rdlc file to wpf core project?

I found it , we have to install Microsoft RDLC Report Designer extention on VS 2019. Now I have Report and Report Wizard items in add new item.
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftRdlcReportDesignerforVisualStudio-18001

You have to install this component separately after installing 2019.
Once VS2019 is installed.. go to Tools -> Get tools and Features. Search for Reporting Services and install it.
Then you can create new SSRS projects

I had the same exact problem. Here is a workaround: Create an xml file containing the following minimal content. Then change the extension of the file from MyReport.xml to MyReport.rdlc in order to have rdlc extension.
<?xml version="1.0" encoding="utf-8"?>
<Report
xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition"
xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Width>6.5in</Width>
<Body>
<Height>2in</Height>
</Body>
<rd:ReportTemplate>true</rd:ReportTemplate>
<Page>
</Page>
</Report>
I came to this solution, after installing all suggested tools/templates, still could not view the option/button to add a rdlc tool.
Using this technique you can now open/edit the file in the reportViewer Designer inside Visual Studio 2019
PS: This solution applies to .net 5 projects, and .net core 3.1 projects also, has chance to work on .net core 2.x project (didn't test this last).

From Visual Studio
Extensions Menu => Manage Extensions => Search for RDLC =>Install => close and open your visual studio

Well.. after searching a lot, i installed Visual Studio 2015. create a winform project and added it to my Project in Visual Studio 2019
I can create datasets, rdlc report, just in this winform project, and then i add it to my wwwroot folder
My project, and the winform project at the bottom

Related

How to add app.config transform to a 4.8 Azure WebJob (.NET Framework) in VS 2022?

After creating a project using Azure WebJob (.NET Framework) template with 4.8.1 in VS2022, app.config transformations do not appear to be supported. The right-click to add the transform is not available. Also, hacking the csproj file to arrange transforms that are "DependentUpon" the app.config results in the correct appearance in the Solution Explorer, but build, debugging and publish do not result in any transformation taking place.
Microsoft Visual Studio Professional 2022 (64-bit) Version 17.4.4
Has anyone achieved this?
I have created Azure WebJob with .Net Framework 4.8.
Even I am unable to find the option to Add the Transform.
We have SlowCheetah Package to Transform xml and json files at build time based on the Configuration.
Close the Visual Studio before downloading the Package, to complete the download fast.
Download the SlowCheetah Package, restart the Visual Studio.
SlowCheetah for VS 2017 - 2019.
SlowCheetah for VS 2022.
I have Downloaded Package for VS 2022.
Now I am able to see the option to Add Transform.
Click on Yes to continue.
app.Debug.config and app.Release.config got added below the app.config file.

Adding data from SQLServer to XRLabels from DevExpress in VB NET using code

My DevExpress tools does not show on the toolbar and I cannot find a solution other than adding data using code. I have to create a Perscription Report for a veterinary so multiple tables are going to be used from the database.
If you have reinstalled Visual Studio or installed Visual Studio after the installation of our products, re-run our installer in Repair mode to register our toolbox items for that Visual Studio.
Refer this brief documentation to know that How to resolve issues with Toolbox items

How to create set up files for wpf application

How can I create set up file for WPF application ? I'm new to WPF applications and I don't have any idea about initializing this.Please help me !!
I advise you to use InnoSetup. It's a powerfull tools to make setup-wizard for all projects. You can create it easyly. And more features are available with it (icons file, registry management, associate file extension with application, desktop and start menu windows entry, and much more...)
I suggest you to go through below link if you are using VS 2010 and above-
CREATE SETUP AND DEPLOYMENT OF WPF APPLICATION STEP BY STEP WITH VISUAL STUDIO 2012
You need InstallShield packaging software to after Visual Studio 2008.
It will create a template to create deployment project, but you can
get the Visual Studio Installer Projects in VS 2010 and above , you
need to install the Visual Studio Installer Extension from the Visual
Studio Extension Gallery - Microsoft Visual Studio Installer
Projects
If you are using VS 2008 then it already have template to create setup project your WPF application. Just follow the below link to know that How use Setup Project..
Create Setup and Deployment of WPF Application Step by Step
#Hana's answer showing screenshot of the Setup Project, which is used in the VS 2008 to create the deployment package.
References:
Create an application setup in visual studio 2013
Visual Studio 2013 Installer Projects – Hello World Installer
Using VS 2008:
Add a Setup and Deployment project to the Solution
As soon as you add the project it opens the File Explorer view.
add Program File's Folder to our Setup project
add Primary output and other dependencies to Application Folder.
Select as displayed above.
Now we would add A folder to the Program Files Folder.
Now add the same as you did for the Application Folder.
add a Shortcut to User's Desktop.
Rebuild the Solution and then rebuild the Setup project.
Full help is here

What do I need to work with a Visual Studio .dtproj file?

I have a .sln file created in Visual Studio 2010:
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
This has a single Project which is a .dtproj file. The header of this file looks like:
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DeploymentModel>Project</DeploymentModel>
<ProductVersion>11.0.2100.60</ProductVersion>
<SchemaVersion>9.0.1.0</SchemaVersion>
I have VS 2010 Professional installed, but when I try to open this solution I get an error that the project type is not supported.
This machine also has VS2008, VS2012, and SQL Server 2008R2 with the BI Dev Studio.
What am I missing? How can I get support for this .dtproj project type?
You need to install the project extension for this purpose.
Here is the download link from marketplace.
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
After that you need to restart the visual studio and you should be open up the project without any issue.
Looks like MS has a solution for you (from Microsoft Support):
To resolve the issue in which you cannot open the project in SQL Server BIDS after you upgrade the project, follow these steps:
Create a new project that has the same name as the original BI project in a different directory by using SQL Server BIDS.
Add all relevant project items from the upgraded BI project folder. For example, for an Analysis Services project, add the .ds and .dsv files. For a Reporting Services project, add the .rds and .rdl files.
Save and then open the new BI project.
You can read more about it here.

How to open a WPF project with Blend in Visual Studio 2012?

I'm using Visual Studio 2012 Professional Edition and have a WPF project.
I'd like to open my WPF project with Blend but the option doesn't exist in my visual studio.
Should I install Blend separately? How can I make the option visible and enable it?
Look at this video: http://www.microsoft.com/en-us/showcase/details.aspx?uuid=ab9788fc-cd18-474a-942c-61754e9e428b
there is an "Open for Blend" option when right clicking on the project.
You can initiate a new instance of blend 2012 and open the corresponding project in that.. This is very basic.. is it not working?
I have had this same exact problem with using VS2013 Ultimate SP2.
It would appear that this only actually works when it's a Silverlight project, but once you open up Blend for Visual Studio you're able to go to File -> Open Project/Solution... and select the project you want to design with Blend.
As far as I am aware this is the only way to open Blend without looking through the VS 2012/2013 program folders. I have tried it several times with WPF (even right-clicking on specific XAML files) with no success.
This may have been fixed, so I will be updating VS2013 to the latest version (SP3) and update this answer with my findings.

Resources