tag:blogger.com,1999:blog-1310592211703201999.post3513047693888958504..comments2023-03-22T00:24:44.986-07:00Comments on David Ebbo: Take NuGet to the next level with sample packagesDavid Ebbohttp://www.blogger.com/profile/10231048261702011658noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-1310592211703201999.post-44004749983603268652011-08-25T08:15:33.141-07:002011-08-25T08:15:33.141-07:00@David, thanks for posting this comment as this pa...@David, thanks for posting this comment as this page was literally the only result that came up on google for my error and you gave the solution: Ah yes, I know this problem too well! :) Go in the project properties and change the Target Framework from '.NET Framework 4.0 Client Profile' to just '.NET Framework 4.0'. See also http://blog.davidebbo.com/2011/02/creating-console-apps-that-use-server.htmlAnonymoushttps://www.blogger.com/profile/14810461908023193146noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-74682963353820232792011-04-20T13:47:00.817-07:002011-04-20T13:47:00.817-07:00@Christopher: the best place for this type of ques...@Christopher: the best place for this type of questions is http://nuget.codeplex.com/, as the thread can then involve many more people who would not see the comments on my blog.David Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-32363073553247177882011-04-20T13:43:32.400-07:002011-04-20T13:43:32.400-07:00@David is it possible to deploy language resources...@David is it possible to deploy language resources into a project. I just found out about NuGet though MIX11 and our company is looking into possibly using NuGet, but I am doing the research to see if it can support all of our needs. Couple things I am looking for that I haven't found on NuGet yet.<br /><br />1) What is the story for working with Beta DLLs, say we want to deploy our Beta DLLs using NuGet is there a workflow with managing RC vs Beta and allowing users to rollback from a Beta DLL to the previous final.<br /><br />2) Deploying Localized Resource files into the project. We are an international company and we have needs to distribute our product for many culture types. Silverlight require you to modify project .csproj and add tags to the project. Does NuGet allow you to modify the project file? I read the you can modify app.config and web.config.<br /><br />3) Is it possible to include DLLs in the lib directiory but not add them to the project references, they would be optional DLLs files that a user may need but are not required for the core functionality. like myAssembly.Toolkit.dll(Optional) want to provide but not force into the reference on install.<br /><br />Where is the best place for me to ask these types of questions?Christopherhttps://www.blogger.com/profile/17297892493416822778noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-73219123415096056552011-03-09T10:40:10.024-08:002011-03-09T10:40:10.024-08:00@nettech: you most likely ran into some random fee...@nettech: you most likely ran into some random feed glitch, unrelated to this specific topic. If you continue to see this, please report it on http://nuget.codeplex.com/.David Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-10959485878108753892011-03-09T08:36:12.575-08:002011-03-09T08:36:12.575-08:00PM> install-package Clay.Sample
'Clay (≥ 1....PM> install-package Clay.Sample<br />'Clay (≥ 1.0)' not installed. Attempting to retrieve dependency from source...<br />Done.<br />'Castle.DynamicProxy (≥ 2.1.0)' not installed. Attempting to retrieve dependency from source...<br />Done.<br />'Castle.Core (= 1.1.0)' not installed. Attempting to retrieve dependency from source...<br />Done.<br />'log4net' not installed. Attempting to retrieve dependency from source...<br />Done.<br />Install-Package : The operation has timed out<br />At line:1 char:16<br />+ install-package <<<< Clay.Sample<br /> + CategoryInfo : NotSpecified: (:) [Install-Package], WebException<br /> + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.Cmdlets.InstallPackageCmdletnettechhttps://www.blogger.com/profile/05221641234589055523noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-39524734041844480002011-03-08T19:44:41.799-08:002011-03-08T19:44:41.799-08:00Can NuGet install Orchard Module packages? If so, ...Can NuGet install Orchard Module packages? If so, then you should be able to add a project to a directory in an solution. Maybe I am missing something. Nice convention!Paulhttps://www.blogger.com/profile/11338046993150272946noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-28355949553979057302011-03-08T18:43:24.148-08:002011-03-08T18:43:24.148-08:00I filed a bug to track this: http://nuget.codeplex...I filed a bug to track this: http://nuget.codeplex.com/workitem/790David Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-66494049951870746882011-03-08T17:18:42.036-08:002011-03-08T17:18:42.036-08:00@David, well one package does make maintenance eas...@David, well one package does make maintenance easier, so if you think it can be done I would say go for it!Anonymoushttps://www.blogger.com/profile/04113288288661624257noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-53307509375723684812011-03-08T16:16:04.034-08:002011-03-08T16:16:04.034-08:00@Matt: Actually it shoud be possible to combine bo...@Matt: Actually it shoud be possible to combine both in one package. Right now, it would probably work in a somewhat funky way where you'd get both the vs and cs sources when you install, but only the relevant one would be active. Fixing this would require a small NuGet fix.David Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-84851535056460348882011-03-08T16:06:25.125-08:002011-03-08T16:06:25.125-08:00Can I suggest a slight convention change? Since no...Can I suggest a slight convention change? Since not everyone codes in C# and I don't think you can combine the two languages in one source-only package, how about CSSample and VBSample to differentiate the two?Anonymoushttps://www.blogger.com/profile/04113288288661624257noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-22832360674983198382011-03-08T12:22:37.087-08:002011-03-08T12:22:37.087-08:00@David: Thank you! Works perfectly :)@David: Thank you! Works perfectly :)Anonymoushttps://www.blogger.com/profile/14780575656738983154noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-71937849539812203322011-03-08T12:17:23.246-08:002011-03-08T12:17:23.246-08:00@Will: Ah yes, I know this problem too well! :) Go...@Will: Ah yes, I know this problem too well! :) Go in the project properties and change the Target Framework from '.NET Framework 4.0 Client Profile' to just '.NET Framework 4.0'. See also http://blog.davidebbo.com/2011/02/creating-console-apps-that-use-server.htmlDavid Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-64959323221173340572011-03-08T12:13:45.290-08:002011-03-08T12:13:45.290-08:00@David: The type or namespace name 'ClaySharp&...@David: The type or namespace name 'ClaySharp' could not be found (are you missing a using directive or an assembly reference?)<br />c:\users\will\documents\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\Samples\Clay\ClaySamples.cs<br /><br />If I view the object browser in VS before I build the project the refs are there. After I build the project, all the references created by Clay.Sample are magically gone and I see they error above. I click refresh on the solution explorer and they are back in the list but each build causes them to "disappear" again.<br /><br />I only added Clay.Sample from NuGet and relied on it to grab its dependencies. I've checked the packages folder and everything seems to be there. Also, the error above is referencing the line with the using statement for ClaySharp.Anonymoushttps://www.blogger.com/profile/14780575656738983154noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-84819948895844724892011-03-08T10:52:03.549-08:002011-03-08T10:52:03.549-08:00@Will: not sure I follow you. What 'library re...@Will: not sure I follow you. What 'library references' are you referring to?David Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-25962521551695067552011-03-08T10:50:59.920-08:002011-03-08T10:50:59.920-08:00@Aaron: yes, thanks for putting it up! :)
@Scott:...@Aaron: yes, thanks for putting it up! :)<br /><br />@Scott: not directly, as NuGet is more about adding things *into* projects than about creating new ones. Though some have done interesting things with custom PowerShell script.David Ebbohttps://www.blogger.com/profile/10231048261702011658noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-17047068240402661412011-03-08T09:31:45.207-08:002011-03-08T09:31:45.207-08:00@Scott +1
@David For some reason the project I in...@Scott +1<br /><br />@David For some reason the project I included Clay.Sample in isn't remembering its library references... maybe it's just me but I thought I would post just in case. It is a brand new console app.Anonymoushttps://www.blogger.com/profile/14780575656738983154noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-19781416243023541882011-03-08T09:08:01.898-08:002011-03-08T09:08:01.898-08:00Is there any way to add a project to a solution us...Is there any way to add a project to a solution using NuGet? That way you could have an executible project that demo'd a package.Unknownhttps://www.blogger.com/profile/13526807890987678147noreply@blogger.comtag:blogger.com,1999:blog-1310592211703201999.post-9400975732321847892011-03-08T04:28:33.016-08:002011-03-08T04:28:33.016-08:00Glad I put Clay up there to give you a library to ...Glad I put Clay up there to give you a library to build a sample and blog against ;)Aaron Powellhttps://www.blogger.com/profile/08331076891179287795noreply@blogger.com