0
votes
0answers
14 views

Excluding all files of a type in NuGet

Problem: I have .sql files in my Visual Studio project which I want to exclude from my NuGet package. These .sql files are nested into various directories, and I have been unable to successfully ...
2
votes
0answers
20 views
+100

How can I add a script reference to _Layout.cshtml with a NuGet package?

I have a helper called 'SelectionOtherInput', for capturing a meaningful value when a user chooses 'Other' on a select list. I have built a NuGet package for it, and it is ready to use as installed, ...
0
votes
0answers
25 views

Visual Studio 2012 - How to add a file link to a file in the same project

When I add a file from another Visual Studio 2012 project to my current project by using the 'Add As Link' option from the 'Add Existing Item' dialog. The file link is nicely created and everything is ...
2
votes
1answer
49 views

What is the point of Nuget packages?

Maybe I'm doing something wrong or expressing pure ignorance here, but I can't really see how Nuget packages are beneficial? I recently decided to install a number of Nuget packages to replace the ...
0
votes
1answer
31 views

Failed to add reference to WikiNetParser. Please make sure that it is in the Global Assembly Cache

I am trying to add a reference to a project in Visual Studio 2012, by using 'Manage Nuget References'. The package is 'Wiki .NET Parser' (version 2.5.2.0). When I try to add it, I get the below: ...
5
votes
2answers
215 views

nexus or artifactory with nuget?

I am trying to introduce decent reference management to my organisation. Having used Nexus with Maven before, I know it to be far superior to the method of building everything locally. As this is a ...
0
votes
1answer
23 views

A way to clean up Nuget packages in the csproj file?

As I add and remove references sometimes I don't always "uninstall" a package which appears like a reference. So it remains "installed" in the Nuget package explorer. It seem like I could really use ...
0
votes
1answer
29 views

Change Global.asax via NuGet package?

I am creating a NuGet package and was wondering if there's a way to modify the Global.asax of the target website? I would like to add one line in the Application_Start (and create the Global.asax if ...
0
votes
2answers
85 views

How can I manually update jQuery UI installed via NuGet package?

Situation I am working on an ASP.NET Web Forms project that was generated using the default Visual Studio 2012 project template. I have since then used NuGet to install jQuery UI version 1.10.0. I ...
0
votes
1answer
36 views

dotless MVC nuget package not working anymore

I have dotless 1.3.1.0 nuget package installed on VS2012 and since 2 days or so it doesn't work anymore. Not even in older Projects that I didn't edit. Whole .less file stays colorless with no live ...
0
votes
1answer
36 views

Create NuGet package for an entire solution

I'm trying to create a nuget package that contains my "starter project". This is a project which I use to start every Umbraco project. This starter project has the following structure: Solution: ...
1
vote
2answers
74 views

Don't include dependencies from packages.config file when creating NuGet package

I am using Nuget to create packages. I would like to create a package which does not contain any dependencies (in the .nuspec) file to any other NuGet packages. My project does have NuGet package ...
0
votes
1answer
32 views

Change the location of packages for NuGet using the release note 2.1 doesn't work

I am trying to change the location of the default package folder for NuGet I read many posts including the documentation of the NuGet 2.1 Release Notes, the new config for NuGet version 2.1 as the ...
0
votes
1answer
54 views

NuGet package files not being copied to project content during build

I am building an MVC4 web application with VS2012 professional with NuGet Package Manager version 2.2.31210. I have multiple projects in my solution, all sharing various packages I installed using ...
0
votes
1answer
40 views

Can't install package with source using nuget, any ideas why?

need to debug service stack source and I've found, that they are publishing their sources, but when I run nuget command to install package it fails without any clear exception: PM> Install-Package ...
0
votes
0answers
25 views

Nuget files being packed into the wrong places

I have a nuget spec file with the file spec: <files> <file src="content\App_Start\*" target="content\App_Start" /> <file src="content\Views\*" target="content\Views" /> ...
0
votes
0answers
17 views

Does Nuget Versioning ignore + notation of build number SemVer?

Ref: Nuget Versioning SemVer The nuget versioning documentation reads: SemVer also introduces the concept of a build number for those creating daily or continous builds. This is not supported in ...
0
votes
0answers
32 views

Cant install NuGet packages

In Visual Studio 2010, when trying to install NuGet packages I get this error message: The error message disappear very quick (~1 second approximately) and the Installing... window is shown: ...
0
votes
1answer
79 views

The term 'scaffold' is not recognized as the name of a cmdlet, function, script file, or operable program

I've been developing an ASP.NET MVC 4 project for a while now and I've been using the "MVCScaffolding" package successfully but a few days ago I noticed that when creating a new controller for example ...
2
votes
0answers
82 views

How does NuGet decide whether to use local package cache or not?

Today I've faced with a strange behavior of NuGet when installing a package. A brief description: as a result of my build script there's a NuGet package. I don't change the version each time, so each ...
0
votes
1answer
35 views

OutputPath error with nuget pack in nuget 2.2.3

I am creating a NuGet package on the command line as follows: nuget pack MyProject.csproj -Properties "Configuration=Release;Platform=AnyCPU;OutputPath=." -Build This works successfully with ...
0
votes
1answer
49 views

NuGet Get Latest Package From Feed

I have an environment where I'm building several library solutions in TFS. At the end of the build process the script packages them into a NuGet package and pushes them to our local feed. Now we can ...
4
votes
2answers
209 views

Missing package causes NuGet package restore to fail

We are enthusiastic users of NuGet, both for internally built as well as 3rd party packages. We've recently started to enable the NuGet Package Restore option in some of our build projects to reduce ...
0
votes
2answers
72 views

Copy file outside NuGet package directory

Is it possible to create a NuGet package that copies a file to a folder outside the package folder (i.e. in the destination project's root)? I have the following declaration: <files> ...
1
vote
2answers
86 views

Octopack fails to build when I add dependencies

Octopack fails to build with the following xml <?xml version="1.0"?> <package > <metadata> <id>WebCrawlerMVC</id> <version>1.0.0.0</version> ...
0
votes
2answers
95 views

How to exclude a folder from a nuget package

I'm using Octopack / Nuspec file to build my nuget package. I would like to exclude certain folders which exist in the project. e.g. the "obj" file. I've been trying to get the exclude tag to work, ...
0
votes
2answers
50 views

Nuget package restore with local feed

I'm trying to get nuget package restore working in a solution that is looking for packages in the regular, public nuget feed and in a local feed located on a shared network drive. What I've tried so ...
0
votes
1answer
27 views

Configure Nuget to download packages which are not part of any project but are required in repository

I have configured nuget to download all packages, which are used in all projects of solution, but i have few more nuget packages, which are not part of any project/proejct's package file but we need ...
1
vote
1answer
49 views

Nuget Command-line install is not launching Install/Init scripts

I was trying to use Nuget as a software deployment system (repository, versioning and delivery) - idea from Octopus. Previously I was packaging ASP.NET sites into a self-extracting RAR archives with a ...
0
votes
2answers
71 views

Download full nuget package so I can copy to another machine?

Background I'm in a computing environment that utilizes Indirect Internet access (via a VM) for security. I have the following machines: Desktop -- the machine I develop on; no internet access. ...
2
votes
2answers
147 views

NuGet Package Restore does not fetch Build Target Assemblies (Tools)

I added Fody ProperyChanged to two projects in my solution. Package Restore is enabled on the solution. However, the TFS Build Service fails building with the following error: WindowsUI.csproj ...
2
votes
1answer
324 views

How to install SignalR via NuGet, Failed to add Microsoft.Web.Infrastructure?

I'm attempting to install SignalR using: Install-Package Microsoft.AspNet.SignalR -pre I'm getting an error stating that Nuget cannot add Microsfot.Web.Infrastructure reference. Anyone have any ...
0
votes
0answers
96 views

Local Nuget Feed - Get request 404 error

I'm setting up a NugetFeed on our intranet, running on a 2003 Server IIS6. The idea is to install packages using the Nuget Package Manager through the VS 2010 interface. I've setup the extensionless ...
0
votes
1answer
84 views

nuspec file inside nupkg

I'm having problems with a custom .nupkg file I have created as the .nuspec file is being added to the package itself. The .nuspec file is held directly under the \src directory and I am using the ...
2
votes
1answer
51 views

When creating a NuGet package, how do I specify a framework version for an assembly?

I am attempting to create a NuGet package using NuGet core as part of a build process. The build process creates specific framework versions, 3.5, 4.0, and 4.5. How do I specify the framework ...
0
votes
1answer
111 views

Errors while building NuGet-enabled Solution

I've been trying to build a code downloaded from here. The problem is that whenever i try building it, i always receive following 3 errors: 1. ...
1
vote
1answer
48 views

Is there a way to support nested UNC paths for nuget package source?

In our environment we currently have a nested folder structure that holds our assemblies. For example: \SERVER\Assemblies\SomeCompany\MyRockinAssembly\v1.0.0.0\MyRockinAssembly.dll We are looking ...
2
votes
2answers
60 views

creating nuget packages with third party dependencies: when to internalize?

If you're creating a NuGet package where you have to add some third party dependencies, you basically have 2 options: Internalize the DLL's in your package's lib folder. Reference the third party ...
2
votes
2answers
211 views

Kendo UI Server side wrappers

Is there a nuget package for the Kendo UI server side wrappers? I know there is a nuget package that installs jquery + all the kendo js files but it doesn't include the kendo.mvc.dll which is what I ...
0
votes
1answer
53 views

Creating NuGet package with reference to a non-NuGet reference

I am creating a Class Library that builds 2 dlls into a NuGet package. It has a few references to dlls that currently do not have a NuGet package to be referenced from. How should I make my NuGet ...
0
votes
1answer
73 views

Defining dependencies between .dll in NuGet packages

I have defined a nuget nuspec file similar to the following: <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> <metadata> <id></id> ...
0
votes
1answer
23 views

Nuget Parameterized Content Path

I'd like to see Nuget have a parameter-substitution capability with content paths, allowing me to do something like this: \content\someFile\$somePlace$\myCode.cs In theory, I would use an ...
1
vote
1answer
174 views

An item with the same key has already been added nuget error

I am currently creating a nuget package with a nuspec file but getting the following error: An item with the same key has already been added. My command I am using is: nuget pack ...
0
votes
1answer
51 views

reference nuspec file when creating nuget package

I am working with creating a nuget package for my class library. I would like to share the one nuspec file for multiple projects. I have the nuspec file in a central location. Is it possible to ...
0
votes
1answer
50 views

class library with multiple nuget packages issue

I have a class library with numerous projects, each referencing each other, written in C#. This is a common library that I share with other projects. I have recently changed the mechanism that the ...
2
votes
1answer
182 views

NuGet “Failed to generate binding redirects for My Project” with error “Object reference not set to an instance of an object.”

On several different packages like SquishIt and DotNetOpenAuth i get an error saying: Failed to generate binding redirects for 'MyProject'. Object reference not set to an instance of an object. I've ...
0
votes
2answers
162 views

Auto update the nuspec file during the build process

I have been able to use NuGetter to create a build definition to automate the NuGet package creation process and to upload the package to the NuGet storage. But, I would to automate the process even ...
1
vote
3answers
92 views

Set up Nuget server at home

Just a quick question. I have Visual Studio 2010 professional edition installed at my home desktop. Can I set up Nuget server for practice or self learning? Thanks.
1
vote
1answer
34 views

Add a reference to a project in entity framework project

I have two entity framework solutions in Visual Studio 2012. I used Nuget to download EF5 on both. In first solution/project I created a class library and I want to add it to the project in solution ...
2
votes
1answer
84 views

direct nuget where to put files

I am working with nuget and find it excellent with my MVC4 project. I use it for all my external dependencies. I have run in to one small problem with it. For example, installing the jQuery package, ...

1 2 3 4 5
15 30 50 per page