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:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Thank you all, I will try the @antiufo suggestion . and I’ll fill a issue at nuget/home for discussion purpose.