Fix the paths at which CompileContext locates resgen outputs.

Fixes #1136
This commit is contained in:
Pranav K 2016-02-08 16:06:13 -08:00
parent 98b37fdd5e
commit 1d25d2574d
15 changed files with 568 additions and 4 deletions

View file

@ -0,0 +1,20 @@
using System;
using System.Resources;
using System.Reflection;
using System.Globalization;
namespace TestProjectWithCultureSpecificResource
{
public class Program
{
public static void Main(string[] args)
{
var rm = new ResourceManager(
"TestProjectWithCultureSpecificResource.Strings",
typeof(Program).GetTypeInfo().Assembly);
Console.WriteLine(rm.GetString("hello"));
Console.WriteLine(rm.GetString("hello", new CultureInfo("fr")));
}
}
}