In this article we are going to create a web application using ASP.NET Core MVC with the help of Visual Studio Code and ADO.NET.
1) ابتدا فایل vsix مربوط به افزونه سی شارپ را دریافت کنید.
2) اگر نسخه قدیمی افزونه سی شارپ برروی vscode نصب است آن را حذف کنید.
3) کلیدهای ترکیبی Ctrl + Shift + P را فشار دهید و Install from VSIX را تایپ کنید و سپس آن را انتخاب کنید.
4)مسیر فایل vsix را به vscode بدهید تا آن را نصب کند.
5) سپس بعد راه اندازی مجدد vscode ، یک پوشه ایجاد کرده و یک پروژه جدید بسازید.
6) در اولین مرحله، افزونه ابتدا بستههای موردنیاز را دانلود و سپس نصب میکند که در این قسمت بسته Razor Language Server جدید است.
حال به سراغ یک فایل razor بروید:
افزونهی Github Pull Requests مخصوص Visual Studio Code چگونه کار میکند؟
- Update extension to handle upcoming breaking change to launch.json configurations in VS Code 1.28.
- Fixed launch.json
envFile
option on Windows - Fixed a bug where OmniSharp flame was red inspite of OmniSharp loading the projects without any errors.
- Fixed a problem with tracking virtual documents from other providers
As discussed previously, this adds Razor support behind a new omnisharp.preview options flag. It works by downloading a platform-specific Razor Language Server executable (equivalent to the OmniSharp-Roslyn language server) and then running some VSCode-side logic that knows how to launch and interact with it.
-
Separated the existing "Restore Packages" option in the Command Palette into two distinct functions:
- "Restore Project" - Displays a drop-down that shows all the available projects in the solution or in the workspace. Selecting one of them would trigger a dotnet restore for the particular project.
- "Restore All Projects" - Triggers a dotnet restore for all projects in the current solution or workspace.