I've looked at related questions for this issue but none of them solve my issue.
I have the following specified in my .nuspec
file
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Selenium.Support" version="[3.141.0]" />
<dependency id="RestSharp" version="[106.10.1]" />
<dependency id="DotNetSeleniumExtras.WaitHelpers" version="[3.11.0]" />
</group>
</dependencies>
The target framework reference came from here
My SASelenium.Framework.csproj
looks like the following...
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Company>Smart Apprentices</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Selenium.Support" Version="3.141.0"/>
<PackageReference Include="RestSharp" Version="106.10.1"/>
<PackageReference Include="DotNetSeleniumExtras.WaitHelpers" Version="3.11.0"/>
</ItemGroup>
</Project>
If I do a nuget pack SASelenium.Framework.csproj
and attempt to browse the package locally in Visual Studio, I see the following....
Then when I install it, none of the dependancies are installed automatically
What am I doing wrong here?
The project I am trying to install the package in is a .NET Core 3.1 console application
.
My version of nuget is 4.9.4