<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13000433#M2746</link>
    <description>&lt;P&gt;I do not think you need to bother replacing&amp;nbsp;&lt;SPAN&gt;Microsoft.CodeAnalysis dll at all. It is dependency of the ReportViewerCore.WinForms Package, which comes with many other dependencies. As long as you make sure these dependencies are outputted into the same folder as the plugin DLL with either &lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;&amp;lt;CopyLocalLockAssemblies&amp;gt;true&amp;lt;CopyLocalLockAssemblies/&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;&amp;lt;EnableDynamicLoading&amp;gt;true&amp;lt;/EnableDynamicLoading&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Since you also use System.Data.OldDb package, you MUST ALSO add&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;win-x64&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a quick test with a static report (i.e. no data source, no database connection) to simply prove the ReportViewerCore.WinForms package load OK with AutoCAD 2025.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the report design (*.rdlc file) with only a static TextBox:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_0-1725457333097.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405646i7C1D76AD3B19B75F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_0-1725457333097.png" alt="normanyuan_0-1725457333097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the Report1.rcdl file is set its "Copy to output directory" property to "Copy if newer"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the WinForm's code behind:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;using Microsoft.Reporting.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MsDataReport
{
    public partial class ReportDialog : Form
    {
        private ReportViewer _reportViewer;
        public ReportDialog()
        {
            InitializeComponent();
            _reportViewer=reportViewer1 as ReportViewer;
            _reportViewer.Dock = DockStyle.Fill;
        }

        private void ReportDialog_Load(object sender, EventArgs e)
        {
            _reportViewer.ProcessingMode = ProcessingMode.Local;
            this.Controls.Add( _reportViewer );

            using (var fs=new FileStream("Report1.rdlc", FileMode.Open))
            {
                _reportViewer.LocalReport.LoadReportDefinition(fs);
            }
            _reportViewer.RefreshReport();
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then this is the command method to open the report in AutoCAD:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;        [CommandMethod("ShowReport")]
        public static void RunReport()
        {
            var oked = false;
            using (var dlg = new ReportDialog())
            {
                CadApp.ShowModalDialog(CadApp.MainWindow.Handle, dlg, false);
            }
        }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the dialog form showing in AutoCAD:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_1-1725458025725.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405654iB2522890CF078993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_1-1725458025725.png" alt="normanyuan_1-1725458025725.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have proper data source setup, it should show data report content accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the output folder where the plugin dll is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_2-1725458614323.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405664i78053BB3E394907E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_2-1725458614323.png" alt="normanyuan_2-1725458614323.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the error you have is probably because you did not have&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;win-x64&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in project file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, if you are to do .NET API programming for AutoCAD 2025 or later/newer version, it is time to give up VB.NET and move on to C#. The earlier to do the transition, the better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 14:03:48 GMT</pubDate>
    <dc:creator>Norman_Yuan</dc:creator>
    <dc:date>2024-09-04T14:03:48Z</dc:date>
    <item>
      <title>AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/12996842#M2745</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The migration from Framework to Net 8.0 went smoothly, but it works well.&lt;/P&gt;&lt;P&gt;The only major error for me occurred when producing a report with Microsoft ReportViewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing.&lt;BR /&gt;Microsoft.Reporting.DefinitionInvalidException:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;The definition of the report '' is invalid.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.TypeLoadException: Method 'GetHashCode' in type 'Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions' from assembly 'Microsoft.CodeAnalysis.VisualBasic, Version=4.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;the Microsoft.CodeAnalysis dll in the Autocad 2025 folder is version 4.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Solution:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Replace Microsoft.CodeAnalysis version 4.0.0.0 with version 4.8.0.0, and add Microsoft.CodeAnalysis.VisualBasic, Version=4.8.0.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that when Autocad 2025 is run, this has no influence, but I don't like this replacement very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried for a long time to load a compatible dll or something without success. I have no experience in this kind of code.&lt;/P&gt;&lt;P&gt;I have no experience with this type of code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching a Test report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help...&lt;BR /&gt;*** Translated with &lt;A href="http://www.DeepL.com/Translator" target="_blank"&gt;www.DeepL.com/Translator&lt;/A&gt; (free version) ***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 04:46:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/12996842#M2745</guid>
      <dc:creator>DECH1074</dc:creator>
      <dc:date>2024-09-03T04:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13000433#M2746</link>
      <description>&lt;P&gt;I do not think you need to bother replacing&amp;nbsp;&lt;SPAN&gt;Microsoft.CodeAnalysis dll at all. It is dependency of the ReportViewerCore.WinForms Package, which comes with many other dependencies. As long as you make sure these dependencies are outputted into the same folder as the plugin DLL with either &lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;&amp;lt;CopyLocalLockAssemblies&amp;gt;true&amp;lt;CopyLocalLockAssemblies/&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;&amp;lt;EnableDynamicLoading&amp;gt;true&amp;lt;/EnableDynamicLoading&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Since you also use System.Data.OldDb package, you MUST ALSO add&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;win-x64&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a quick test with a static report (i.e. no data source, no database connection) to simply prove the ReportViewerCore.WinForms package load OK with AutoCAD 2025.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the report design (*.rdlc file) with only a static TextBox:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_0-1725457333097.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405646i7C1D76AD3B19B75F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_0-1725457333097.png" alt="normanyuan_0-1725457333097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the Report1.rcdl file is set its "Copy to output directory" property to "Copy if newer"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the WinForm's code behind:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;using Microsoft.Reporting.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MsDataReport
{
    public partial class ReportDialog : Form
    {
        private ReportViewer _reportViewer;
        public ReportDialog()
        {
            InitializeComponent();
            _reportViewer=reportViewer1 as ReportViewer;
            _reportViewer.Dock = DockStyle.Fill;
        }

        private void ReportDialog_Load(object sender, EventArgs e)
        {
            _reportViewer.ProcessingMode = ProcessingMode.Local;
            this.Controls.Add( _reportViewer );

            using (var fs=new FileStream("Report1.rdlc", FileMode.Open))
            {
                _reportViewer.LocalReport.LoadReportDefinition(fs);
            }
            _reportViewer.RefreshReport();
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then this is the command method to open the report in AutoCAD:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;        [CommandMethod("ShowReport")]
        public static void RunReport()
        {
            var oked = false;
            using (var dlg = new ReportDialog())
            {
                CadApp.ShowModalDialog(CadApp.MainWindow.Handle, dlg, false);
            }
        }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the dialog form showing in AutoCAD:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_1-1725458025725.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405654iB2522890CF078993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_1-1725458025725.png" alt="normanyuan_1-1725458025725.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have proper data source setup, it should show data report content accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the output folder where the plugin dll is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_2-1725458614323.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405664i78053BB3E394907E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_2-1725458614323.png" alt="normanyuan_2-1725458614323.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the error you have is probably because you did not have&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;win-x64&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;RuntimeIdentifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in project file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, if you are to do .NET API programming for AutoCAD 2025 or later/newer version, it is time to give up VB.NET and move on to C#. The earlier to do the transition, the better.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 14:03:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13000433#M2746</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2024-09-04T14:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13001831#M2747</link>
      <description>&lt;P&gt;Thank you Norman Yuan for your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your example works well but if you can spare some time, try placing a Parameter on your text area. For me, the error occurs when the parameter is defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;. (_reportViewer.LocalReport.SetParameters(parameters);)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SetParameter.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1405900i990DFCCAF8CE1039/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SetParameter.png" alt="SetParameter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards....&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 05:14:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13001831#M2747</guid>
      <dc:creator>DECH1074</dc:creator>
      <dc:date>2024-09-05T05:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13003790#M2748</link>
      <description>&lt;P&gt;Well, does the report design ("Report1.rdlc") have the parameter "Title" defined?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I added 2 parameters to the report design and show the values in 2 text boxes:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_1-1725573280815.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1406222i87B0AE0044A6B9EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_1-1725573280815.png" alt="normanyuan_1-1725573280815.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then I updated to code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;using Microsoft.Reporting.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MsDataReport
{
    public partial class ReportDialog : Form
    {
        private readonly ReportViewer _reportViewer;
        public ReportDialog()
        {
            InitializeComponent();
            _reportViewer=reportViewer1 as ReportViewer;
            _reportViewer.Dock = DockStyle.Fill;
        }

        private void ReportDialog_Load(object sender, EventArgs e)
        {
            _reportViewer.ProcessingMode = ProcessingMode.Local;
            this.Controls.Add( _reportViewer );

            using (var fs=new FileStream("Report1.rdlc", FileMode.Open))
            {
                _reportViewer.LocalReport.LoadReportDefinition(fs);
            }

            _reportViewer.LocalReport.SetParameters(
                new ReportParameter("Project", "XXXXXXXXXX", true));
            _reportViewer.LocalReport.SetParameters(
                new ReportParameter("StartDate", DateTime.Today.ToString("yyyy-MM-dd"), true));

            _reportViewer.RefreshReport();
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what the report shows in the AutoCAD plugin's dialog form:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="normanyuan_2-1725573452708.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1406223i3ABCB8532AAC8CEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="normanyuan_2-1725573452708.png" alt="normanyuan_2-1725573452708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I think the error you got is because the report design does not have the parameter defined as the first picture shows in my this reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 22:02:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13003790#M2748</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2024-09-05T22:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13004138#M2749</link>
      <description>&lt;P&gt;Bonjour&amp;nbsp;&lt;STRONG&gt;Norman Yuan,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you testing this code with Autocad 2025 (Net 8.0) or an earlier version, because I still get the same error?&lt;/P&gt;&lt;P&gt;Can you submit your project ?.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 04:19:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13004138#M2749</guid>
      <dc:creator>DECH1074</dc:creator>
      <dc:date>2024-09-06T04:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13004172#M2750</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Bonjour&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Norman Yuan,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah, Norman, excuse me, I see from the previous post that you're using 3D Civil 2025.&lt;/P&gt;&lt;P&gt;Here's my project attached....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Autocad 2025 French, and I've tested with an English version without success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Salutations...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 04:49:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13004172#M2750</guid>
      <dc:creator>DECH1074</dc:creator>
      <dc:date>2024-09-06T04:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13004222#M2751</link>
      <description>&lt;P&gt;Hello Norman Yuan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed 3d Civil 2025 in English and tested the code successfully.&lt;/P&gt;&lt;P&gt;In short, it is Autocad 2025 that seems to be the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards...&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 05:42:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13004222#M2751</guid>
      <dc:creator>DECH1074</dc:creator>
      <dc:date>2024-09-06T05:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13005279#M2752</link>
      <description>&lt;P&gt;Yes, I can verify that the reporting plugin runs OK with C3D/Map 2025, but runs into error with plain AutoCAD 2025.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the error reports that it has something to do with Microsoft.CodeAnalysis.VisualBasic.dll, which is included in the ReportViewerCore.WinForm Nuget package and is outputted in the AutoCAD plugin folder. So, I searched AutoCAD 2025 installation folder. I found This DLL in AutoCAD 2025's Vertical project folder (...\AutoCAD 2025\C3D[Map]), but not directly underneath the "...\AutoCAD 2025\" folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the ...\AutoCAD 2025\[Vertical]\" folder, there are these 4 dlls&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Miscrosoft.CodeAnalysis.dll&lt;/P&gt;
&lt;P&gt;Microsoft.CodeAnalysis.Scripting.dll&lt;/P&gt;
&lt;P&gt;Microsoft.CodeAnalysis.VisualBasic.dll&lt;/P&gt;
&lt;P&gt;Microsoft.CodeAnalysis.VisualBasic.Scripting.dll&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the ...\AutoCAD 2025\" folder, there are only 2 these files (i.e. 2 xxxx.Scripting.dll files do not exist):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Miscrosoft.CodeAnalysis.dll&lt;/P&gt;
&lt;P&gt;Microsoft.CodeAnalysis.VisualBasic.dll&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In comparison to the plugin's output folder (i.e. the dependency DLLs from the Nuget package are also included):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Miscrosoft.CodeAnalysis.dll&lt;/P&gt;
&lt;P&gt;Microsoft.CodeAnalysis.VisualBasic.dll&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I did this 2 tests:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. copy the 2 xxxx.scripting.dll files into ...\AutoCAD 2025\ folder and run the report plugin with plain AutoCAD 2025. It works and the error is gone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Copy the 2 xxxx.scripting.dll files into the plugin output folder (make sure the 2 files do not exist in the ...\AutoCAD 2025\ folder, as this is the AutoCAD 2025's original state), and run the report plugin with plain AutoCAD 2025. It also works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, the conclusion is that when the .NET8 runtime loads the report definition (*.rcdl file), it needs either Miscrosoft.CodeAnalysis,Scripting.dll or Microsoft.CodeAnalysis.VisualBasic.Scripting.dll, or both. However, the Nuget package somehow does not include the 2 xxxx.scripting.dll files, nor does the AutoCAD 2025 root installation folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd consider it is a bug from the NuGet package. You can simply find the 2 xxxx.scripting.dll files from "...\AutoCAD 2025\Map[Cad\ScaRuntime]" folder into the plugin's output/deployment folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 16:20:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13005279#M2752</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2024-09-06T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD 2025 .NET Core, Microsoft ReportViewer</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13006318#M2753</link>
      <description>&lt;P&gt;Many thanks Norman...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll take the 2nd solution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In conclusion :&lt;/P&gt;&lt;P&gt;I'm going to add these 3 files to my Plug-in folder&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-09-07 090407.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1406612i4E7CFEADDE920195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d'écran 2024-09-07 090407.png" alt="Capture d'écran 2024-09-07 090407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It now works perfectly well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the final version for other interested developers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2024 08:40:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-2025-net-core-microsoft-reportviewer/m-p/13006318#M2753</guid>
      <dc:creator>DECH1074</dc:creator>
      <dc:date>2024-09-07T08:40:20Z</dc:date>
    </item>
  </channel>
</rss>

