Probably there's an error in the news feed
You can add
127.0.0.1 vsstartpage.blob.core.windows.net
to your host file: C:\Windows\System32\drivers\etc\hosts as a temporary workaround
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I can't install Visual Studio from the vs installer.
The installer starts and then crashes. I've downloaded the log collection tool and I can see this crash in the dd_installer_timestamp log:
[4b18:0001][2021-03-06T18:33:50] Error 0x80131537: Application failed with an uncaught exception: Stringa non riconosciuta come valore DateTime valido.
in System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, TimeSpan& offset)
in System.DateTimeOffset.Parse(String input)
in Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ViewModels.NewsFeedItemViewModel..ctor(NewsFeedItem item)
in Microsoft.VisualStudio.Setup.Installer.DeveloperNews.ViewModels.DeveloperNewsViewModel.<>c__DisplayClass6_1.<LoadNewsFeed>b__1()
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
in System.Windows.Threading.DispatcherOperation.InvokeImpl()
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
in System.Windows.Threading.DispatcherOperation.Invoke()
in System.Windows.Threading.Dispatcher.ProcessQueue()
in System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
in MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
in System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
in System.Windows.Application.RunDispatcher(Object ignore)
in System.Windows.Application.RunInternal(Window window)
in Microsoft.VisualStudio.Setup.Installer.Application.MainApplication.Microsoft.VisualStudio.Setup.Installer.IApplication.Run()
in Microsoft.VisualStudio.Setup.Installer.Program.ExecuteInternal(IServiceContainer services, ICommandLineParserResult`1 parserResult, ITelemetry telemetry, ILogger logger)
The error message in english is: "String not recognized as a valid DateTime"
So, some data inside the DeveloperNews feed is preventing me from installing anything! My OS language is Italian
What can I do?
Probably there's an error in the news feed
You can add
127.0.0.1 vsstartpage.blob.core.windows.net
to your host file: C:\Windows\System32\drivers\etc\hosts as a temporary workaround
Hi @shadowings ,
Welcome to Microsoft Q&A!
Please view the similar issue: https://learn.microsoft.com/en-us/answers/questions/297414/visual-studio-community-2019-setup-closes-abruptly.html?childToView=298913#answer-298913
And try to run the following command line from the installer directory (C:\Program Files (x86)\Microsoft Visual Studio\Installer) to launch your Visual Studio Installer:
vs_installer.exe --locale en-US
Sincerely,
Anna