Hi All,
I don’t think this is specifically a WiseJ issue. but I was hoping someone had had some similar experience with Devexpress Reports and can offer some assistance.
Pre Version 3, I was able to quite easily add Devexpress Reports into my projects by simply adding a new report.
My project targets just 48 framework.
When I go to add the report now, Visual Studio complains about Devexpress.x.dll could not added to project.
I believe it has something to do with the Project type as that is the main difference I see when comparing a 2x versus a 3x WiseJ project. Projects that were created with 2x and then upgraded to 3x work fine. Just new projects created with 3x templates, I cant add the references.
Unfortunately I don’t know the specific terminology to use as to what the differences are in the project types which Im hoping someone can assist with.
To replicate, its is simply create a new WiseJ 3 project, then right click and try to add a Devexpress Report.
Thanks in advance,
Brayden.
My guess is that the “Devexpress.x.dll could not added to project” error comes from the project trying to reference an assembly directly- either the assembly doesn’t exist, or it’s looking in the wrong place for it.
Possible solutions:
1. Instead of adding the assembly directly, add the Nuget package for DevExpress.
In Visual Studio, in the Solution Explorer, right-click on the project (ie “WisejWebApplication1”) and choose “Manage NuGet packages.
Go to the “Browse” tab and search for “wisej devexpress”. Select the “Wisej-3-DevExtreme” NuGet package and install it.
2. Manually add the assembly reference
Right-click on “Dependencies”
Choose “Add Assembly reference”
Choose “Browse”
Navigate to the folder on your computer containing Devexpress.x.dll and select it.
As for the terminology for the difference in project types, you will find it helpful to look at the .csproj file.
You can open the .csproj file by right-clicking on the project (ie “WisejWebApplication1”) in the Solution Explorer. Then choose “Edit Project file”
You might find this helpful: https://docs.wisej.com/docs/releases/whats-new-in-3.0/update-existing-projects
Please login first to submit.