Search found 83 matches

by VR
Mon Nov 18, 2024 9:15 pm
Forum: Chit-Chat
Topic: SBOM generation for X# Solutions with cyclonedx-dotnet
Replies: 0
Views: 175

SBOM generation for X# Solutions with cyclonedx-dotnet

Hi, SBOM stands for Software Bill of Materials and is a standard file format for project dependencies. Cyclonedx-dotnet is a command-line tool, that creates this file by extracting the information about all the nuget packages in a dotnet solutions. Starting with version 4.1.0, X# projects are ...
by VR
Tue May 28, 2024 9:40 am
Forum: Product
Topic: Windows on ARM and X#
Replies: 3
Views: 643

Re: Windows on ARM and X#

Aside from the laptops, that were announced, there a developer kit, directly from Qualcomm. It can be pre-ordered now and should be available on June 18.

https://www.qualcomm.com/news/releases/ ... -snapdrago

Could be a nice device for tests.
by VR
Wed May 22, 2024 12:36 pm
Forum: Product
Topic: VS 2017 Debugger from c# Solution "The X# runtime is NOT loaded"
Replies: 13
Views: 1401

Re: VS 2017 Debugger from c# Solution "The X# runtime is NOT loaded"

You could try to migrate from VS 2017 to VS 2019.
by VR
Wed Feb 28, 2024 9:10 am
Forum: Product
Topic: Native image generation
Replies: 4
Views: 975

Re: Native image generation

NGen helps to reduce the start time of the application. Here's a blogpost from microsoft and a tutorial from devexpress: https://devblogs.microsoft.com/dotnet/an-easy-solution-for-improving-app-launch-performance/ https://docs.devexpress.com/GeneralInformation/400286/build-deploy/reduce-application ...
by VR
Fri Nov 24, 2023 9:43 am
Forum: 3rd party products
Topic: Poorer performance compared to VO to X# when using the bBrowser
Replies: 4
Views: 2200

Re: Poorer performance compared to VO to X# when using the bBrowser

One benefit of using dotnet is, that you can use a Performance Profiler... Visual Studio has one, which is quite good. https://learn.microsoft.com/en-us/visualstudio/profiling/beginners-guide-to-performance-profiling?view=vs-2022 I personally use DotTrace and DotMemory from JetBains. They are payed ...
by VR
Tue Nov 07, 2023 11:25 am
Forum: Deutsches Forum
Topic: Welche Version von Visual Studio ist für 2.18 zu empfehlen
Replies: 11
Views: 3657

Re: Welche Version von Visual Studio ist für 2.18 zu empfehlen

I remember an issue, that I created some time ago regarding the Winforms Designer in VS 2022 and 32Bit component libraries... https://github.com/X-Sharp/XSharpPublic/issues/959 So the combination of VS2022 (which is 64bit) + Winforms Designer + Components imported from a 32Bit assembly doesn't work ...
by VR
Wed Oct 11, 2023 8:38 am
Forum: Product
Topic: How to get an array with XML tags within only 1 node
Replies: 6
Views: 2620

Re: How to get an array with XML tags within only 1 node

Hi...

The "one-liner" for this operation is

Code: Select all

var posElements = doc.Root.Element("Zoom200")?.Elements("pos").Select(e => e.Value).ToArray() ?? Array.Empty<string>();
ChatGPT tends to write code in a more verbose way.
by VR
Tue Oct 10, 2023 8:03 am
Forum: Product
Topic: How to get an array with XML tags within only 1 node
Replies: 6
Views: 2620

Re: How to get an array with XML tags within only 1 node

Hi Dick var posElements = zoomElement.Elements("pos").Select(e => e.Value.ToArray()); e.Value is a string -> e.Value.ToArray() gives you every char of the string as array. Try this instead: var posElements = zoomElement.Elements("pos").Select(e => e.Value).ToArray(); Volkmar
by VR
Mon Oct 09, 2023 10:32 am
Forum: Product
Topic: How to get an array with XML tags within only 1 node
Replies: 6
Views: 2620

Re: How to get an array with XML tags within only 1 node

Hi, this is how ChatGPT would do it... using System; using System.Linq; using System.Xml.Linq; class Program { static void Main() { // Load the XML data from your file or string string xmlData = @"<?xml version=""1.0"" encoding=""utf-8"" standalone=""yes""?> <Doc> <Zoom200> <pos>10</pos> <pos>20 ...
by VR
Thu Aug 24, 2023 7:30 am
Forum: Welcome
Topic: X# Newbie
Replies: 4
Views: 2471

X# Newbie

Here's a GitHub Repo with some x# Examples, that show how to use dotnet classes.

​​​​​​​https://github.com/InfomindsAg/XSharpExamples