Code Monkey home page Code Monkey logo

Comments (16)

danielcrenna avatar danielcrenna commented on June 17, 2024

It looks like NuGet doesn't like that I'm using Visual Studio file links to bring in the GNU gettext folder after the fact. I updated the project to remove the links and use a post-build step to migrate the folder instead. Should be okay for you in v1.0.2

from i18n.

petrhaus avatar petrhaus commented on June 17, 2024

thanks, but unfortunately I get the same error message...

from i18n.

danielcrenna avatar danielcrenna commented on June 17, 2024

That's unfortunate. I just created a new .NET 4.0 console application, and added i18n through the Visual Studio extension. I got a similar error, but the package actually downloads and installs fine after the error.

I think NuGet has a problem when a library distribution includes a sub-directory with arbitrary executables in it. Unfortunately that's necessary for this project. I could ask people to copy the folder manually, but how uncool is that?

In other words, if you ignore the error you should be fine.

from i18n.

petrhaus avatar petrhaus commented on June 17, 2024

I agree that would be very uncool.
Anyway in my mvc project it is rolling back, so it does not get installed at all.
I will try to install it manually, apart from referencing the assemblies, what else is needed?

from i18n.

danielcrenna avatar danielcrenna commented on June 17, 2024

Just grab the binaries on the 'Downloads' tab here, it is the NuGet package itself, so in there should be a lib folder for net40, with the binaries as well as the relative 'gettext' folder that must be a child directory of the library so that the post-build executable can run those apps.

from i18n.

petrhaus avatar petrhaus commented on June 17, 2024

Thanks Daniel,
I've been able to install and customize it for my needs. I'm going to extensively test it and get back with some contributions if needed.

from i18n.

moretti avatar moretti commented on June 17, 2024

From what it sounds like, this issue is still unresolved.
I'm getting the same error with NuGet 1.6.1.

PM> Install-Package I18N
Attempting to resolve dependency 'CommonServiceLocator (≥ 1.0)'.
Successfully installed 'CommonServiceLocator 1.0'.
Successfully installed 'I18N 1.0.4'.
Successfully added 'CommonServiceLocator 1.0' to MyNamespace
Successfully uninstalled 'I18N 1.0.4'.
Successfully uninstalled 'CommonServiceLocator 1.0'.
Install failed. Rolling back...
Install-Package : Failed to add reference to 'envsubst'.
At line:1 char:16

  • Install-Package <<<< I18N
    • CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
    • FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

The package won't install, because NuGet (1.3+) automatic rollbacks in case of error.

from i18n.

worldspawn avatar worldspawn commented on June 17, 2024

I'm getting this for 1.0.5

from i18n.

wilkinsonj avatar wilkinsonj commented on June 17, 2024

I am also getting this error for 1.0.5

from i18n.

wilkinsonj avatar wilkinsonj commented on June 17, 2024

Can you provide a step by step how to manually install these binaries, given that the NuGet process doesn't work due to roll back?

from i18n.

svallory avatar svallory commented on June 17, 2024

This is really annoying. I would prefer to install via NuGet (so I update easily) and download gettext by hand then having to do all by hand!

from i18n.

danielcrenna avatar danielcrenna commented on June 17, 2024

If you fork a solution for that I'll push the gettext-free version to NuGet.

On Sat, Aug 18, 2012 at 10:49 PM, Saulo Vallory [email protected]:

This is really annoying. I would prefer to install via NuGet (so I update
easily) and download gettext by hand then having to do all by hand!


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-7850098.

Daniel Crenna
Conatus Creative Inc.
cell:613.863.4263

from i18n.

svallory avatar svallory commented on June 17, 2024

Cool! Added to my to do list :)

from i18n.

rbnunes avatar rbnunes commented on June 17, 2024

Any news on that? NuGet guys suggest using the tools folder. http://nuget.codeplex.com/workitem/1145 Is there a exe free version I can install using nuget and latter add the exes..?

from i18n.

svallory avatar svallory commented on June 17, 2024

Sorry. I really wanna help with it, but my work won't let me :/

from i18n.

danielcrenna avatar danielcrenna commented on June 17, 2024

The exes are now part of the NuGet distro's tools folder

from i18n.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.