Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VS Code - The reference assemblies for .NETFramework ,Version=v4.8 were not found.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VS Code - The reference assemblies for .NETFramework ,Version=v4.8 were not found.

    Hi,

    Understood VS code is not officially supported. But just wondering if you have quick answer to below.

    When I use VS Code to load the
    c:\Users\leont\Documents\NinjaTrader 8\bin\Custom\ folder, I got below error.
    But I'm 100% sure that I have installed .Net Framwork SDK 4.8.
    Have you faced this problem and what is solution?


    [fail]: OmniSharp.MSBuild.ProjectLoader
    The reference assemblies for .NETFramework,Version=v4.8 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\leont\Documents\NinjaTrader 8\bin\Custom\NinjaTrader.Custom.csproj'.
    c:\Users\leont\Documents\NinjaTrader 8\bin\Custom\NinjaTrader.Custom.csproj
    c:\Users\leont\.vscode\extensions\ms-dotnettools.csharp-1.23.8\.omnisharp\1.37.5\.msbuild\Current\Bin\Micr osoft.Common.CurrentVersion.targets(1180,5): Error: The reference assemblies for .NETFramework,Version=v4.8 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\leont\Documents\NinjaTrader 8\bin\Custom\NinjaTrader.Custom.csproj


    #2
    Hello leontancfa,

    I wouldn't be able to answer for VS Code, but for Visual Studio this sometimes mean that the runtime .NET and not the developer pack was installed.
    Downloads for building and running applications with .NET Framework 4.8 . Get web installer, offline installer, and language pack downloads for .NET Framework.


    A google search is suggesting changes to a few files.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    72 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    152 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X