All Projects → icsharpcode → Codeconverter

icsharpcode / Codeconverter

Licence: mit
Convert code from C# to VB.NET and vice versa using Roslyn

Projects that are alternatives of or similar to Codeconverter

Uno.sourcegeneration
A Roslyn based C# source generation framework
Stars: ✭ 99 (-77.08%)
Mutual labels:  roslyn, visual-studio
Bridge
♠️ C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.
Stars: ✭ 2,216 (+412.96%)
Mutual labels:  roslyn, visual-studio
Stack Trace Explorer
Stack Trace Explorer is a Visual Studio plug-in that pretty prints a stack trace by turning types, methods, and paths into hyper links
Stars: ✭ 100 (-76.85%)
Mutual labels:  roslyn, visual-studio
Mappinggenerator
🔄 "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
Stars: ✭ 831 (+92.36%)
Mutual labels:  roslyn, visual-studio
Roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Stars: ✭ 15,296 (+3440.74%)
Mutual labels:  roslyn, visual-studio
Curl To Csharp
curl to C# converter
Stars: ✭ 153 (-64.58%)
Mutual labels:  roslyn, converter
Roslynator
A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.
Stars: ✭ 2,221 (+414.12%)
Mutual labels:  roslyn, visual-studio
Seriloganalyzer
Roslyn-based analysis for code using the Serilog logging library. Checks for common mistakes and usage problems.
Stars: ✭ 214 (-50.46%)
Mutual labels:  roslyn, visual-studio
Retyped
Access 3600+ libraries from C# and let Bridge.NET compile your project into JavaScript.
Stars: ✭ 216 (-50%)
Mutual labels:  roslyn, visual-studio
Roslyn Security Guard
Roslyn analyzers that aim to help security audit on .NET applications.
Stars: ✭ 214 (-50.46%)
Mutual labels:  roslyn, visual-studio
Codist
A visual studio extension which enhances syntax highlighting, quick info (tooltip), navigation bar, scrollbar, display quality and brings smart tool bar to code editor.
Stars: ✭ 134 (-68.98%)
Mutual labels:  visual-studio, roslyn
experimental-tools
A bunch of quality refactorings and code fixes that are going to improve your C# development experience in Visual Studio and remove some common pain.
Stars: ✭ 19 (-95.6%)
Mutual labels:  visual-studio, roslyn
Ref12
Sends F12 in Visual Studio to the new .Net Reference Source Browser
Stars: ✭ 76 (-82.41%)
Mutual labels:  visual-studio, roslyn
Awesome Vscode
🎨 A curated list of delightful VS Code packages and resources.
Stars: ✭ 19,659 (+4450.69%)
Mutual labels:  visual-studio
Imewlconverter
一款开源免费的输入法词库转换程序
Stars: ✭ 4,518 (+945.83%)
Mutual labels:  converter
Newlife.cube
魔方是一个快速Web开发平台,能够快速搭建系统原型,而又具有足够灵活的可扩展性!内部集成了用户权限管理、模板继承、SSO登录、OAuth服务端、数据导出与分享等多个功能模块,默认模板在真实项目中经历过单表100亿数据添删改查的考验。
Stars: ✭ 375 (-13.19%)
Mutual labels:  visual-studio
Vscode Solidity
Visual Studio Code language support extension for Solidity smart contracts in Ethereum
Stars: ✭ 373 (-13.66%)
Mutual labels:  visual-studio
Azuredevopslabs
Learn how you can plan smartly, collaborate better, and ship faster with a set of modern development services with Azure DevOps.
Stars: ✭ 413 (-4.4%)
Mutual labels:  visual-studio
Awesome Roslyn
Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators
Stars: ✭ 395 (-8.56%)
Mutual labels:  roslyn
Amulet Map Editor
A new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.
Stars: ✭ 356 (-17.59%)
Mutual labels:  converter

Code Converter Build CodeConverter

Convert code from VB.NET to C# and vice versa using Roslyn - all free and open source:

Visual Studio Extension

Adds context menu items to convert projects/files between VB.NET and C#. See the wiki documentation for help using it.

Download from Visual Studio Marketplace (Requires VS 2017 15.7+)

  • Flexible: Convert a small selection, or a whole solution in one go, in either direction.
  • Accurate: Full project context (through Roslyn) is used to get the most accurate conversion.
  • Safe: Conversion runs entirely locally - your code doesn't leave your machine.
  • Completely free and open source GitHub project.
  • Integrated: Uses the Output window to show conversion progress / summary.
  • Actively developed: User feedback helps us continuously strive for a more accurate conversion.

Selected text conversion context menu

Contributing

Let us know what needs improving. If you want to get involved in writing the code yourself, even better! We've already had code contributions from several first time GitHub contributors, so don't be shy! See Contributing.md for more info.

Currently, the VB -> C# conversion quality is higher than the C# -> VB conversion quality. This is due to demand of people raising issues and supply of developers willing to fix them. But we're very happy to support developers who want to contribute to either conversion direction. Visual Basic will have support for some project types on initial versions of .NET 5, but won't be getting new features according to the .NET Team Blog.

Other ways to use the converter

  • Latest CI build (potentially less stable):
    • See latest build
    • Uninstall current version, then install VSIX file inside "1 published" artifact
  • Integrating the NuGet library

Building/running from source

  1. Ensure you have .NET Core SDK 3.1+
  2. Open the solution in Visual Studio 2017+
  3. To run the website, set CodeConverter.Web as the startup project
  4. To run the Visual Studio extension, set Vsix as the startup project
    • A new instance of Visual Studio will open with the extension installed

History

A spiritual successor of the code conversion within SharpDevelop and later part of Refactoring Essentials, the code converter was separated out to avoid difficulties with different Visual Studio and Roslyn versions.

More screenshots

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].