SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

crash on adding new fsharp project

Last post 07-25-2009 1:07 AM by DanielGrunwald. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-25-2009 12:32 PM

    • cyplo
    • Top 75 Contributor
    • Joined on 04-07-2009
    • Posts 38

    crash on adding new fsharp project

    SharpDevelop Version : 3.1.0.4353
    .NET Version         : 2.0.50727.4918
    OS Version           : Microsoft Windows NT 6.1.7100.0
    Current culture      : Polish (Poland) (pl-PL)
    Current UI language  : en-US
    Running under WOW6432, processor architecture: AMD64
    Working Set Memory   : 70216kb
    GC Heap Memory       : 16538kb

    Exception thrown:
    Microsoft.Build.BuildEngine.InvalidProjectFileException: The imported project "C:\Program Files (x86)\MSBuild\FSharp\1.0\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. 
       at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, XmlNode xmlNode, String resourceName, Object[ args)
       at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject(Boolean condition, String errorSubCategoryResourceName, XmlNode xmlNode, String resourceName, Object arg0)
       at Microsoft.Build.BuildEngine.Project.LoadImportedProject(Import import)
       at Microsoft.Build.BuildEngine.Project.ProcessImportElement(XmlElement importElement, String projectDirectoryLocation, Boolean importedProject)
       at Microsoft.Build.BuildEngine.Project.ProcessProjectChildren(XmlElement projectElement, String projectDirectoryLocation, Boolean importedProject)
       at Microsoft.Build.BuildEngine.Project.ProcessMainProjectElement()
       at Microsoft.Build.BuildEngine.Project.RefreshProjectIfDirty()
       at Microsoft.Build.BuildEngine.Project.GetEvaluatedItemsByName(String itemName)
       at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.CreateItemsListFromMSBuild()
       at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.AddImport(String projectFile, String condition)
       at FSharpBinding.FSharpProject..ctor(ProjectCreateInformation info)
       at FSharpBinding.FSharpLanguageBinding.ICSharpCode-SharpDevelop-Project-ILanguageBinding-CreateProject(ProjectCreateInformation info)
       at ICSharpCode.SharpDevelop.Internal.Templates.ProjectDescriptor.CreateProject(ProjectCreateInformation projectCreateInformation, String defaultLanguage)
       at ICSharpCode.SharpDevelop.Internal.Templates.ProjectTemplate.CreateProject(ProjectCreateInformation projectCreateInformation)
       at ICSharpCode.SharpDevelop.Project.Dialogs.NewProjectDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.PerformClick()
       at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
       at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

    ---- Recent log messages:
    12:35:01.307 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\System.Data.xml
    12:35:01.307 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.xml
    12:35:01.313 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
    12:35:01.313 [loadSolutionProjects] DEBUG - Loading PC for System.Data.Linq
    12:35:01.313 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\en\System.Data.Linq.xml
    12:35:01.313 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.Linq.xml
    12:35:01.314 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\System.Data.Linq.xml
    12:35:01.314 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.Linq.xml
    12:35:01.315 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.Linq.dll
    12:35:01.315 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
    12:35:01.315 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll
    12:35:01.344 [loadSolutionProjects] DEBUG - Adding existing class BufferedRecordAdder from BufferedRecordAdder.cs
    12:35:01.344 [loadSolutionProjects] DEBUG - Creating compound for PowerMedia.Common.Data.BufferedRecordAdder
    12:35:01.356 [loadSolutionProjects] INFO - LoadSolutionProjects thread ended
    12:35:01.356 [loadSolutionProjects] DEBUG - NavigationService -- resume logging
    12:35:01.447 [8] DEBUG - SVN: OverlayIconManager Thread finished
    12:35:02.503 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
    12:35:02.503 [1] DEBUG - UpdateHostIfActive
    12:35:02.503 [1] DEBUG - UpdateSelectedObjectIfActive
    12:35:02.512 [1] DEBUG - UpdateSelectableIfActive
    12:35:02.512 [1] DEBUG - UpdatePropertyGridReplacementControl
    12:35:02.512 [1] DEBUG - UpdateSelectedObjectIfActive
    12:35:05.637 [1] INFO - Run command ICSharpCode.SharpDevelop.Project.Commands.AddNewProjectToSolution
    12:35:16.206 [1] INFO - Creating project from template 'F#//${res:Templates.Project.ConsoleProject.Name}'
    12:35:16.212 [1] ERROR - ThreadException caught
    --> Exception:
    Microsoft.Build.BuildEngine.InvalidProjectFileException: The imported project "C:\Program Files (x86)\MSBuild\FSharp\1.0\Microsoft.FSharp.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. 
       at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, XmlNode xmlNode, String resourceName, Object[ args)
       at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject(Boolean condition, String errorSubCategoryResourceName, XmlNode xmlNode, String resourceName, Object arg0)
       at Microsoft.Build.BuildEngine.Project.LoadImportedProject(Import import)
       at Microsoft.Build.BuildEngine.Project.ProcessImportElement(XmlElement importElement, String projectDirectoryLocation, Boolean importedProject)
       at Microsoft.Build.BuildEngine.Project.ProcessProjectChildren(XmlElement projectElement, String projectDirectoryLocation, Boolean importedProject)
       at Microsoft.Build.BuildEngine.Project.ProcessMainProjectElement()
       at Microsoft.Build.BuildEngine.Project.RefreshProjectIfDirty()
       at Microsoft.Build.BuildEngine.Project.GetEvaluatedItemsByName(String itemName)
       at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.CreateItemsListFromMSBuild()
       at ICSharpCode.SharpDevelop.Project.MSBuildBasedProject.AddImport(String projectFile, String condition)
       at FSharpBinding.FSharpProject..ctor(ProjectCreateInformation info)
       at FSharpBinding.FSharpLanguageBinding.ICSharpCode-SharpDevelop-Project-ILanguageBinding-CreateProject(ProjectCreateInformation info)
       at ICSharpCode.SharpDevelop.Internal.Templates.ProjectDescriptor.CreateProject(ProjectCreateInformation projectCreateInformation, String defaultLanguage)
       at ICSharpCode.SharpDevelop.Internal.Templates.ProjectTemplate.CreateProject(ProjectCreateInformation projectCreateInformation)
       at ICSharpCode.SharpDevelop.Project.Dialogs.NewProjectDialog.OpenEvent(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.PerformClick()
       at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
       at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

    ---- Post-error application state information:
    Installed 3rd party AddIns:
    Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
    ProjectService.OpenSolution: [Solution: FileName=C:\data\svn\Hermes\trunk\sources\PowerMedia.Common\sources\PowerMedia.Common.sln, HasProjects=True, ReadOnly=False]
    ProjectService.CurrentProject: <null>

  • 07-25-2009 1:07 AM In reply to

    Re: crash on adding new fsharp project

    Thanks for reporting this, fixed in revision 4534.

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.