http://bugs.winehq.org/show_bug.cgi?id=31128
Bug #: 31128 Summary: Microsoft.Build tool from .NET Framework 4.x requires kernel32.dll GetDynamicTimeZoneInformation Product: Wine Version: 1.5.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
trying to compile a simple .NET 4.x solution with MSBuild tool results in:
--- snip --- $ wine "c:\windows\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe" CompressionDemo.sln ... MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure. Microsoft.Build.Exceptions.InternalLoggerException: The build stopped unexpectedly because of an unexpected logger failure. ---> System.EntryPointNotFoundException: Unable to find an entry point named 'GetDynamicTimeZoneInformation' in DLL 'kernel32.dll'. at Microsoft.Win32.UnsafeNativeMethods.GetDynamicTimeZoneInformation(DynamicTimeZoneInformation& lpDynamicTimeZoneInformation) at System.TimeZoneInfo.GetLocalTimeZone(CachedData cachedData) at System.TimeZoneInfo.CachedData.CreateLocal() at System.DateTime.ToLocalTime(Boolean throwOnOverflow) at Microsoft.Build.Framework.BuildEventArgs.get_Timestamp() at Microsoft.Build.BackEnd.Logging.ParallelConsoleLogger.BuildStartedHandler(Object sender, BuildStartedEventArgs e) at Microsoft.Build.Evaluation.ProjectCollection.ReusableLogger.BuildStartedHandler(Object sender, BuildStartedEventArgs e) at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseBuildStartedEvent(Object sender, BuildStartedEventArgs buildEvent) --- snip ---
Prequisite: 'winetricks -q dotnet40' and .NET Framework 4.5 (RC) install, see appdb
Example project: http://www.codeproject.com/Articles/381661/Creating-Zip-Files-Easily-in-NET-... ("Creating Zip Files Easily in .NET 4.5")
Regards