Questions tagged [packages.config]

The packages.config file is used in some project types to maintain the list of packages referenced by the project. This allows NuGet to easily restore the project's dependencies when the project to be transported to a different machine, such as a build server, without all those packages.

If used, packages.config is typically located in a project root. It's automatically created when the first NuGet operation is run, but can also be created manually before running any commands such as nuget restore.

Projects that use PackageReference do not use packages.config.

25 questions
1
vote
0 answers

Microsoft.NET.Sdk.Web and packages.config

I have a web project that I'm trying to convert to Microsoft.NET.Sdk.Web. When I make the change to the .csproj file, though, it seems to force it to be interpreted as a -based project. Of course, isn't supported…
Jonathan Gilbert
  • 3,526
  • 20
  • 28
1
vote
0 answers

Migration of .NET Framework packages.config to PackageReferences removed most References and shows warnings and errors

I have a legacy .NET Framework solution (ASP.NET) which I am trying to slowly fix the technical debt for. I tried to move the packages.config to PackageReferences in 4 of the 5 projects in the solution (the non-ASP.NET ones). One of the projects, an…
1
vote
0 answers

What is the difference between binding redirection under packagereference and packages.config?

On multiple GitHub issues, you can see that there are differences between packages.config and Package Reference. Most explanations: packages.config is bound during download and Package Reference is at runtime, but what are the specific differences?…
Smart
  • 21
  • 3
1
vote
1 answer

packages.config file is ignored during Visual Studio Build and nuget restore commands

I am trying to setup automated nuget package restoration on a vs build or command line build. When following the specified Microsoft…
thxmike
  • 614
  • 1
  • 7
  • 25
1
vote
0 answers

How to add intellisense to packages.config (nuget packages) without losing all the setting when adding more packages

I updated the packages element in packages.config as follows: Also added a packages.xsd:
Yovav
  • 2,557
  • 2
  • 32
  • 53
1
vote
0 answers

Is it safe to edit the packages.config file in Visual Studio?

I removed Microsoft.ApplicationInsights from my Windows Store (8.1) app, but it keeps coming back (with a yellow warning glyph) beneath "References". It doesn't seem to really cause much mayhem, but I'd still like to completely get rid of it out of…
0
votes
1 answer

How to run an ASP.NET web forms application with missing Web.config and and packages.config files?

I'm collaborating on an ASP.NET web forms web application where there is no "Web.config" and no "packages.config" files. How can I run this application locally ?
user9115388
0
votes
0 answers

twilio download-invalid environment marker: python_version>="3.0"

The picture shows invalid environment or Microsoft Visual c++ required and unable to find vcvarsall.bat.
Chaitanya
  • 1
  • 1
0
votes
2 answers

NuGet.exe install error 9009 - Downloaded Git repo won't build - mono--runtime=v4.0.30319

I'm not the most experienced programmer so please excuse any information that is irrelevant here. Better for me to put as much detail down as I can. I'm working with a team solution in Visual Studio 2013 on windows, and just recently we had some…
JonnyKnottsvill
  • 1,123
  • 2
  • 16
  • 39
0
votes
1 answer

How can I use ubuntu service to make a process persistent?

I am not convinced that is the right terminology but here is my situation. I log into an Ubuntu server using ssh and start a node app that I wrote. I would like for the app to continue rinning even when I close the ssh window or when the window…
Nuhuxi
  • 49
  • 5
1
2