Visual Studio 2017, .NET 2.0 form applications won't compile

  • Thread starter Thread starter Roger_CX
  • Start date Start date
R

Roger_CX

Guest
Hello everyone,

In the past I have created some simple .NET 2.0 applications with Visual Studio 2015. Visual Studio 2017 isn't able to compile them anymore. It seems like this problem only occurs with my form applications, not in case of my console applications. I have installed Visual Studio 2017 fresh on a new system.

Error message:

Severity Code Description Project File Line Suppression State
Error Task host node exited prematurely. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt. MyProg
Error The "GenerateResource" task's outputs could not be retrieved from the "FilesWritten" parameter. Object does not match target type. MyProg

I was able to locate the mentioned text file:

UNHANDLED EXCEPTIONS FROM PROCESS 2560:
=====================
7/8/2017 1:01:38 PM
System.ArgumentException: Culture name 'en-de' is not supported.
Parameter name: name
at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at Microsoft.Build.BackEnd.NodePacketTranslator.NodePacketReadTranslator.TranslateCulture(CultureInfo& value)
at Microsoft.Build.BackEnd.TaskHostConfiguration.Translate(INodePacketTranslator translator)
at Microsoft.Build.BackEnd.TaskHostConfiguration.FactoryForDeserialization(INodePacketTranslator translator)
at Microsoft.Build.BackEnd.NodePacketFactory.PacketFactoryRecord.DeserializeAndRoutePacket(Int32 nodeId, INodePacketTranslator translator)
at Microsoft.Build.BackEnd.NodePacketFactory.DeserializeAndRoutePacket(Int32 nodeId, NodePacketType packetType, INodePacketTranslator translator)
at Microsoft.Build.CommandLine.OutOfProcTaskHostNode.DeserializeAndRoutePacket(Int32 nodeId, NodePacketType packetType, INodePacketTranslator translator)
at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, Queue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
===================


I am a beginner and happy for every help.

Thank you very much.

Continue reading...
 
Back
Top