Questions tagged [nuget]
Questions about NuGet, regarding Sitecore's nuget feed or other nuget questions related to Sitecore development
51
questions
1
vote
1
answer
56
views
Where have all my Nuget transitive dependencies gone?
Problem Statement
I'm upgrading a local environment from Sitecore 10.3 to 10.3.1. The platform is easy enough to upgrade using Docker with an update to my IMAGE TAG version: 10.3-ltsc2019 to 10.3.1-...
5
votes
1
answer
704
views
Cannot access sitecore.myget.org
This has been asked a few times, it's a "current problem" that will not be of long term use on SSE, but because of the number of duplicate questions I'm creating this as a community wiki.
At ...
0
votes
2
answers
44
views
Prolonged Unavailability of myorg: Seeking Alternative Sitecore Repositories [closed]
My team and I are currently engaged with a Sitecore Commerce project, and one of the key repositories we rely upon is https://sitecore.myget.org/F/sc-commerce-packages/api/v3/index.json. Regrettably, ...
0
votes
1
answer
389
views
Sitecore MyGet repository access issue [closed]
Since two days sitecore.myget.org is down and we use https://sitecore.myget.org/F/sc-packages/ URL to restore the Sitecore packages from Nuget while deployment on server using CI/CD pipeline.
As ...
7
votes
0
answers
1k
views
Has the Sitecore Nuget feed been decommissioned or is it just down? [closed]
https://sitecore.myget.org/F/sc-packages/
I cannot seem to hit the Sitecore Nuget feed at all. It seems like the Sitecore Nuget feed is unreachable or does not exist anymore.
0
votes
2
answers
154
views
Using .NET Standard NuGet Packages in 10.3
I'm trying to plug a NET Standard 2.0 Nugget Package into Sitecore 10.3. I’m trying to make Microsoft.Extensions.Configuration.AzureAppConfiguration work but running into conflicts with out of the box ...
1
vote
1
answer
188
views
Can not upgrade Sitecore solutions to use Microsoft.Extensions.DependencyInjection.Abstractions 7.0.0 [closed]
Trying to upgrade Nuget packages for the below listed libraries from 3.1.5 to the latest Microsoft.Extensions.*.*.7.0.0.
But as they have been referenced in Sitecore.Kernel (10.1.0). Nuget is still ...
1
vote
1
answer
583
views
Unable to install Sitecore.Kernel in new solution
I have set up a new solution for Sitecore 10.2 instance. I have created a new project targeting .Net Framework 4.8. When I try to install Sitecore.Kernel, I get this error
Unable to resolve dependency ...
0
votes
1
answer
34
views
Sitecore.Kernet Package installation from Nuget Package Manager error
When I am trying to install Sitecore.Kernel or any other package from Nuget Package Manager i am getting this error
2
votes
1
answer
457
views
Sitecore.LayoutService.dll version mismatch between NuGet and Headless Services package
On Sitecore 10.1.1, I've got Sitecore Headless Services Server XP 18.0.0 rev. 00473 installed. According to documentation, that's the correct version. The package brings Sitecore.LayoutService.dll ...
0
votes
0
answers
206
views
NuGet update step is failing as private NuGet feed url is inaccessible from docker
We are trying to create a custom image as part of containerizing our Sitecore solution. But it is failing at NuGet restore step. We are using a private NuGet feed which can be accessed only with our ...
3
votes
2
answers
771
views
NuGet Restore not Working When Building Sitecore Images
I'm trying to spin up the following Sitecore environment using docker:
https://github.com/Sitecore/docker-examples/tree/develop/custom-images
I've already run the Init.ps1 script that fills in all the ...
1
vote
1
answer
401
views
NU1101: Unable to find package SVS.Build.No packages exist with this id in source(s)
When we were trying to create a build pipeline the scs project getting the below error
##[error]The nuget command failed with exit code(1)
(NU1101: Unable to find package SVS.Build. No packages ...
0
votes
0
answers
163
views
Referencing Sitecore 10.0 Update 1 Nuget
Currently only Sitecore 10 Initial Version (Sitecore 10.0.0) and Sitecore 10.1.0 are in the list coming from Sitecore nuget.
For example this dll for Layout Service has version 6.0.0 for Sitecore 10....
1
vote
3
answers
405
views
What is the purpose of Sitecore.Assemblies.Platform nuget package?
What is this package for?
What problem does it solve?
How should it be used?
Example https://sitecore.myget.org/feed/sc-packages/package/nuget/Sitecore.Assemblies.Platform/9.3.0
0
votes
0
answers
1k
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 ...
2
votes
1
answer
465
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 ...
2
votes
1
answer
559
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
0
answers
129
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
1
answer
102
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
0
answers
103
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
1
answer
274
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 ...
11
votes
1
answer
17k
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
0
answers
209
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
1
answer
152
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....
4
votes
1
answer
853
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
1
answer
351
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 ...
1
vote
1
answer
73
views
Sitecore.Commerce.Plugin.Catalog 2.1.9 was not found
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
0
answers
39
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
1
answer
58
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
1
answer
202
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
3
answers
2k
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 -...
19
votes
1
answer
19k
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
1
answer
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
2
answers
1k
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
1
answer
707
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
2
answers
466
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
0
answers
138
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
2
answers
291
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
1
answer
152
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 ...
8
votes
2
answers
1k
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
2
answers
96
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
0
answers
132
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
2
answers
953
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 ...
21
votes
4
answers
4k
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
5
answers
461
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
1
answer
85
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
3
answers
327
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
1
answer
536
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 ...
6
votes
2
answers
332
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 ...