Giter VIP home page Giter VIP logo

Comments (12)

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 7, 2016 17:44

Also repros on 0.10.14-insiders

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 7, 2016 19:20

Doesn't repro on Windows 8.1 and 10

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 7, 2016 20:1

Simpler repro:
Just create a new file with notepad, add text and save.
Doesn't show up in the explorer until you either restart or run refresh.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 0:7

I've reproduced this on two different Windows 7 VMs. I can grant access to anyone who wants to take a look.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 0:45

I'm using http://xlab DevDiv Private Cloud VMs for my testing. It's very easy to create Windows 7 machines for testing. I assume the Zurich team has access to this service.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 5:43

This is very consistent (100%) on the xlab VMs but I haven't been able to repro this on other Windows 7 machines.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

Can you try to run VS Code in verbose mode?

  • find the Code.exe in the programs folder
  • execute code.exe --verbose

You should then get the file events logged to the dev console.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 15:34

This issue is that Electron requires .NET 4.5 since it uses System.Threading.Tasks.Task.Delay(Int32) which came with .NET 4.5. https://msdn.microsoft.com/en-us/library/hh194873(v=vs.110).aspx
Windows 7 on the VMs only has .NET 4.
Here's the exception stack from the debug console:
[FileWatcher] process error: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task System.Threading.Tasks.Task.Delay(Int32)'.
at FileWatcher.EventProcessor.ProcessEvent(FileEvent fileEvent)
at VSCode.FileSystem.Program.<>c__DisplayClass8.

b__2()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 15:36

Do we want to detect that .NET 4.5 is missing and alert the user?
I will add this requirement to the docs in setup.md.
I think this explains some of the verbatim we see where various walkthroughs like the CSS topic don't work at all for users.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 15:53

I think we should alert the user when VS Code sees a MissingMethodException. Windows 7 still has the highest market share of the Windows OSs and the experience when we eat this exception is poor since the File Watcher isn't working.

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

From @gregvanl on April 8, 2016 16:42

Note: .NET 4.5 is only an optional update for Windows 7

from vscode-filewatcher-windows.

bpasero avatar bpasero commented on September 17, 2024

Now showing a message to the user.

from vscode-filewatcher-windows.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.