This repo contains NuGet sample packages.
-
ConsoleApp
- This console application will set the current UI culture to English, Japanese, and Russian, and output a string fromClassLibrary
-
ClassLibrary
- This "localized" class library project exposes string properties for consumption withinConsoleApp
. -
ClassLibrary.nuspec
- The spec for creating theClassLibrary
runtime package -
ClassLibrary.ja-jp.nuspec
- The spec for creating theClassLibrary.ja-jp
satellite package -
ClassLibrary.ru-ru.nuspec
- The spec for creating theClassLibrary.ru-ru
satellite package -
ClassLibrary.Localization.nuspec
- The meta package that pulls in bothClassLibrary.ja-jp
andClassLibrary.ru-ru
ConsoleApp
has a NuGet package reference to ClassLibrary
. By adding a package reference to ClassLibrary.ja-jp
, ClassLibrary.ru-ru
, or ClassLibrary.Localization
, the output of the console application will change to include localized strings.
The NuGet Docs cover creating NuGet packages in more detail:
- Create NuGet packages
- Creating and Publishing a Symbol Package
- Creating Localized Packages
- Configuration File and Source Code Transformations
If you're having trouble with the NuGet.org Website, file a bug on the NuGet Gallery Issue Tracker.
If you're having trouble with the NuGet client tools (the Visual Studio extension, NuGet.exe command line tool, etc.), file a bug on NuGet Home.
Check out the contributing page to see the best places to log issues and start discussions. The NuGet Home repo provides an overview of the different NuGet projects available.