abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.93k stars 3.44k forks source link

Create .esproj files for VS 2022 #13506

Open improwise opened 2 years ago

improwise commented 2 years ago

With VS2022 now finally supporting Angular etc (with something that actually works, unlike previous project templates), it would be nice if ABP could generate a .esproj file so that you could easily open the Angular app in VS2022 just like angular projects created in VS2022.

For reference:

https://docs.microsoft.com/en-us/visualstudio/javascript/javascript-in-visual-studio?view=vs-2022

Perhaps even have an option to include the ESPROJ project in the main SLN.

Thanks.

improwise commented 2 years ago

This actually turned out to be quite easy to setup once you figure out how the new project format (.esproj) works and the new JS/TS features in the latest VS2022. And it doesn't only work, it works really well based on initial testing, even JS/TS debugging works right out of the box. So now you can handle all development of ABP in one singular SLN, even though using something like Angular for frontend and there is no need to use VSCode or any other editor.

Now, there might be some advantages of course to using VSCode, Webstorm etc for front end stuff, especially if you have different people working with frontend and backend, but its really nice to be able to do it all in one place if you happen to be doing full stack development. It is somewhat ironic that VS2022 now seem to handle IntelliSense for JS/TS much better than Razor :)

Feel free to reach out if anyone is interested in doing this but don't get it to work and I can make some small how-to on it .

improwise commented 2 years ago

If anyone wants to try this, please note that the Microsoft.VisualStudio.JavaScript.Sdk is still only available in Alpha version it seems so use at your own risk :)

lidalve commented 10 months ago

i just add it mannually and add frontend project to sln in vs2022.