Hello @Paula Henderson,

Thank you for taking time to post this issue in Microsoft Q&A forum.

As Visual Studio(VS IDE) and Visual Studio Code(VS Code) are two different products, their extensions are usually different. May I firstly confirm, if you are using this extension: Live Preview? If so, it’s an extension for VS Code, not for VS IDE.

If you are using VS Code, the preview option should be there when you right-click one of the web pages. For example, I tested with a single .html file, see following screenshot:

If you are using VS IDE, then maybe you mean the integrated Web Live Preview feature? If so, you may need to use it in ASP .NET Web applications. You can right-click one of the web pages, select "View in Browser" or "Browse With…"(choose the Internal Web Browser or other web browsers, click Browse button) to live preview this web page.  

Don't forget to enable web live preview feature and restart VS(Tools > Options > Web Forms Designer > General >Web Forms designer (requires restart) > Web Live Preview).

For example, tested with an ASP .NET Web application(.NET Framework, Web Forms):

Above is for VS 2022, if you are using VS 2019, you should follow the guidance here to enable it:

Web Live Preview (Preview)

If you still fail to see the corresponding options, please kindly share us some screenshots to confirm the issue and check further.

Please don’t hesitate to contact us.

Sincerely,

Tianyu


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Answer from Tianyu Sun-MSFT on learn.microsoft.com
Top answer
1 of 2
1

Hello @Paula Henderson,

Thank you for taking time to post this issue in Microsoft Q&A forum.

As Visual Studio(VS IDE) and Visual Studio Code(VS Code) are two different products, their extensions are usually different. May I firstly confirm, if you are using this extension: Live Preview? If so, it’s an extension for VS Code, not for VS IDE.

If you are using VS Code, the preview option should be there when you right-click one of the web pages. For example, I tested with a single .html file, see following screenshot:

If you are using VS IDE, then maybe you mean the integrated Web Live Preview feature? If so, you may need to use it in ASP .NET Web applications. You can right-click one of the web pages, select "View in Browser" or "Browse With…"(choose the Internal Web Browser or other web browsers, click Browse button) to live preview this web page.  

Don't forget to enable web live preview feature and restart VS(Tools > Options > Web Forms Designer > General >Web Forms designer (requires restart) > Web Live Preview).

For example, tested with an ASP .NET Web application(.NET Framework, Web Forms):

Above is for VS 2022, if you are using VS 2019, you should follow the guidance here to enable it:

Web Live Preview (Preview)

If you still fail to see the corresponding options, please kindly share us some screenshots to confirm the issue and check further.

Please don’t hesitate to contact us.

Sincerely,

Tianyu


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

2 of 2
0

Thank you. My extension was wrong. I actually had a different file I created not coffee ext but it was apparently wrong ext too because it did not have preview. It's all in the ext. Thanks so much for your help

🌐
GitHub
github.com › microsoft › vscode-livepreview › issues › 319
Live Preview stopped working · Issue #319 · microsoft/vscode-livepreview
August 31, 2022 - Live Preview suddenly stopped working nothing happens when executing: Start Server or Show Preview (internal browser) extension is missing from status bar when executing Live Preview (External Browser) external browser starts with right ...
Author   palacinka
🌐
Quora
quora.com › How-do-I-turn-live-preview-for-visual-studio-code-on-and-off
How to turn live preview for visual studio code on and off - Quora
Answer: Greetings, I want to let you know before hand that this will be a little work for Visual Studio Code. In order to do this you will need to change the task.json file using the instructions below… 1. Open Visual Studio Code and load the index.html or the startup file on your website. 2. P...
🌐
GitHub
github.com › microsoft › vscode-livepreview › issues
Issues · microsoft/vscode-livepreview
Hosts a local server in your workspace for you to preview your webpages. - microsoft/vscode-livepreview
Author   microsoft
🌐
Reddit
reddit.com › r/vscode › live preview not working
r/vscode on Reddit: Live preview not working
January 9, 2023 -

Am trying to launch live preview extension but it’s bringing an error that say “an unknown error accursed.please consult the log for more details” any way to fix this

Find elsewhere
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Live Preview - Visual Studio Marketplace
February 9, 2026 - Extension for Visual Studio Code - Hosts a local server in your workspace for you to preview your webpages on.
🌐
Developer Community
developercommunity.visualstudio.com › content › problem › 93292 › cant-make-live-preview-work-for-web.html
Can't make live preview work for web - Developer Community
August 16, 2017 - Skip to main content · Microsoft · Visual Studio · Sign in · You need to enable JavaScript to run this app · Sorry this browser is no longer supported · Please use any other modern browser like 'Microsoft Edge'
🌐
GitHub
github.com › slint-ui › slint › issues › 3412
VSCode live preview not working · Issue #3412 · slint-ui/slint
September 5, 2023 - We're unable to get even the simplest live preview to work with VS-code under linux This simple demo runs fine with cargo run/build/etc, but the live-preview in vs-code does not. When in the ui...
Author   fuzing
🌐
YouTube
youtube.com › unkert education
How to Set Up Live Preview in VS Code - YouTube
In this video, I show you how to set up live preview in VS Code. When building websites it's nice to see changes in the site as soon as you save the file. By...
Published   July 18, 2023
Views   7K
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 1333993 › html-preview-not-working
HTML Preview not working. - Microsoft Q&A
July 20, 2023 - Hello! My name is Alan. Currently i am using the Visual Studio Code, and i use the extension HTML Preview too, but i do not know why the HTML Preview is not showing the right way the page by the code. This specific code show imagens and change the…
🌐
GitHub
github.com › HarshdeepGupta › live-html-preview › issues › 29
Live HTML Previewer extension is not working · Issue #29 · HarshdeepGupta/live-html-preview
June 9, 2020 - Issue Type: Bug I am using vscode 1.33.1 in ubuntu 18.04 machine. I am unable to see the preview for my html document even after I installed "Live HTML Previewer" via vscode and followed all the steps mentioned in the extension's documen...
Author   prabha05081997
🌐
Reddit
reddit.com › r/visualstudiocode › new to vs code, can't get live preview to automatically update...
r/VisualStudioCode on Reddit: New to VS Code, can't get live preview to automatically update...
December 14, 2022 -

Hey everyone :-) I'm new to VS Code, I'm using R Markdown to do some writing. I have it all set up with the extension I needed, but for some reason I can't get the Live Preview plugin to automatically update when I make changes to the document I'm working on. It's enabled in the settings of the extension, so I'm not really sure what I'm doing wrong... Oh, and I'm running Debian testing if that's relevent.

🌐
Reddit
reddit.com › r/vscode › live preview for vscode web?
r/vscode on Reddit: Live preview for vscode web?
August 24, 2022 -

I have recently discovered vscode.dev and it is amazing, particularly for introducing html/js coding to my students who are using locked down chromebooks. However it seems none of the extensions for previewing html/js etc are available for vscode web. For now, I have worked around it by editing files locally and opening those separately in the browser and refreshing on change. But wondering if there is a better way. In particular, it would be nice to be able to use the open github feature and preview changes without committing to the repo. TIA!

🌐
Reddit
reddit.com › r/vscode › visual studio code live server not giving me the preview
r/vscode on Reddit: Visual studio code live server not giving me the preview
December 15, 2022 -

Hello , am not sure this is the right place but when i open my htlm file with live server on google chrome , normal or Incognito mode its not working

this : https://cdn.discordapp.com/attachments/703709336370675913/1052567823165181963/image.png is what i am getting

I tried changing my browser , changed the live server version , changed the port nothing works .

I checke some google videos that told me to switch port , change folder name nothing works

Thanks in advance

edit: no its not .htlm was just a solution that did not work from youtube : https://cdn.discordapp.com/attachments/703709336370675913/1052588668289822730/image.png but no mater the file live server preview does not work for

edit2: ok i had to rename a few things it starting to work !

The problem was that live server was not updating changes so obviously it would not show any even if the other problems where solved,the solution was to change

• Open settings.
• Search for 'autosave'.
• Set it to 'afterDelay'.

It works fine ! thanks guys <3