-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
I've tried compiling the project with Visual Studio for Mac 2019 and 2022 but I end up with the same error and I don't know how to fix it.
The error arrives out of the box when I hit Build. No change has been made to the project.
Building solution StopWatch (Debug)
Build started 01/07/2022 12:47:01.
__________________________________________________
Project "/Users/christophe/Developer/jirastopwatch/source/StopWatch/StopWatch.csproj" (Build target(s)):
Target CoreResGen:
Processing resource file "UI/AboutForm.resx" into "obj/Debug/StopWatch.AboutForm.resources".
Processing resource file "UI/EditTimeForm.resx" into "obj/Debug/StopWatch.EditTimeForm.resources".
Processing resource file "UI/WorklogForm.resx" into "obj/Debug/StopWatch.WorklogForm.resources".
Processing resource file "UI/IssueControl.resx" into "obj/Debug/StopWatch.IssueControl.resources".
Processing resource file "UI/MainForm.resx" into "obj/Debug/StopWatch.MainForm.resources".
/Users/christophe/Developer/jirastopwatch/source/StopWatch/UI/MainForm.resx(680,5): error MSB3103: Invalid Resx file. AND data length expected 512, read 0
/Users/christophe/Developer/jirastopwatch/source/StopWatch/UI/MainForm.resx(680,5): error MSB3103: Parameter name: stream Line 680, position 5.
Processing resource file "Properties/Resources.resx" into "obj/Debug/StopWatch.Properties.Resources.resources".
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error MSB3103: Invalid Resx file. Exception has been thrown by the target of an invocation.
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : TargetInvocationException: Exception has been thrown by the target of an invocation.
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Resources.ResXResourceReader.LoadData () [0x0010b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Windows.Forms/System.Resources/ResXResourceReader.cs:191
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Resources.ResXResourceReader.GetEnumerator () [0x00008] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Windows.Forms/System.Resources/ResXResourceReader.cs:341
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at Microsoft.Build.Tasks.ProcessResourceFiles.ReadResources (Microsoft.Build.Tasks.ProcessResourceFiles+ReaderInfo readerInfo, System.Resources.IResourceReader reader, System.String fileName) [0x00002] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Tasks/GenerateResource.cs:3542
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at Microsoft.Build.Tasks.ProcessResourceFiles.ReadResources (System.String filename, System.Boolean shouldUseSourcePath, System.String outFileOrDir) [0x00085] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Tasks/GenerateResource.cs:3030
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile (System.String inFile, System.String outFileOrDir) [0x00074] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Tasks/GenerateResource.cs:2602
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : ArgumentException: AND data length expected 512, read 0
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : Parameter name: stream
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream, System.Int32 width, System.Int32 height) [0x005d1] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Drawing/System.Drawing/Icon.cs:871
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Drawing.Icon..ctor (System.IO.Stream stream, System.Int32 width, System.Int32 height) [0x00011] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Drawing/System.Drawing/Icon.cs:218
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Drawing.Icon..ctor (System.IO.Stream stream) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Drawing/System.Drawing/Icon.cs:212
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:936
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error :
Processing resource file "UI/SettingsForm.resx" into "obj/Debug/StopWatch.SettingsForm.resources".
Done building target "CoreResGen" in project "StopWatch.csproj" -- FAILED.
Done building project "StopWatch.csproj" -- FAILED.
Build FAILED.
/Users/christophe/Developer/jirastopwatch/source/StopWatch/UI/MainForm.resx(680,5): error MSB3103: Invalid Resx file. AND data length expected 512, read 0
/Users/christophe/Developer/jirastopwatch/source/StopWatch/UI/MainForm.resx(680,5): error MSB3103: Parameter name: stream Line 680, position 5.
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error MSB3103: Invalid Resx file. Exception has been thrown by the target of an invocation.
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : TargetInvocationException: Exception has been thrown by the target of an invocation.
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Resources.ResXResourceReader.LoadData () [0x0010b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Windows.Forms/System.Resources/ResXResourceReader.cs:191
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Resources.ResXResourceReader.GetEnumerator () [0x00008] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Windows.Forms/System.Resources/ResXResourceReader.cs:341
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at Microsoft.Build.Tasks.ProcessResourceFiles.ReadResources (Microsoft.Build.Tasks.ProcessResourceFiles+ReaderInfo readerInfo, System.Resources.IResourceReader reader, System.String fileName) [0x00002] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Tasks/GenerateResource.cs:3542
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at Microsoft.Build.Tasks.ProcessResourceFiles.ReadResources (System.String filename, System.Boolean shouldUseSourcePath, System.String outFileOrDir) [0x00085] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Tasks/GenerateResource.cs:3030
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile (System.String inFile, System.String outFileOrDir) [0x00074] in /Users/builder/jenkins/workspace/build-package-osx-mono-pullrequest/pr/external/bockbuild/builds/msbuild-15/src/Tasks/GenerateResource.cs:2602
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : ArgumentException: AND data length expected 512, read 0
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : Parameter name: stream
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream, System.Int32 width, System.Int32 height) [0x005d1] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Drawing/System.Drawing/Icon.cs:871
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Drawing.Icon..ctor (System.IO.Stream stream, System.Int32 width, System.Int32 height) [0x00011] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Drawing/System.Drawing/Icon.cs:218
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Drawing.Icon..ctor (System.IO.Stream stream) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System.Drawing/System.Drawing/Icon.cs:212
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error : at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:936
/Users/christophe/Developer/jirastopwatch/source/StopWatch/Properties/Resources.resx : error :
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:00.39
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Build: 3 errors, 0 warnings
Metadata
Metadata
Assignees
Labels
No labels