Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Visual Studio 2022

You're reading from   Hands-On Visual Studio 2022 A developer's guide to exploring new features and best practices in VS2022 for maximum productivity

Arrow left icon
Product type Paperback
Published in Jun 2022
Publisher Packt
ISBN-13 9781801810548
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Miguel Angel Teheran Garcia Miguel Angel Teheran Garcia
Author Profile Icon Miguel Angel Teheran Garcia
Miguel Angel Teheran Garcia
Hector Uriel Perez Rojas Hector Uriel Perez Rojas
Author Profile Icon Hector Uriel Perez Rojas
Hector Uriel Perez Rojas
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: Visual Studio Overview
2. Chapter 1: Getting Started with Visual Studio 2022 FREE CHAPTER 3. Chapter 2: Configuring the IDE 4. Chapter 3: Improvements in Visual Studio 2022 5. Chapter 4: Creating Projects and Templates 6. Chapter 5: Debugging and Compiling Your Projects 7. Part 2: Tools and Productivity
8. Chapter 6: Adding Code Snippets 9. Chapter 7: Coding Efficiently with AI and Code Views 10. Chapter 8: Web Tools and Hot Reload 11. Chapter 9: Styling and Cleanup Tools 12. Chapter 10: Publishing Projects 13. Part 3: GitHub Integration and Extensions
14. Chapter 11: Implementing Git Integration 15. Chapter 12: Sharing Code with Live Share 16. Chapter 13: Working with Extensions in Visual Studio 17. Chapter 14: Using Popular Extensions 18. Chapter 15: Learning Keyboard Shortcuts 19. Other Books You May Enjoy

Publishing in a folder

One of the most common options for publishing a project is to use our filesystem and save the site in a folder, including all the resources to use it in a local server, such as IIS, Apache, or NGINX. Visual Studio has an option to publish our projects with this approach easily.

You can use any option to navigate to the publishing functionality, which we reviewed in the The options to publish a project section, and then select Folder, followed by a click on Next:

Figure 10.4 – The Folder option to publish a project

In the next window, we can specify the folder where we want to save the published project using the Browse… option. We can use absolute and relative paths. Then, we can finish the configuration by clicking on Finish:

Figure 10.5 – The folder location to publish the project

Important Note

The folder selected must be empty. If you select a folder that contains files, this could...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image