Skip to content

Make AOT compiler work with VS 2022 #1618

@davidfowl

Description

@davidfowl

I uninstalled VS 2019 and I get this error when trying to use native AOT with .NET 6:

C:\Users\david\.nuget\packages\microsoft.dotnet.ilcompiler\7.0.0-alpha.1.21503.2\build\Microsoft.NETCore.Native.Windows.props(113,5): error : Platform linker not found. To fix this problem, download and install Visual Studio 2019 from http://visualstudio.com. Make sure to install the Desktop Development for C++ workload. For ARM64 development also install C++ ARM64 build tools. [C:\Users\david\source\repos\WebApplication564\WebApplication564\WebApplication564.csproj]

Do I need to do anything special to make it work with VS 2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-NativeAOT-coreclr.NET runtime optimized for ahead of time compilation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions