From 14325992c05c0066cff9125b7f83d408291d1230 Mon Sep 17 00:00:00 2001 From: Giannnnnn Date: Thu, 30 Oct 2025 14:30:53 -0300 Subject: [PATCH] chore(csharp): bump .NET Framework from 4.5.2 to 4.8 across examples\n\n- Update TargetFrameworkVersion to v4.8 for all C# projects\n- Align App.config supportedRuntime to .NETFramework,Version=v4.8\n- Update bootstrapper metadata where present\n- Expand repo-wide .gitignore for VS/.NET, Unity, Node.js, Python, Qt, OS files\n- Docs: note 4.8 requirement in csharp/README.md\n- Release notes: add 2025-10-30 entry with compatibility notes --- .gitignore | 78 +++++++++++++++++-- ReleaseNotes.md | 7 ++ csharp/BandPowerLogger/App.config | 2 +- csharp/BandPowerLogger/BandPowerLogger.csproj | 2 +- csharp/CortexAccess/App.config | 2 +- csharp/CortexAccess/CortexAccess.csproj | 6 +- csharp/EEGLogger/App.config | 2 +- csharp/EEGLogger/EEGLogger.csproj | 2 +- csharp/FacialExpressionTraining/App.config | 2 +- .../FacialExpressionTraining.csproj | 2 +- csharp/InjectMarker/App.config | 2 +- csharp/InjectMarker/InjectMarkers.csproj | 2 +- .../MentalCommandTraining.csproj | 2 +- csharp/MotionLogger/App.config | 2 +- csharp/MotionLogger/MotionLogger.csproj | 2 +- csharp/PMLogger/App.config | 2 +- csharp/PMLogger/PMLogger.csproj | 6 +- csharp/README.md | 2 +- csharp/RecordData/App.config | 2 +- csharp/RecordData/RecordData.csproj | 2 +- 20 files changed, 102 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index fd014a1..19d2a95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,81 @@ -*.pro.user +### OS junk .DS_Store -venv -cortex_creds -**__pycache__** +Thumbs.db +ehthumbs.db +Icon? + +### General logs +*.log +logs/ + +### Python +__pycache__/ +**/__pycache__/** +*.py[cod] +*.pyo +.venv/ +venv/ +.env +.env.* +.pytest_cache/ +.mypy_cache/ +.coverage + +### Node.js +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +### Visual Studio /.NET +.vs/ +[Bb]in/ +[Oo]bj/ +*.user +*.suo +*.userosscache +*.sln.docstates +TestResult*/ +*.Cache +*.ide +*.pdb +*.mdb +*.nupkg +*.snupkg +packages/* +!packages/build/ +!packages/repositories.config +csharp/packages/ + +### Qt/C++ +*.pro.user* +*.qmake.stash +build-*/ +*.o +*.obj +*.dll +*.lib +*.exp +*.ilk +*.pdb +Makefile* +moc_* +ui_* +qrc_* + +### Unity unity/*.sln unity/*.csproj unity/Library/ unity/Tmp/ -Temp/ +unity/Temp/ +unity/Obj/ +unity/Build/ +unity/Logs/ +unity/UserSettings/ unity/*.userprefs unity/*.unityproj + +### Project-specific +cortex_creds *build-* diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 55e33cc..cd23f42 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,12 @@ # Release Notes +## 30th October, 2025 +- C#: Updated all C# projects to target .NET Framework 4.8 (CortexAccess, EEGLogger, BandPowerLogger, MotionLogger, PMLogger, FacialExpressionTraining, InjectMarker, RecordData, MentalCommandTraining). +- Updated App.config in each C# project to set `` and adjusted bootstrapper metadata to .NET 4.8 where present. +- Documentation: `csharp/README.md` now lists .NET Framework 4.8 (or newer) as the requirement. +- Repo hygiene: Expanded top-level `.gitignore` to exclude common build artifacts and caches for Visual Studio/.NET, Unity, Node.js, Python, Qt/Qt Creator, and OS junk files. +- Compatibility note: No code-level breaking changes are expected with the move to .NET 4.8. Developer machines should have the .NET Framework 4.8 Developer Pack to build; target machines require the .NET Framework 4.8 runtime. Cortex service continues to require TLS 1.2+; ensure the Emotiv root CA is trusted locally if you encounter TLS trust issues on `wss://localhost:6868`. + ## 30th November, 2022 - Add Emotiv's self-signed certificate rootCA.pem - Update python example to use the Emotiv's self-signed certificate when open a secure Websocket connection to Emotiv Cortex Websocket diff --git a/csharp/BandPowerLogger/App.config b/csharp/BandPowerLogger/App.config index 7c2403f..06c8138 100644 --- a/csharp/BandPowerLogger/App.config +++ b/csharp/BandPowerLogger/App.config @@ -1,7 +1,7 @@  - + diff --git a/csharp/BandPowerLogger/BandPowerLogger.csproj b/csharp/BandPowerLogger/BandPowerLogger.csproj index 20da5ea..60e9014 100644 --- a/csharp/BandPowerLogger/BandPowerLogger.csproj +++ b/csharp/BandPowerLogger/BandPowerLogger.csproj @@ -9,7 +9,7 @@ Properties BandPowerLogger BandPowerLogger - v4.5.2 + v4.8 512 true diff --git a/csharp/CortexAccess/App.config b/csharp/CortexAccess/App.config index 7c2403f..06c8138 100644 --- a/csharp/CortexAccess/App.config +++ b/csharp/CortexAccess/App.config @@ -1,7 +1,7 @@  - + diff --git a/csharp/CortexAccess/CortexAccess.csproj b/csharp/CortexAccess/CortexAccess.csproj index a27404c..2e0342d 100644 --- a/csharp/CortexAccess/CortexAccess.csproj +++ b/csharp/CortexAccess/CortexAccess.csproj @@ -9,7 +9,7 @@ Properties CortexAccess CortexAccess - v4.5.2 + v4.8 512 true publish\ @@ -92,9 +92,9 @@ - + False - Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + Microsoft .NET Framework 4.8 %28x86 and x64%29 true diff --git a/csharp/EEGLogger/App.config b/csharp/EEGLogger/App.config index 7c2403f..06c8138 100644 --- a/csharp/EEGLogger/App.config +++ b/csharp/EEGLogger/App.config @@ -1,7 +1,7 @@  - + diff --git a/csharp/EEGLogger/EEGLogger.csproj b/csharp/EEGLogger/EEGLogger.csproj index 4b07f51..fb28cb1 100644 --- a/csharp/EEGLogger/EEGLogger.csproj +++ b/csharp/EEGLogger/EEGLogger.csproj @@ -9,7 +9,7 @@ Properties EEGLogger EEGLogger - v4.5.2 + v4.8 512 true diff --git a/csharp/FacialExpressionTraining/App.config b/csharp/FacialExpressionTraining/App.config index 88fa402..75a9127 100644 --- a/csharp/FacialExpressionTraining/App.config +++ b/csharp/FacialExpressionTraining/App.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/csharp/FacialExpressionTraining/FacialExpressionTraining.csproj b/csharp/FacialExpressionTraining/FacialExpressionTraining.csproj index b8a2eb3..a2c4971 100644 --- a/csharp/FacialExpressionTraining/FacialExpressionTraining.csproj +++ b/csharp/FacialExpressionTraining/FacialExpressionTraining.csproj @@ -9,7 +9,7 @@ Properties FacialExpressionTraining FacialExpressionTraining - v4.5.2 + v4.8 512 true diff --git a/csharp/InjectMarker/App.config b/csharp/InjectMarker/App.config index 88fa402..75a9127 100644 --- a/csharp/InjectMarker/App.config +++ b/csharp/InjectMarker/App.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/csharp/InjectMarker/InjectMarkers.csproj b/csharp/InjectMarker/InjectMarkers.csproj index fd4b381..18cd023 100644 --- a/csharp/InjectMarker/InjectMarkers.csproj +++ b/csharp/InjectMarker/InjectMarkers.csproj @@ -9,7 +9,7 @@ Properties InjectMarker InjectMarker - v4.5.2 + v4.8 512 true diff --git a/csharp/MentalCommandTraining/MentalCommandTraining.csproj b/csharp/MentalCommandTraining/MentalCommandTraining.csproj index 45831f6..e043cdb 100644 --- a/csharp/MentalCommandTraining/MentalCommandTraining.csproj +++ b/csharp/MentalCommandTraining/MentalCommandTraining.csproj @@ -9,7 +9,7 @@ Properties MentalCommandTraining MentalCommandTraining - v4.5.2 + v4.8 512 true diff --git a/csharp/MotionLogger/App.config b/csharp/MotionLogger/App.config index 7c2403f..06c8138 100644 --- a/csharp/MotionLogger/App.config +++ b/csharp/MotionLogger/App.config @@ -1,7 +1,7 @@  - + diff --git a/csharp/MotionLogger/MotionLogger.csproj b/csharp/MotionLogger/MotionLogger.csproj index 70b7f9a..507e1fa 100644 --- a/csharp/MotionLogger/MotionLogger.csproj +++ b/csharp/MotionLogger/MotionLogger.csproj @@ -9,7 +9,7 @@ Properties MotionLogger MotionLogger - v4.5.2 + v4.8 512 true diff --git a/csharp/PMLogger/App.config b/csharp/PMLogger/App.config index 7c2403f..06c8138 100644 --- a/csharp/PMLogger/App.config +++ b/csharp/PMLogger/App.config @@ -1,7 +1,7 @@  - + diff --git a/csharp/PMLogger/PMLogger.csproj b/csharp/PMLogger/PMLogger.csproj index abdde89..126f313 100644 --- a/csharp/PMLogger/PMLogger.csproj +++ b/csharp/PMLogger/PMLogger.csproj @@ -9,7 +9,7 @@ Properties PMLogger PMLogger - v4.5.2 + v4.8 512 true publish\ @@ -79,9 +79,9 @@ - + False - Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + Microsoft .NET Framework 4.8 %28x86 and x64%29 true diff --git a/csharp/README.md b/csharp/README.md index 572445e..89d312b 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -7,7 +7,7 @@ This repository provides C# console applications that demonstrate how to use the ### Requirements - **Visual Studio 2019 or newer** (Community/Professional/Enterprise) -- **.NET Framework 4.7.2 or newer** +- **.NET Framework 4.8 or newer** - **C# compiler**: Use the default provided by Visual Studio - **NuGet Packages** (install via NuGet Package Manager): - `Newtonsoft.Json` diff --git a/csharp/RecordData/App.config b/csharp/RecordData/App.config index 88fa402..75a9127 100644 --- a/csharp/RecordData/App.config +++ b/csharp/RecordData/App.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/csharp/RecordData/RecordData.csproj b/csharp/RecordData/RecordData.csproj index b6160ee..c4ef14f 100644 --- a/csharp/RecordData/RecordData.csproj +++ b/csharp/RecordData/RecordData.csproj @@ -9,7 +9,7 @@ Properties RecordData RecordData - v4.5.2 + v4.8 512 true