-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mixed with <PackageReference PrivateAssets=All
doesnt download the nupkg
#2930
Comments
"mixed" is not supported any anyway. Because we have nuget.config that
forbids additional packages.
Am 05.12.2017 18:32 schrieb "Enrico Sada" <[email protected]>:
… Description
If not already in cache, the PackageReference is not download
Repro steps
- dotnet new lib -lang F#
- make it paket ready
- add <PackageReference Include="SourceLink.Create.CommandLine"
Version="2.1.1" PrivateAssets="All" />
- dotnet restore
Expected behavior
the package reference is added, and doesnt exists in the deps after dotnet
pack
Actual behavior
fails with
E:\temp\provactag\provactag.fsproj : error NU1100: Unable to resolve 'SourceLink.Create.CommandLine (>= 2.1.1)' for '.NETStandard,Version=v2.0'.
`
### Known workarounds
Create a group, and restore it before the `dotnet restore`, with the exact version, so the nupkg is in cache
group NetCoreTools
storage: none
source https://nuget.org/api/v2
nuget SourceLink.Create.CommandLine 2.1.1
and `paket restore -g NetCoreTools`
after that, `dotnet restore` works
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2930>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNBVB1so9oZkclG5dJO7i2j_C5Yftks5s9X41gaJpZM4Q2rIg>
.
|
Closing so. It always worked for me, minus this issue, i was thinking was an ok scenario ( |
add workaround for fsprojects#2930 f add workaround for fsprojects#2930
There is an issue about adding development dependencies to the netcore
support. I just need to know how to set the attributes
Am 05.12.2017 18:39 schrieb "Enrico Sada" <[email protected]>:
… Closed #2930 <#2930>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2930 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADgNLq7JxLxkZd6lk5Z1CXVKMDZ4aBGks5s9X-2gaJpZM4Q2rIg>
.
|
@forki info is in #2370 (comment) The added
Plus Pratically, if in netcore is easier, because in paket target file you create the Sorry, but atm no time to implement that :( but happy to help undestand how works |
Description
If not already in cache, the
PackageReference
is not downloadedAtm is not yet possibile to specify that type of dependency in paket only, ref #2370
Repro steps
dotnet new lib -lang F#
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.1.1" PrivateAssets="All" />
dotnet restore
Expected behavior
the package reference is added, and doesnt exists in the deps after
dotnet pack
Actual behavior
fails with
Known workarounds
Create a group, and restore it before the
dotnet restore
, with the exact version, so the nupkg is in cacheand
paket restore -g NetCoreTools
after that,
dotnet restore
worksThe text was updated successfully, but these errors were encountered: