question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: add <PackageFileReference /> in project file

See original GitHub issue

<PackageFileReference Include="../../privatepackags/myapp.nupkg" /> as an alternative to <Reference /> , Reference point to .dll , and PackageFileReference point to .nupkg .

Reasons for not use use myget or self deployed nuget server.

  • myget is slow.
  • deploy and configurate an nuget server costing time.
  • .dll file is bad for dependency and for multi-target .
  • private nuget package that has same name and version on nuget or myget

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
antiufocommented, Aug 20, 2018

You can add a plain, normal folder to your NuGet.config, it doesn’t have to be a URL. Just put your nupkg files there.

0reactions
John0Kingcommented, Aug 21, 2018

Thank you all, I will try the @antiufo suggestion . and I’ll fill a issue at nuget/home for discussion purpose.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PackageReference in project files - NuGet
In this article​​ Package references, using <PackageReference> MSBuild items, specify NuGet package dependencies directly within project files, ...
Read more >
Add a package with a local package file in 'dotnet'
Using the dotnet command line tool, how can I add a reference to an existing local package that is not downloaded with NuGet?...
Read more >
Nuget Packagereference In Visual Studio
The project's .csproj file contains Reference elements that point to the assemblies. Packages.config format folder layout and text samples
Read more >
PackageReference broken in WPF projects due to ...
Create a new WPF app; Make sure VS is set to use PackageReference; Install-Package Nerdbank.GitVersioning; In the MainWindow.xaml.cs file, ...
Read more >
NuGet packages in the Package Registry
Publish NuGet packages in your project's Package Registry. Then, install the packages whenever you need to use them as a dependency. The Package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found