Questions tagged [nuget]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
72 views

How to use Sitecore NuGet packages after upgrade?

We did 9.2 upgrade on our website and since NoReferences packages are removed, we have started the install & upgrade these packages by using NuGet's builtin ability to Ignore Dependencies. But ...
6
votes
1answer
318 views

Could not load file or assembly 'System.Buffers' or one of its dependencies

I'm getting an assembly binding error with System.Buffers when working with Sitecore 9.2. What could be causing this? With assembly binding logging enabled, it appears the issue is a binding redirect ...
0
votes
0answers
50 views

Sharing Sitecore content as a NuGet package

Background In our Sitecore 9 solution, we follow Helix principles, when structuring our code and we wish to create NuGet packages that can be re-used across multiple projects. The NuGet packages ...
0
votes
1answer
38 views

Creating a custom Sitecore NuGet package containing Unicorn files

Background We have a Sitecore 9.1.1 project following Helix principles and wish to create Nuget packages from some of the custom layer projects (e.g. Customer.Foundation.Dictionary, Customer....
3
votes
1answer
53 views

Sitecore namespace not found when referencing v8.0 packages via NuGet

I have a clean VS 2019 project targeting .NET Framework 4.5 referencing Sitecore.Kernel and Sitecore.ContentSearch packages (specifically v8.0.150812) via NuGet using PackageReference. However, I get ...
1
vote
1answer
90 views

Why can't I install Sitecore.Kernel v9.1.1 via Nuget?

I am upgrading an old VS project that was built using Sitecore 7.2. I have changed the target .NET Framework to 4.7.1. Now I am trying to install Sitecore.Kernel v9.1.1 via Nuget. However when I ...
0
votes
1answer
34 views

Cannot add Sitecore.Commerce.Plugin.Orders

When attempting to add a NuGet reference to Sitecore.Commerce.Engine.Orders, version 2.1.5, I get the following error: NU1603: Sitecore.Commerce.Plugin.Availability 2.1.3 depends on Sitecore.Commerce....
0
votes
0answers
20 views

Error when migrating from the NuGet repo *sc-packages-9-1* to *sc-packages* [duplicate]

We have the following reference to a Sitecore 9.1 DLL in one of our Visual Studio project: <package id="Sitecore.Abstractions" version="12.0.0" targetFramework="net472" /> And everything used ...
0
votes
1answer
32 views

Commerce Dependencies Management (Nuget maybe)

We are currently implementing Commerce solution based on SXA-commerce approach (using Helix-architecture). We use & extend Sitecore.Commerce.XA.*.dll libraries. So, for example, if we want to ...
1
vote
1answer
38 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
454 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 -...
13
votes
1answer
3k 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 ...
9
votes
1answer
1k 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?
5
votes
2answers
227 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
339 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
236 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
44 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 '...
2
votes
2answers
94 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
97 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
511 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
58 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
89 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
535 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 ...
18
votes
4answers
3k 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
315 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
76 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
269 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
466 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 ...
7
votes
2answers
239 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 ...
32
votes
3answers
1k 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 ...