Fixed an IndexOutOfRangeException in the compiler when analyzers and .editorconfig files are used (#2098)
Fixed an issue with _DLL FUNCTION with PSZ arguments in .Net 5 or later (#2097)
Fixes two issues when including C# files in the source files for X# (#2151 and #2153)
+
Fixed an issue when assigning a lambda expression to a variable declared as USUAL or OBJECT. A lambda without a real target type is now converted to its natural delegate type (Func<...> or Action<...>) first and that delegate is then converted to the destination type
+
Fixed random XS0266, XS1503 and XS0121 errors when compiling with /vo4 caused by the SuppressVo4 setting being shared between compiler threads (#2173)
Build System
@@ -44,6 +46,7 @@
Output folders are now excluded from the default globs
Prevent automatic setting from Windows platform for SDK projects
The Rules folder with XAML files is now included to support the new Rules based property dialog for SDK style projects
+
The shared compiler is no longer started inside Visual Studio, so XsCompiler.exe is not locked by the IDE
RuntimeNew Features
@@ -55,6 +58,7 @@
Added _TALLY support for COUNT, REPLACE, DELETE, RECALL, SUM and AVERAGE (#2062, #2074)
Expanded VFP database support with CLOSE DATABASES/CLOSE TABLES and DBC commands such as ADD TABLE, REMOVE TABLE and RENAME TABLE, plus support for long DBC field names
Expanded XSharp.VFP.UI with ON KEY LABEL support, FormSet constructors, additional control properties, dynamic colors, and broader Grid and Menu support
+
Implemented the VFP functions CNTBAR() and CNTPAD() (#2172)
Bug Fixes
@@ -76,6 +80,10 @@
SET EXACT ON in the VFP Dialect now ignores trailing blanks (#2160)
CURDIR() in the VFP dialect returns the directory formatted as in VFP (#2160)
Fixed STRTOFILE() additive clause for files that do not exist (#2160)
+
DELETE FROM without a WHERE clause now deletes every record (#2167)
+
CursorAdapter.DataSource in XSharp.VFP.UI now accepts non-string values (#2169)
+
DELETE and RECALL with the IN clause now accept the clauses in any order (#2174)
+
SET PATH TO with the ADDITIVE clause now adds the folders to the existing path (#2175)
Visual Studio IntegrationNew Features
@@ -95,6 +103,10 @@
Added support for Renaming types and members (#2154)
Added support for Navigate To (Ctrl-T) for types and members (#2155) (only in VS2022 and later)
Added support for Goto Implementation types and members (#2156)
+
Added Inlay hints for parameter names and VAR types (#2164)
+
Added Quick actions to add a USING statement, generate a method, generate overrides and convert a field to a property (#2166)
+
Goto Definition now also works for types and members in the C# and VB projects of the solution. F12 picks the correct overload (#2170)
+
The Code Search window (Ctrl-T) now shows a preview for X# results and the preview no longer takes the focus (#2171)
Bug Fixes
@@ -111,6 +123,13 @@
For multi-targeting projects Goto Definition could show the same definition twice. This has been solved
Fixed some issues when switching between Sqlite databases engines for the intellisense database. We now delete the database after changing the engine, so it will be rebuilt when the solution is reloaded.
Fixed an issue with Goto Definition for partial classes in other projects (#2110)
+
Fixed the Find References target selection after combining Find All References and Goto Implementation (#2161)
+
The Rename dialog is now implemented in XAML and renaming a file in the project tree no longer throws an exception (#2163)
+
Fixed the WinForms Designer shadow project: form events are now migrated from C# to X#, stale references to the shadow designer project were removed and the C# form is saved to X# before debugging starts
+
SDK style projects now also add references to projects in other languages to the code model
+
The error squiggle now has the length of the token at the error position
+
Fixed an exception for an incomplete VAR statement
+
The IDE no longer uses EnvDTE to find the startup project
VFPExporterNew Features
diff --git a/docs/Help_ZH-CN/Topics/VersionHistory.xml b/docs/Help_ZH-CN/Topics/VersionHistory.xml
index cb7edf0c79..c2de3576e1 100644
--- a/docs/Help_ZH-CN/Topics/VersionHistory.xml
+++ b/docs/Help_ZH-CN/Topics/VersionHistory.xml
@@ -37,6 +37,8 @@
修复了 .NET 5 及更高版本中带 PSZ 参数的 _DLL FUNCTION 相关问题(#2097)