Search found 83 matches
- Mon Nov 18, 2024 9:15 pm
- Forum: Chit-Chat
- Topic: SBOM generation for X# Solutions with cyclonedx-dotnet
- Replies: 0
- Views: 80
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 ...
- Tue May 28, 2024 9:40 am
- Forum: Product
- Topic: Windows on ARM and X#
- Replies: 3
- Views: 601
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.
https://www.qualcomm.com/news/releases/ ... -snapdrago
Could be a nice device for tests.
- 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: 1258
Re: VS 2017 Debugger from c# Solution "The X# runtime is NOT loaded"
You could try to migrate from VS 2017 to VS 2019.
- Wed Feb 28, 2024 9:10 am
- Forum: Product
- Topic: Native image generation
- Replies: 4
- Views: 911
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 ...
- 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: 2134
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 ...
- 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: 3478
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 ...
- 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: 2536
Re: How to get an array with XML tags within only 1 node
Hi...
The "one-liner" for this operation is
ChatGPT tends to write code in a more verbose way.
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>();
- 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: 2536
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
- 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: 2536
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 ...
X# Newbie
Here's a GitHub Repo with some x# Examples, that show how to use dotnet classes.
https://github.com/InfomindsAg/XSharpExamples
https://github.com/InfomindsAg/XSharpExamples