[GH-ISSUE #994] OmniSharp error when starting program #703

Closed
opened 2026-02-27 15:51:30 +03:00 by kerem · 2 comments
Owner

Originally created by @kernelwernel on GitHub (Jul 13, 2021).
Original GitHub issue: https://github.com/quasar/Quasar/issues/994

I'm asking this on the part of someone where they're having this issue they're having. When starting, this error log shows up. Any help?

    Target: c:\Users\willi\Desktop\Rat\Quasar\Quasar.sln
 
OmniSharp server started.
    Path: c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\OmniSharp.exe
    PID: 8976
 
[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.11.0 - "c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to 'c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.11.0 - "c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin"
            CscToolExe = csc.exe
            CscToolPath = c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Roslyn
            MSBuildExtensionsPath = c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild
            MSBuildToolsPath = c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in 'c:\Users\willi\Desktop\Rat\Quasar'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in 'c:\Users\willi\Desktop\Rat\Quasar'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location 'c:\Users\willi\Desktop\Rat\Quasar' on host 3860.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj'.
c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj
c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
 
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj'.
c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj
c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
 
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj'.
c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj
c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
 
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj'.
c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj
c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
 
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj```
Originally created by @kernelwernel on GitHub (Jul 13, 2021). Original GitHub issue: https://github.com/quasar/Quasar/issues/994 I'm asking this on the part of someone where they're having this issue they're having. When starting, this error log shows up. Any help? ```Starting OmniSharp server at 7/13/2021, 4:35:09 AM Target: c:\Users\willi\Desktop\Rat\Quasar\Quasar.sln OmniSharp server started. Path: c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\OmniSharp.exe PID: 8976 [info]: OmniSharp.Stdio.Host Starting OmniSharp on Windows 6.2.9200.0 (x64) [info]: OmniSharp.Services.DotNetCliService DotNetPath set to dotnet [info]: OmniSharp.MSBuild.Discovery.MSBuildLocator Located 1 MSBuild instance(s) 1: StandAlone 16.11.0 - "c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin" [info]: OmniSharp.MSBuild.Discovery.MSBuildLocator MSBUILD_EXE_PATH environment variable set to 'c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\MSBuild.exe' [info]: OmniSharp.MSBuild.Discovery.MSBuildLocator Registered MSBuild instance: StandAlone 16.11.0 - "c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin" CscToolExe = csc.exe CscToolPath = c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Roslyn MSBuildExtensionsPath = c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild MSBuildToolsPath = c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140 [info]: OmniSharp.Cake.CakeProjectSystem Detecting Cake files in 'c:\Users\willi\Desktop\Rat\Quasar'. [info]: OmniSharp.Cake.CakeProjectSystem Could not find any Cake files [info]: OmniSharp.MSBuild.ProjectSystem Detecting projects in 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.sln'. [info]: OmniSharp.MSBuild.ProjectManager Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj' [info]: OmniSharp.MSBuild.ProjectManager Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj' [info]: OmniSharp.MSBuild.ProjectManager Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj' [info]: OmniSharp.MSBuild.ProjectManager Queue project update for 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj' [info]: OmniSharp.Script.ScriptProjectSystem Detecting CSX files in 'c:\Users\willi\Desktop\Rat\Quasar'. [info]: OmniSharp.Script.ScriptProjectSystem Could not find any CSX files [info]: OmniSharp.WorkspaceInitializer Configuration finished. [info]: OmniSharp.Stdio.Host Omnisharp server running using Stdio at location 'c:\Users\willi\Desktop\Rat\Quasar' on host 3860. [info]: OmniSharp.MSBuild.ProjectManager Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj [fail]: OmniSharp.MSBuild.ProjectLoader The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [warn]: OmniSharp.MSBuild.ProjectManager Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj'. c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [info]: OmniSharp.MSBuild.ProjectManager Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj [fail]: OmniSharp.MSBuild.ProjectLoader The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [warn]: OmniSharp.MSBuild.ProjectManager Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj'. c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [info]: OmniSharp.MSBuild.ProjectManager Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj [fail]: OmniSharp.MSBuild.ProjectLoader The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [warn]: OmniSharp.MSBuild.ProjectManager Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj'. c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [info]: OmniSharp.MSBuild.ProjectManager Loading project: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj [fail]: OmniSharp.MSBuild.ProjectLoader The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [warn]: OmniSharp.MSBuild.ProjectManager Failed to load project file 'c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj'. c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj c:\Users\willi\.vscode\extensions\ms-dotnettools.csharp-1.23.12\.omnisharp\1.37.10\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1216,5): Error: The reference assemblies for .NETFramework,Version=v4.5.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [fail]: OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Server\Quasar.Server.csproj [fail]: OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Client\Quasar.Client.csproj [fail]: OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common\Quasar.Common.csproj [fail]: OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded: c:\Users\willi\Desktop\Rat\Quasar\Quasar.Common.Tests\Quasar.Common.Tests.csproj```
kerem closed this issue 2026-02-27 15:51:30 +03:00
Author
Owner

@BurntDog commented on GitHub (Jul 13, 2021):

Start by updating .NETFramework version to .NETFramework,Version=v4.5.2 or newer, "Error" (.NETFramework,Version=v4.5.2 were not found.)
You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

<!-- gh-comment-id:879203029 --> @BurntDog commented on GitHub (Jul 13, 2021): Start by updating .NETFramework version to .NETFramework,Version=v4.5.2 or newer, "Error" (.NETFramework,Version=v4.5.2 were not found.) You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
Author
Owner

@MaxXor commented on GitHub (Jul 24, 2021):

What IDE do you use to build Quasar?

<!-- gh-comment-id:886100204 --> @MaxXor commented on GitHub (Jul 24, 2021): What IDE do you use to build Quasar?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#703
No description provided.