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
0
votes
0answers
32 views

Error NU5012: Unable to find 'EnterpriseLibrary.Common.6.0.1304.0.nupkg'. Make sure the project has been built

I am trying to create a nuget package of my .NET Framework project - 'MyProj.csproj'. For this, I have created nuspec file using nuget.exe commands and have changed the assembly info as well. Now, on ...
1
vote
1answer
33 views

Creating nuget package with sitecore items, dll and config

We need to create nuget packages for reusable code to be used across our organization. Each component to be packaged contains dll, configs and sitecore items. My doubt is - Is there any specific ...
1
vote
1answer
77 views

how to upgrade the sitecore packages from 9.2 to 9.3 using nuget

I am a newbie in sitecore. I have install sitecore Version 9.3 and I have the visual studio solution file with version 9.2(it contains sitecore 9.2 pacakges) i need to upgrade all the dependecy ...
0
votes
0answers
70 views

ISSUE Nuget restore of sitecore.myget.org [duplicate]

Today when I try to call NuGet to restore from gulp files for 1) https://sitecore.myget.org/F/sc-packages/api/v3/index.json is asking for credentials, which was working fine till yesterday. When I ...
0
votes
1answer
35 views

How to identify configured tasks in visual studio

I would like to understand an existing VS project build/publish scripts. this project was built using sitecore helix architecture. Currently i dont see any tasks configured for the project. In the ...
1
vote
0answers
44 views

Nuget package to publish Helix config files

OK, I'm probably getting my methodologies mixed up here! We have a central library solution of code which is shared across Sitecore sites ... Inside of this, we have a Foundation project containing ...
1
vote
1answer
123 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 ...
10
votes
1answer
5k 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
92 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
68 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
199 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
189 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
42 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
34 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
48 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
100 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
996 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 -...
15
votes
1answer
9k 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
2k 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
382 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
498 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
339 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
57 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
143 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
107 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
775 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
63 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
94 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
658 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 ...
20
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
372 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
78 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
283 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
519 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
252 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
2k 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 ...