You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a simple .net standard 2 library containing a one class. When I install it with .net core projects it's linked correctly.
In case I install it into the .net Framework 4.6.1 project the reference package is not linked (when I install it using nuget everything is fine). When I run install in the verbose mode I can see that it uses the ToolsVersion 14. Is it correct that paket uses ToolsVersion 14 when linking .net standard libraries?
Can anyone help me to determine the problem?
Best regards,
MiloszeS
Repro steps
Create netstandard 2 library and create a nuget package
install it using paket for a .NetFramework 4.6.1
The package won't be linked.
If possible then please create a git repository with a repro sample or attach a zip to the issue.
Expected behavior
Package is installed with paket.
Actual behavior
Package is not installed. The logs:
.paket\paket.exe install --verbose
Paket version 5.97.0
found: D:\Sandbox\Nuget\Net46Console\paket.dependencies
Parsing D:\Sandbox\Nuget\Net46Console\paket.dependencies
Resolving packages for group Main:
0 packages in resolution.
1 requirements left
- NetStandardSharedLibrary, (from D:\Sandbox\Nuget\Net46Console\paket.dependencies)
Found Explored Package NetStandardSharedLibrary 0.0.1.1
Locked version resolution written to D:\Sandbox\Nuget\Net46Console\paket.lock
Installing into projects:
Net46Console/paket.references -> Net46Console/Net46Console.csproj
Installing to D:\Sandbox\Nuget\Net46Console\Net46Console\Net46Console.csproj with ToolsVersion 14
Hi,
I've created a simple .net standard 2 library containing a one class. When I install it with .net core projects it's linked correctly.
In case I install it into the .net Framework 4.6.1 project the reference package is not linked (when I install it using nuget everything is fine). When I run install in the verbose mode I can see that it uses the ToolsVersion 14. Is it correct that paket uses ToolsVersion 14 when linking .net standard libraries?
Can anyone help me to determine the problem?
Best regards,
MiloszeS
Repro steps
Create netstandard 2 library and create a nuget package
The package won't be linked.
If possible then please create a git repository with a repro sample or attach a zip to the issue.
Expected behavior
Package is installed with paket.
Actual behavior
Package is not installed. The logs:
.paket\paket.exe install --verbose
Paket version 5.97.0
found: D:\Sandbox\Nuget\Net46Console\paket.dependencies
Parsing D:\Sandbox\Nuget\Net46Console\paket.dependencies
Resolving packages for group Main:
0 packages in resolution.
1 requirements left
- NetStandardSharedLibrary, (from D:\Sandbox\Nuget\Net46Console\paket.dependencies)
Trying to resolve NetStandardSharedLibrary (from D:\Sandbox\Nuget\Net46Console\paket.dependencies)
Starting request to 'https://www.nuget.org/api/v2/FindPackagesById()?semVerLevel=2.0.0&id='NetStandardSharedLibrary''
Starting request to 'https://xxx/repository/library-dev/FindPackagesById()?semVerLevel=2.0.0&id='NetStandardSharedLibrary''
Source 'https://xxx/repository/library-dev' yielded (0): [0.0.1 ; 0.0.1.1]
Request 'https://xxx/repository/library-dev/FindPackagesById()?semVerLevel=2.0.0&id='NetStandardSharedLibrary'' finished with: [0.0.1 ; 0.0.1.1]
Request 'https://xxx/repository/library-dev/Packages?semVerLevel=2.0.0&$filter=Id eq 'NetStandardSharedLibrary'' was cancelled (another one was faster)
Source 'https://www.nuget.org/api/v2' yielded (0): []
Request 'https://www.nuget.org/api/v2/FindPackagesById()?semVerLevel=2.0.0&id='NetStandardSharedLibrary'' finished with: []
Request 'https://www.nuget.org/api/v2/Packages?semVerLevel=2.0.0&$filter=Id eq 'NetStandardSharedLibrary'' was cancelled (another one was faster)
NetStandardSharedLibrary 0.0.1.1
Starting request to 'https://xxx/repository/library-dev/Packages(Id='netstandardsharedlibrary',Version='0.0.1.1')'
Response from https://xxx/repository/library-dev/Packages(Id='netstandardsharedlibrary',Version='0.0.1.1'):
Found Explored Package NetStandardSharedLibrary 0.0.1.1
Locked version resolution written to D:\Sandbox\Nuget\Net46Console\paket.lock
Installing into projects:
Downloading NetStandardSharedLibrary 0.0.1.1
Downloading directly from DownloadLink: https://xxx/repository/library-dev/NetStandardSharedLibrary/0.0.1.1
Downloading from https://xxx/repository/library-dev/NetStandardSharedLibrary/0.0.1.1 to C:\Users\xxx.nuget\packages\NetStandardSharedLibrary\0.0.1.1\NetStandardSharedLibrary.0.0.1.1.nupkg
Downloaded NetStandardSharedLibrary 0.0.1.1 from https://xxx/repository/library-dev/NetStandardSharedLibrary/0.0.1.1.
NetStandardSharedLibrary 0.0.1.1 unzipped to D:\Sandbox\Nuget\Net46Console\packages\NetStandardSharedLibrary
Installing to D:\Sandbox\Nuget\Net46Console\Net46Console\Net46Console.csproj with ToolsVersion 14
Project D:\Sandbox\Nuget\Net46Console\Net46Console\Net46Console.csproj changed
Performance:
Known workarounds
Install with nuget.
The text was updated successfully, but these errors were encountered: