Wednesday, June 12, 2019

research project on plot library

research project on plot library

    when convert Nplot project from sourceforge, I tried to load this project into VS 2017. surely it got a lot of error. I opebed csharp project file, removed two imports statement because it needs MSBEE to build targeting version 1.1 framework. then I got first error and overcome like following. then I added back one import statement from the following suggestion. it works. continue to build this project. then I got the second error. so I searched and find the second link for my new error.

  1. Target “build” does not exist in the project for Visual Studio
  2. the second error is fixed from the link below. I give a new snk file.:

  3. Build error when signing with snk key
  4. Incorrect warning CS1616: Option 'CryptoKeyFile' overrides attribute 'System.Reflection.AssemblyKeyFileAttribute' given in a source file or added module #10339
  5. I build this project again and look at bin folder. this folder contains few subfolder. to make it simple, I just keep bin folder, removed all subfolders. also update project property page, set output folder to "bin\debug\" only. I build it for debug mode, it works as expected. in release mode, I have to update this property page again to "bin\release\" only.

    when I try to load demo project, I moved it up and change folder name to nplot-demo. load it into VS 2017, failed. I opened csproj file and removed the following three imports statements and building still failed. so to be short, I create a brand new WinForm project, and load orginial files one by one

    then I have an error to use resource file. after research, I got the following few links. to summarize, there are two ways to use resource files. one is to add resource files into project, then set build action to "embedded resource". it looks like this demo project is using this approach. but it can not get the right reference from resource files. so I need to dig further.

  6. C#'s GetManifestResourceStream Gotcha
  7. How to read embedded resource text file: this is the most recent version of Visual Studio
  8. a working resolution is from dtb in the above link. I summarize here:

    You can use the Assembly.GetManifestResourceStream Method:
    Add the following usings
    using System.IO; using System.Reflection; Set property of relevant file: Parameter Build Action with value Embedded Resource Use the following code
    var assembly = Assembly.GetExecutingAssembly(); var resourceName = "MyCompany.MyProduct.MyFile.txt"; using (Stream stream = assembly.GetManifestResourceStream(resourceName)) using (StreamReader reader = new StreamReader(stream)) { string result = reader.ReadToEnd(); }
    resourceName is the name of one of the resources embedded in assembly. For example, if you embed a text file named "MyFile.txt" that is placed in the root of a project with default namespace "MyCompany.MyProduct", then resourceName is "MyCompany.MyProduct.MyFile.txt". You can get a list of all resources in an assembly using the Assembly.GetManifestResourceNames Method.

  9. Visual Studio : can't find “resource file” in list of items to add to project
  10. How to use resource files in your C# WPF project
  11. Adding Files to Visual Studio Projects
  12. 10 ways to make your .NET projects play nice with others
  13. Working with .resx files programmatically
  14. how to use comboBox control

  15. ComboBox In C#
  16. quick introduction to NPlot in PDF
  17. NPlot on GitHub
  18. Generate graph using Nplot
  19. NPlot on github
  20. NPlot Charting Library
  21. NPlot Charting Library
  22. NPlot is an open source charting library for .NET. It boasts an elegant and flexible API. NPlot includes controls for Windows.Forms, ASP.NET and a class for creating Bitmaps. A GTK# control is also available.

  23. NPlot Documentation
  24. SDK stable documentation
  25. NPlot Documented Class Library: it is the same as above link
  26. hwthomas/NPlot
  27. NPLOT Home Page
  28. Windows Developer Power Tools:

  29. Creating a Mechanical Trading System Part 1: Technical Indicators
  30. Comparing .NET chart solutions for web-applications
  31. Volume Weighted Average Price (VWAP) Algorithm
  32. A Simple Moving Average Algorithm
  33. A Simple Moving Average Algorithm
  34. Time moving average
  35. Precise and safe calculation method for the average of large integer arrays
  36. IEnumerable Interface
  37. Simple Moving Average
  38. cheind-blog-files:simple moving average
  39. Move Controls on a Form at Runtime
  40. Move and Resize Controls on a Form at Runtime (With Mouse)
  41. 食管癌会偷袭8类人
  42. 我与反流性食管炎抗争的日子!
  43. 反流性食管炎
  44. 沙棘果油正品口服 野生新疆天然滋补保健品60粒 沙棘油软胶囊正品
  45. 沙棘果油软胶囊瑞典buckthorn正品天然养胃护心脏护肝500mg/粒
  46. Membra Femin Forte 120 capsules

No comments:

Post a Comment