File: ProjectStyle.cs
Web Access
Project: src\src\nuget-client\src\NuGet.Core\NuGet.ProjectModel\NuGet.ProjectModel.csproj (NuGet.ProjectModel)
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;

namespace NuGet.ProjectModel
{
    public enum ProjectStyle : ushort
    {
        /// <summary>
        /// Unknown
        /// </summary>
        Unknown = 0,

        /// <summary>
        /// UAP style, project.lock.json is generated next to project.json
        /// </summary>
        ProjectJson = 1,

        /// <summary>
        /// MSBuild style, project.assets.json is generated in the RestoreOutputPath folder
        /// </summary>
        PackageReference = 2,

        /// <summary>
        /// DotnetCliToolReference "project"
        /// </summary>
        DotnetCliTool = 3,

        /// <summary>
        /// Non-MSBuild project with no project dependencies.
        /// </summary>
        [Obsolete("This project style is unsupported. Do not call restore with this project style.")]
        Standalone = 4,

        /// <summary>
        /// Packages.config project
        /// </summary>
        PackagesConfig = 5,

        /// <summary>
        /// DotnetToolReference project
        /// </summary>
        [Obsolete("This project style is unsupported. Do not call restore with this project style.")]
        DotnetToolReference = 6
    }
}