hasan
hasan

Reputation: 24195

packages.config is missing in visual stiudio 2017 Web Application

After creating new Web Application and adding a NuGet dependencies.

Figured that the packages.config file is missing. The application is working perfectly. How does dependencies get linked to the project in Visual Studio 2017?

Upvotes: 2

Views: 2846

Answers (1)

hasan
hasan

Reputation: 24195

As mendtioned here, packages.config file is no longer needed. The dependencies references is included in the .NET Core project files.

csproj xml:

<ItemGroup>
    <!-- ... -->
    <PackageReference Include="Contoso.Utility.UsefulStuff">
        <Version>3.6.0</Version>
    </PackageReference>
    <!-- ... -->
</ItemGroup>

Upvotes: 6

Related Questions