{"id":53296,"date":"2024-08-27T10:05:00","date_gmt":"2024-08-27T17:05:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/dotnet\/?p=53296"},"modified":"2024-12-13T13:59:11","modified_gmt":"2024-12-13T21:59:11","slug":"whats-new-in-csharp-dev-kit-august-2024","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/whats-new-in-csharp-dev-kit-august-2024\/","title":{"rendered":"C# Dev Kit update brings enhanced Razor IntelliSense, Project Status, and New Config Options"},"content":{"rendered":"<p>Whether you&#8217;re a seasoned C# developer or just getting started with C#, the August 2024 release of C# Dev Kit extension for Visual Studio Code is here to enhance your productivity. <\/p>\n<p>Many developers find that using Visual Studio alongside VS Code provides a versatile and powerful development workflow. This update (v1.9.55) brings significant quality improvements and exciting new features to C# Dev Kit, designed to make your coding experience in VS Code smoother and more efficient than ever.<\/p>\n<h2>Quality Improvements<\/h2>\n<p>Top feedback that we\u2019ve heard from you is we should focus on quality and to make the experience more reliable for your C# development.  Listening to your feedback, we&#8217;ve focused on making the C# Dev Kit more reliable and intuitive, addressing over 72 developer-reported issues last month alone. With the August release, we&#8217;re continuing this commitment by resolving more of the most pressing challenges you face.<\/p>\n<h3>Razor<\/h3>\n<p>One of the top developer requests is that we improve Razor IntelliSense and Razor error management in C# Dev Kit, and we&#8217;re listening.  With the August stable release, working with Razor files just got a lot smoother. Say goodbye to annoying flashing error messages and welcome improved IntelliSense that helps you code faster and with greater confidence. <\/p>\n<h3>Project Status<\/h3>\n<p>Another top feedback item is IntelliSense doesn\u2019t work. Investigations into most of these issues show this usually happens when there is a problem with the project or the solution in C# Dev Kit. To help you better understand the status of your project and help make you aware if there is something not working or configured correctly with your projects, we have updated the Project Status bar.  <\/p>\n<p>Imagine you&#8217;re working on a large solution and IntelliSense suddenly stops working. The updated Project Status bar can now pinpoint exactly where the active file fits in your project structure, helping you quickly identify and resolve any misconfigurations. If IntelliSense isn\u2019t working as expected, check the status bar to make sure it knows which project the active file belongs to. If everything looks good there and IntelliSense still isn\u2019t working as expected, please submit an issue so that we can take the next step in improving your experience.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2024\/08\/project-status-bar.png\" alt=\"Screenshot showing the project status bar\" \/><\/p>\n<h3>Create New Project Configuration Options<\/h3>\n<p>Developers have been asking for the ability to specify project configuration options when creating a new project. With the August stable release of C# Dev Kit, you now get an improved project creation experience that provides you access to the same options you can use when creating a new project through the Command Line Interface (CLI).  Now, when you create a .NET project, you have full control over the configuration options, from selecting your target framework to enabling HTTPS. This ensures that your new projects are perfectly tailored to your development needs right from the start. To enable this experience, set the C# Dev Kit setting, <em>csharp.experimental.dotnetNewIntegration<\/em> to true.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2024\/08\/create-project-properties.png\" alt=\"Screenshot showing the create project configuration options for a .NET Aspire Starter Project\" \/><\/p>\n<h2>Set Launch\/Debug Configuration<\/h2>\n<p>Do you have a large .NET Solution with lots of projects and want an easy way to configure your startup project and your launch configuration? Then you\u2019ll love the improvements we\u2019ve made to the launch and debug experience in C# Dev Kit.  You can use this feature to set\/update your startup project and to set\/update your launch configuration. Just click on the {} in the lower right corner of VS Code to see\/update your configurations. Once you\u2019ve set it up, just F5 and you will be off and debugging. To enable this, set the C# Dev Kit setting, <em>csharp.preview.improvedLaunchExperience<\/em> to true.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2024\/08\/launch-configuration.png\" alt=\"Screenshot showing the launch configuration menu for a .NET Aspire project\" \/><\/p>\n<h2>Drag\/drop<\/h2>\n<p>Do you love Solution Explorer, and hate having to move back to the File Explorer to drag and drop files from one folder\/project to another? Now available in C# Dev Kit, you can drag and drop files within Solution Explorer, both within and between projects. <\/p>\n<h2>Summary<\/h2>\n<p>We can\u2019t wait for you to try these new features in the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-dotnettools.csdevkit\">C# Dev Kit<\/a>. Download the update today, explore the new possibilities, and <a href=\"https:\/\/github.com\/microsoft\/vscode-dotnettools\/issues\/new\">share your thoughts with us<\/a>\u2014your feedback drives our innovation!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Boost your dev workflow with the C# Dev Kit August 2024 release, which brings enhanced Razor IntelliSense, updated Project Status Bar, and new Project Configuration Options!<\/p>\n","protected":false},"author":97078,"featured_media":53297,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685,7509,756,7600,7593],"tags":[58,63,7753],"class_list":["post-53296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","category-aspnetcore","category-csharp","category-maintenance-and-updates","category-visual-studio-code","tag-csharp","tag-dotnet","tag-vscode"],"acf":[],"blog_post_summary":"<p>Boost your dev workflow with the C# Dev Kit August 2024 release, which brings enhanced Razor IntelliSense, updated Project Status Bar, and new Project Configuration Options!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/53296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/97078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=53296"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/53296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/53297"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=53296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=53296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=53296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}