You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dotnet-wpf-int builds fail due to ResXCodeFileGenerator regression in recent dev16.3p2 builds #1492
Suddenly, as of some recent VS build, ResXFileCodeGenerator is starting to emit files with getters that are instead like this (not the return type – they are plain object).
/// <summary>/// Looks up a localized resource of type System.Object similar to Microsoft.Build.Tasks.ResourceHandling.LiveObjectResource./// </summary>internalstaticobjectInvalid_35x35{get{objectobj=ResourceManager.GetObject("Invalid_35x35",resourceCulture);return((object)(obj));}}
Here is a standalone repro that illustrates the problem. Build with commandline msbuild (not dotnet, use msbuild, VS version dev16.3p2 29128.8.master, Int Preview).
After building, open obj\Debug\netcoreapp3.0\MS.Internal.Documents.Resources.cs and you can see getters that return object instead of specifc types.
Activity
rainersigwald commentedon Aug 8, 2019
dotnet/msbuild#4588 should deliver a fix for this with no change required in WPF.
vatsan-madhavan commentedon Aug 10, 2019
Opened an issue to track undoing the workaround put in here - #1588. closing since the issue has been fixed.