This the steps:
1) Open a VB .NET project
2) Try to add 2 COM references
Other information:
1) SharpDevelop is the only application accessing to the .vbproj file
2) All the project files have the permission to grant full access
This the exception:
SharpDevelop Version : 3.0.0.2970
.NET Version : 2.0.50727.1433
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : Italian (Italy) (it-IT)
Working Set Memory : 103452kb
GC Heap Memory : 44238kb
Exception thrown:
System.IO.IOException: Il processo non può accedere al file 'Z:\sviluppi\TRASCO\Listino Prezzi\Codes\20051.xx.11\Listino Prezzi.vbproj' perché è in uso da un altro processo.
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in 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)
in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
in System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
in Microsoft.Build.BuildEngine.Project.Save(String projectFileName, Encoding encoding)
in Microsoft.Build.BuildEngine.Project.Save(String projectFileName)
in ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.Save(String fileName)
in ICSharpCode.SharpDevelop.Project.AbstractProject.Save()
in ICSharpCode.SharpDevelop.Project.Commands.AddReferenceToProject.Run()
in ICSharpCode.Core.MenuCommand.OnClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStripItem.ProcessDialogKey(Keys keyData)
in System.Windows.Forms.ToolStripDropDownItem.ProcessDialogKey(Keys keyData)
in System.Windows.Forms.ToolStrip.ProcessDialogKey(Keys keyData)
in System.Windows.Forms.ToolStripDropDown.ProcessDialogKey(Keys keyData)
in System.Windows.Forms.Control.PreProcessMessage(Message& msg)
in System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
in System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
Thanks in advance.
Carmine Cairo