Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: icsharpcode/CodeConverter

v10.0.1

01 Mar 14:14
@github-actions github-actions
63c7a2a
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

[10.0.1] - 2026年02月28日

  • Reintroduce legacy support for dotnet 8 and VS2022
  • Support slnx format 1195

VB -> C#

  • Fix for ReDim Preserve of array property - #1156
  • Fix for with block conversion with null conditional #1174
    Fixes #1195
Assets 7
Loading
Yani-ABDESSELAM reacted with rocket emoji
1 person reacted

v10.0.0

12 Feb 16:46
@GrahamTheCoder GrahamTheCoder
8f0eefb
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

[10.0.0] - 2026年02月06日

  • Support for net framework dropped. Please use an older version if you are converting projects that still use it.
  • dotnet 10 required to run codeconv command line tool
  • Improvements to codeconv tool to support converting newer dotnet versions

VB -> C#

  • Xor operator overloads now converted #1182
Loading

8.5.0

10 Apr 17:12
@GrahamTheCoder GrahamTheCoder
ce7aa37
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

[8.5.0] - 2022年04月10日

Known issue: In VS2017, right clicking a single file to convert in the solution explorer throws an error.
Workaround: Open the file, select its whole contents, right click and convert.

Vsix

  • Last version supporting VS2017 and some earlier VS2019 versions (15.7-16.9)

VB -> C#

  • Xml Namespace Imports now converted #836
  • Use explicit cast when integral numeric types are casted to enum #861
  • Correct inconsistent casing of event handlers #854

C# -> VB

[8.4.7] - 2022年03月12日

  • Command line no longer silently exits for dot net framework projects
  • Log messages now include timestamps

[8.4.6] - 2022年03月02日

Vsix

VB -> C#

  • Fix method arguments when calling a parametrized property with named arguments. #833
  • Fix access modifiers for explicit interface implementations. #819
  • Fix code generation for explicit interface implementations. #813
  • Add support for converting multiple selected files and folders. #485
  • Replace VB-specific library methods with idiomatic framework alternatives #814
  • Remove redundant break expressions in switch-case statements. #432
  • Generate out parameter instead of ref for implementations of external methods. #831
  • When passing a property ByRef, don't try to assign it back afterwards #843

C# -> VB

  • Improve snippet detection #825

[8.4.5] - 2022年01月26日

Vsix

  • Only trigger build for converted project where possible #816

VB -> C#

  • Convert Exit Try to a do while false loop with a break statement #779
  • Fix missing parenthesis for null coalescing operator #811
  • No longer throws NRE for VB Static variable without initializer. See comment on #623
  • Convert nested xml literals to new XElement #253

C# -> VB

[8.4.4] - 2022年01月09日

Vsix

VB -> C#

  • No longer throws NRE for embedded resources with no LastGenOutput #804
  • Append CompareMethod.Text for Strings methods when needed #655
  • Convert op_Implicit/op_Explicit calls to casts #678
  • Use Conversions.ToString when concatenating a DateTime with a string #806
  • Ensure named arguments are correctly named when followed by an omitted argument #808
  • Convert static variables into fields #623
  • Ensure query syntax join conditions are swapped to the necessary C# order #752
  • Convert nested exit statements to if statements #690

C# -> VB

  • More terse conversion in for loop with literal end value #798

[8.4.3] - 2021年12月23日

Vsix

VB -> C#

  • Convert extension methods on ByRef reference types to static invocations #785
  • Wire up events for WithEvents fields in an ancestor class #774
  • Only create delegating property for WithEvents fields if there is a known write usage or descendant class Due to feedback on #615

C# -> VB

[8.4.2] - 2021年12月11日

Vsix

  • Attempt to improve VS2017 compatibility

VB -> C#

  • Convert with blocks using structs to a local ref variable#634
  • Ensure xml-doc at start of file is kept #663

C# -> VB

[8.4.1] - 2021年10月02日

Vsix

VB -> C#

  • Convert VB exclamation mark into C# indexer #765
  • Deal with nullable bools in binary expressions #712
  • No longer tries to qualify type parameters (e.g. in generic delegates) #771

C# -> VB

[8.4.0] - 2021年09月05日

Vsix

  • VS2017 compatibility improvement
  • VS2022 Preview 3.1 compatibility

VB -> C#

C# -> VB

[8.3.1] - 2021年08月22日

Vsix

  • Provided workaround in options for some assembly loading issues #741

VB -> C#

  • Convert orderby distinct in linq #736
  • Convert nested Select queries in linq #635
  • Chr converted to Strings.Chr where code page aware conversion needed #745

C# -> VB

  • Guess some common using statements for incomplete fragments #743

[8.3.0] - 2021年07月02日

Vsix

  • Support for VS2022
Loading

8.2.5

22 Jun 14:37
@GrahamTheCoder GrahamTheCoder

Choose a tag to compare

VB -> C#

  • Prevent overrides and overloads appearing on the same property #681
  • Convert Select x = into let x = within Linq #717
Loading

8.1.7

16 Aug 10:41
@GrahamTheCoder GrahamTheCoder

Choose a tag to compare

[8.1.7] - 2020年08月16日

  • Timeout cosmetic operations (formatting/comments) after 15 minutes of inactivity #598

Vsix

  • Options page to adjust timeout

VB -> C#

  • Convert parameterized properties with optional parameters #597
  • Convert bitwise negation #599
  • No longer adds incorrect "base" qualification for virtual method calls #600
  • Don't generate unnecessary properties for WithEvents fields #572
  • Add type conversion where needed for externally declared loop control variable #609
  • Convert string operators in common cases #608
  • Type convert parameterized property in assignment #610

C# -> VB

[8.1.6] - 2020年07月12日

Vsix

  • Fix file extension and location of single converted file #589

VB -> C#

  • Correct logic for conversion "objectWithOverloadedEquals Is Nothing" #591
  • Coercing enum to a string now correctly uses its numeric value #590
  • Correct conversion for equality of overloaded types #594
  • Correct conversion when for loop variable is a class member #601
  • Correct conversion when for loop "To" expression is a boolean #602

C# -> VB

Loading

VS 16.7 compatibility

04 Jul 17:21
@GrahamTheCoder GrahamTheCoder

Choose a tag to compare

Vsix

  • Workaround Visual Studio 16.7+ that was causing VB->CS conversion to fail #586

VB -> C#

  • Handle Option Compare Text case insensitive comparisons in switch statements #579
  • Fix compilation error when switching with enum cases #549
  • Improve numeric casts #580
  • Add ref to conversion of RaiseEvent where needed #584
  • Rename clashing type memvers #420
  • Fix conversion for string implicitly converted to enum #476

C# -> VB

  • Rename explicit method implementations where needed #492
  • Include type information in conversion of default(someType) #486
Loading

8.1.4 Minor fixes

26 Jun 15:59
@GrahamTheCoder GrahamTheCoder

Choose a tag to compare

Vsix

  • Fixed UnauthorizedAccessException when converting single file/snippet

VB -> C#

  • When converting ReDim Preserve to Array.Resize, "ref" is now added
  • Create delegating method for renamed implementations #443, #444
Loading

8.1.3 VB -> CS Improvements

24 May 17:32
@GrahamTheCoder GrahamTheCoder

Choose a tag to compare

VB -> C#

  • Improve post-conversion experience for designer files - #569
  • Optimize away some redundant casts and conversions with strings/chars - #388
  • Improve performance of single file conversion - #546
  • Add AsEnumerable where needed in linq "in" clause - #544
  • Remove redundant empty string coalesce in string comparison - #500
  • Convert VB comparison operators - #396
  • Convert Redim Preserve of 1D array to Array.Resize - #501
  • Use C#7.3 compatible null check
Loading

8.1.2 VB -> CS improvements

04 May 20:27
@GrahamTheCoder GrahamTheCoder

Choose a tag to compare

VB -> C#

  • Improve multi-declaration field conversion for arrays - #559
  • Add parentheses around ternary statement - #565
  • When converting ForEach loop, avoid duplicate variable compilation issue #558
  • Improvements to for loop with missing semantic info - #482
  • Fix logic issue when converting property passed byref - #324
  • Fix logic issue when converting expression passed in byref within conditional expression - #310
  • Added constructors now only added to the relevant type - not other types in the same file
  • Converted non-static field initializers moved to constructor - #281
  • Convert assignments using "Mid" built-in function
  • Improve conversion of array initializer types
Loading

VS 2017 hotfix

22 Apr 08:07
@GrahamTheCoder GrahamTheCoder
9ae68dc
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Fixes conversion in VS2017

Loading
Previous 1 3 4
Previous

AltStyle によって変換されたページ (->オリジナル) /