<?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: Call a DLL written in .NET Core in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4251745#M1237174</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/242918"&gt;@samsi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there any roadmap when does Labview support .Net Core Framework?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes! It's not LabVIEW only but for the new Test WorkFlow suite which also contains LabVIEW.&amp;nbsp;&lt;A href="https://www.ni.com/en/shop/labview/labview-plus-suite.html" target="_blank" rel="noopener"&gt;https://www.ni.com/nl-nl/shop/electronic-test-instrumentation/what-is-test-workflow.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check halfway down for the Test WorkFlow Roadmap link. &lt;A href="https://www.ni.com/content/dam/web/pdfs/test-workflow-roadmap.pdf" target="_self"&gt;Download the Roadmap!&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In there it says that .Net Core support is on the roadmap but not for the next 1 or 2 releases, where NI considers the yearly platform release and the intermediate Service Pack release as independent releases. So with 2022 out, 2022 SP1 coming out around begin of next year and 2023 later that year, it is a little ambitious to expect it to appear in 2023 but likely to come in 2024. NI knows it is an important item, but it is quite a little more than just throwing a compile switch somewhere, especially if they want to do the work so it won't just add .Net Core capability to the Windows version (without disallowing .Net Framework support which would be a backwards compatibility nightmare) but also allow .Net Core use on Mac and Linux.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 02:08:36 GMT</pubDate>
    <dc:creator>rolfk</dc:creator>
    <dc:date>2024-03-13T02:08:36Z</dc:date>
    <item>
      <title>Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021415#M1151023</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;I'm trying in windows 10, LV2019 to call a DLL written in .NET Core. When I select the dll file in "Constructor Node", only the text "an error occurred trying to load the assembly" is displayed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have no problem calling a DLL written in .NET framvwork.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have an idea why?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 14:58:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021415#M1151023</guid>
      <dc:creator>NiklasS</dc:creator>
      <dc:date>2020-03-06T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021457#M1151039</link>
      <description>&lt;P&gt;In my somewhat limited experience with NET Core, usually it's due to missing dependencies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try putting your DLL's path into this code as the input:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="List NET DLL dependencies.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/f45973d3f272484b80c67fa1ee8a3c5082aae4ca/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32363335373869313545384230343743303230424236422f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="List NET DLL dependencies.png" alt="List NET DLL dependencies.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will get a list of all dependencies, then filter it for ones it can't load.&amp;nbsp; You can then find the DLLs missing and either put them in the same directory as the not-working DLL, or if you can find an installer, install them into the GAC on the PC in question.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 17:03:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021457#M1151039</guid>
      <dc:creator>Kyle97330</dc:creator>
      <dc:date>2020-03-06T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021516#M1151055</link>
      <description>&lt;P&gt;thanks for your reply.&lt;/P&gt;
&lt;P&gt;But the dll that I want to call is a simple "hello world" dll library with one simple class that only has one method that returns a "hello world" string.&lt;/P&gt;
&lt;P&gt;It is my colleague who is a .net developer who wants to start using .Net Core instead of the .net framework in future projects. He usually writes backend in .net in our projects.&lt;/P&gt;
&lt;P&gt;So, it is he who has made the .dll and there is no dependency on other dll:s.&lt;/P&gt;
&lt;P&gt;If anyone has Microsoft Visual Studio. Try to build a simple DLL in C# with .NET Core that you then call in LabVIEW and share your experience. I have searched but found no example&lt;/P&gt;
&lt;P&gt;All thoughts are gratefully received.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 20:27:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021516#M1151055</guid>
      <dc:creator>NiklasS</dc:creator>
      <dc:date>2020-03-06T20:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021553#M1151066</link>
      <description>&lt;P&gt;Did you actually try the check for dependencies or did you just assume there would be none because that's what the developer claimed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DLL I had to use that was made with Core included a bunch of&amp;nbsp;Microsoft.Extensions.* dependencies even though the dev didn't actively use them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if it doesn't have any dependencies, seeing if the "LoadFrom" and "GetReferencedAssemblies" nodes produce any errors in LabVIEW might reveal helpful information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, are you on the most recent rev of Windows 10 (1909) that includes .NET framework 4.8?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 22:38:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4021553#M1151066</guid>
      <dc:creator>Kyle97330</dc:creator>
      <dc:date>2020-03-06T22:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022012#M1151270</link>
      <description>&lt;P&gt;thank you for your thoughts.&lt;BR /&gt;I'm sitting on a Windows 10 Pro 1903&lt;BR /&gt;.NET Framework 4.0.30319&lt;/P&gt;
&lt;P&gt;"List NET DLL dependencies.vi" shows the attached image.&lt;/P&gt;
&lt;P&gt;I think I have an old .NET Framework. since it looks like it was built in 4.2.2.0.&lt;/P&gt;
&lt;P&gt;I will update my .NET and try again.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 13:23:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022012#M1151270</guid>
      <dc:creator>NiklasS</dc:creator>
      <dc:date>2020-03-09T13:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022045#M1151279</link>
      <description>&lt;P&gt;Now I have downloaded and installed Visual Studio 2019.&lt;BR /&gt;Made my own test library (LLB) in both .NET Framework and .NET Core&lt;BR /&gt;It works well to load the .NET Framework dll into LabVIEW&lt;BR /&gt;But not .NET Core dll.&lt;BR /&gt;Why it's like this.&lt;BR /&gt;I have zipped all the source code and attached it. (for now LabVIEW 2016 so that more can open )&lt;/P&gt;
&lt;P&gt;Gladly take your thoughts.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 14:58:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022045#M1151279</guid>
      <dc:creator>NiklasS</dc:creator>
      <dc:date>2020-03-09T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022359#M1151407</link>
      <description>&lt;P&gt;Hello Niklas,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately,&amp;nbsp;LabVIEW does not support .NET Core assemblies due to the reason that&amp;nbsp;&lt;SPAN&gt;LabVIEW uses the .NET Framework/CLR 4.0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Based on this link&amp;nbsp;&lt;A href="https://www.ni.com/docs/en-US/bundle/labview/page/requirements-for-using-net-assemblies-in-labview.html" target="_self"&gt;Requirements for Using .NET Assemblies in LabVIEW&lt;/A&gt;,&amp;nbsp;LabVIEW has access to the class library assemblies associated with the .NET CLR 4.0, which installs with LabVIEW.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Since LabVIEW uses the .NET Framework, It can load assemblies built for .NET Standard or .NET Framework; here's a nice visual from this &lt;A href="https://devblogs.microsoft.com/dotnet/introducing-net-standard/" target="_self"&gt;MSDN post.&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if you have any questions. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dalia R.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 02:08:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022359#M1151407</guid>
      <dc:creator>DaSh</dc:creator>
      <dc:date>2024-03-13T02:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022361#M1151408</link>
      <description>&lt;P&gt;Ok, thanks for the information and your help.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 10:42:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4022361#M1151408</guid>
      <dc:creator>NiklasS</dc:creator>
      <dc:date>2020-03-10T10:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4251456#M1237073</link>
      <description>&lt;P&gt;Is there any roadmap when does Labview support .Net Core Framework?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 08:14:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4251456#M1237073</guid>
      <dc:creator>samsi</dc:creator>
      <dc:date>2022-08-25T08:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Call a DLL written in .NET Core</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4251745#M1237174</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/242918"&gt;@samsi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there any roadmap when does Labview support .Net Core Framework?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes! It's not LabVIEW only but for the new Test WorkFlow suite which also contains LabVIEW.&amp;nbsp;&lt;A href="https://www.ni.com/en/shop/labview/labview-plus-suite.html" target="_blank" rel="noopener"&gt;https://www.ni.com/nl-nl/shop/electronic-test-instrumentation/what-is-test-workflow.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check halfway down for the Test WorkFlow Roadmap link. &lt;A href="https://www.ni.com/content/dam/web/pdfs/test-workflow-roadmap.pdf" target="_self"&gt;Download the Roadmap!&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In there it says that .Net Core support is on the roadmap but not for the next 1 or 2 releases, where NI considers the yearly platform release and the intermediate Service Pack release as independent releases. So with 2022 out, 2022 SP1 coming out around begin of next year and 2023 later that year, it is a little ambitious to expect it to appear in 2023 but likely to come in 2024. NI knows it is an important item, but it is quite a little more than just throwing a compile switch somewhere, especially if they want to do the work so it won't just add .Net Core capability to the Windows version (without disallowing .Net Framework support which would be a backwards compatibility nightmare) but also allow .Net Core use on Mac and Linux.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 02:08:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Call-a-DLL-written-in-NET-Core/m-p/4251745#M1237174</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2024-03-13T02:08:36Z</dc:date>
    </item>
  </channel>
</rss>

