Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS crashes when changing wrap from command line (ow20) #245

Open
KonstantinNosov opened this issue Sep 16, 2011 · 0 comments
Open

VS crashes when changing wrap from command line (ow20) #245

KonstantinNosov opened this issue Sep 16, 2011 · 0 comments

Comments

@KonstantinNosov
Copy link

Steps to reproduc

  • Open wrap solution in VS
  • in command line: o add-wrap nunit -scope tests

Result:
VS crashes with following exception:

Exception Type: System.IO.IOException
Exception Message: The process cannot access the file 'E:\WORK\FINAM\Inceptum.Framework\Inceptum.Framework.tests.wrapdesc' because it is being used by another process.
Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
at OpenFileSystem.IO.FileSystems.Local.LocalFile.Open(FileMode fileMode, FileAccess fileAccess, FileShare fileShare) in c:\TeamCity\buildAgent\work\c71e0c1ab1563c43\src\OpenFileSystem\FileSystems\Local\LocalFile.cs:line 115
at OpenFileSystem.IO.FileExtensions.OpenRead(IFile file) in c:\TeamCity\buildAgent\work\c71e0c1ab1563c43\src\OpenFileSystem\FileExtensions.cs:line 36
at OpenWrap.IO.IOExtensions.<>c__DisplayClass11.<Read>b__0() in c:\src\openwrap\src\OpenWrap\IO\IOExtensions.cs:line 15 at OpenWrap.IO.IOExtensions.Read[T](Func1 open, Func2 read) in c:\src\openwrap\src\OpenWrap\IO\IOExtensions.cs:line 100 at OpenWrap.IO.IOExtensions.Read[T](IFile file, Func2 read) in c:\src\openwrap\src\OpenWrap\IO\IOExtensions.cs:line 15
at OpenWrap.PackageModel.Serialization.PackageDescriptorReader.ReadAll(IDirectory directoryToReadFrom) in c:\src\openwrap\src\OpenWrap\PackageModel\Serialization\PackageDescriptorReader.cs:line 35
at OpenWrap.PackageManagement.Monitoring.PackageDescriptorMonitor.NotifyAllClients(IFile wrapPath) in c:\src\openwrap\src\OpenWrap\PackageManagement\Monitoring\PackageDescriptorMonitor.cs:line 83
at OpenWrap.PackageManagement.Monitoring.PackageDescriptorMonitor.HandleWrapFileUpdate(Object sender, FileSystemEventArgs e) in c:\src\openwrap\src\OpenWrap\PackageManagement\Monitoring\PackageDescriptorMonitor.cs:line 68
at System.IO.FileSystemWatcher.OnChanged(FileSystemEventArgs e)
at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)


Installed Extensions
NuGet Package Manager
State = Enabled
Version = 1.0.11220.104

VSCommands 2010
State   =   Enabled
Version =   3.7.3.0

Environment Data
VisualStudio.Version = 10.0
VisualStudio.Edition = Ultimate
VisualStudio.FullName = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
VisualStudio.RegistryRoot = Software\Microsoft\VisualStudio\10.0
VisualStudio.LocaleId = 1033
VisualStudio.DisplayMode = vsDisplayMDITabs
Time.UTC = 16.09.2011 12:43:58
Time.Local = 16.09.2011 16:43:58
OS.Architecture = x86
Environment.Version = 4.0.30319.235
Environment.HasShutdownStarted = False
Environment.OSVersion.Platform = Win32NT
Environment.OSVersion = 6.1.7601.65536
CurrentThread.Id = 1
CurrentThread.Name = [null]
CurrentThread.ThreadState = Background
CurrentThread.IsBackground = True
CurrentThread.UICulture = English (United States)
CurrentThread.Culture = Russian (Russia)
Process.PagedMemorySizeMB = 500,21484375
Process.MaxWorkingSetMB = 1,34765625
Process.NonpagedSystemMemorySizeMB = 0,270896911621094
Process.PagedSystemMemorySizeMB = 1,32799530029297
Process.PrivateMemorySizeMB = 500,21484375
Process.VirtualMemorySizeMB = 1135,66796875
Process.WorkingSetMB = 575,35546875
Process.UpTime = 01:03:51.7580000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant