Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nuget]

Questions about NuGet, regarding Sitecore's nuget feed or other nuget questions related to Sitecore development

1
vote
1answer
15 views

Unable to get Sitecore.NVelocity from Nuget on Build Server

Solution builds just fine on local environment but the build server fails to locate Sitecore.NVelocity. Thoughts on why it is not found? The nuget.config file has an entry below: <add key="...
1
vote
3answers
118 views

Sitecore.Kernel nuget package fails to install from 9.1.0 nuget feed with -IgnoreDependencies

I am trying to use new nuget feed for Sitecore 9.1.0 - https://sitecore.myget.org/F/sc-platform-9-1/api/v3/index.json and when running next command: install-package Sitecore.Kernel -...
10
votes
1answer
262 views

What are PackageReferences and how will they help optimise the way I deal with NuGet packages?

With version 9.1, Sitecore changed their NuGet library to no longer include NoReferences versions of their assemblies. This is also mentioned in How do I reference Sitecore binaries from NuGet?. One ...
8
votes
1answer
387 views

Where can I find the NuGet packages for Sitecore 9.1? [duplicate]

Sitecore 9.1 has been released, but I can't see the 9.1 packages in my normal NuGet feed. Are they not released yet, or has something changed?
2
votes
1answer
77 views

NU1603 build error on Sitecore.Nexus when using Sitecore Nuget

After referencing Sitecore.Kernel via the Sitecore 9.1 Platform nuget feed, I am seeing the following build error: Sitecore.Nexus 3.0.0 depends on Sitecore.Nexus.Licensing (>= 2.0.3 && &...
0
votes
1answer
196 views

Sitecore.Kernel.NoReferences framework target changed after Sitecore 9 update 2 package update [duplicate]

I have recently installed a fresh version of Sitecore 9 update 2. After installation when I updated my project's Sitecore nuget packages, all my Sitecore.Kernel.NoReferences targeted to .NET4.5.2. All ...
3
votes
2answers
133 views

Why are my Sitecore Nuget packages installed in the wrong folder?

We noticed an issue when a new team member did a local setup of my project. The Sitecore Nuget packages did not get resolved correctly. After a while I noticed that the packages on the new install ...
1
vote
0answers
39 views

Cannot upgrade nuget package due to Microsoft.Extensions.Configuration

We are trying to install the following NuGet package: Microsoft.IdentityModel.Protocols.OpenIdConnect However, we are being blocked by this error message: Error Unable to find a version of '...
1
vote
1answer
51 views

Sitecore Publishing Service nuget packages

I am trying to use nuget package to install this dll "Sitecore.Publishing.Service.dll" but it seems that it is not there , any one know what is the nuget package for Sitecore Publishing Service dlls?
3
votes
1answer
87 views

Recommended way of organizing a multi Sitecore version module

I'm working on a Module for the Sitecore Marketplace and was contemplating how best to release it against the myriad of different versions out there. Which led me to the following key question which I ...
7
votes
2answers
330 views

How can I get a specific dll file to be added to .update package on TDS project build?

How can I get a specific dll file to be added to .update package on TDS project build ?
1
vote
2answers
51 views

Determining NuGet packages to include to resolve Usings

Using Sitecore 8.2, Im spending a fair bit of time trying to figure out which packages to include and there doesn't seem to be helpful documentation for this. For example, I have some code which uses ...
1
vote
0answers
79 views

TDS Package Bundling does not work with NuGet Package Generation

I am attempting to separate and version the Helix Foundation Layer modules into its own solution. I am using TDS/VS2017/Sitecore_8.1U2. Based on documentation, I would like to generate an Update ...
0
votes
2answers
447 views

Sitecore 8.2 Glass.Mapper strange intellisense errors in cshtml files

I'm having a lot of trouble getting our solution working in VS 2015 using the latest version of Glass. As suggested previously I have checked all projects and they now all have consistent DLL version ...
16
votes
4answers
2k views

When should I use the “NoReferences” NuGet packages?

I'm converting a Habitat solution using DLLs checked into source control over to NuGet packages using the Sitecore package source feed. When should I use the packages marked NoReferences (so that I ...
7
votes
5answers
270 views

Update web.config configuration in a Sitecore module

I am working on creating a module that I was hoping to have be installed right thru the Sitecore shell. The deeper I go, the more I realize I will need to make manual changes to the web.config to get ...
4
votes
1answer
66 views

Dependency issue in 8.1u3 NuGet package

Using a blank .NET 4.5 web project, the Sitecore NuGet package from https://sitecore.myget.org/F/sc-packages/api/v3/index.json for 8.1.160519 (u3) fails to install with the error message: Unable to ...
8
votes
3answers
238 views

Which Sitecore Nuget Package should I use?

If I am starting a basic Sitecore MVC project, which package(s) should I install? The main Sitecore package seems like overkill. For now I will just be creating some basic components, though some ...
5
votes
1answer
403 views

Where can I find the NuGet package(s) for MongoDB required by Sitecore 8.1 (update 3)

I've done an upgrade of Sitecore 8 to 8.1 update 3. I notice that this version of Sitecore references version 1.10.0.62 of MongoDB.Bson and MongoDB.Driver. Where can I find these NuGet packages? I've ...
5
votes
2answers
215 views

NuGet Package reference issue: Sitecore.Serilog.Framework.Logging

Is anyone out there using the Sitecore Commerce 8.2.1 CTP 3 release VM. I am having a NuGet Package reference issue in the Sitecore.Commerce.Plugin.Sample project wondering if anyone has gotten past ...
31
votes
2answers
608 views

How do I reference Sitecore binaries from NuGet?

I've heard through the grapevine that Sitecore DLL's can be referenced through the use of NuGet Packages. I found Sitecore.NuGet, but I don't think that's the right option. I also found this blog ...