-
One Error being triggered twenty-two times, already now!!
Can someone please help me in this problem of mine???
I have an error in this postion...
Code:
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
<Vbc Condition="'%(_CoreCompileResourceInputs.WithCulture)' != 'true'"
AdditionalLibPaths="$(AdditionalLibPaths)"
AddModules="@(AddModules)"
AdditionalFiles="@(AdditionalFiles)"
AnalyzerConfigFiles="@(EditorConfigFiles)"
Analyzers="@(Analyzer)"
BaseAddress="$(BaseAddress)"
ChecksumAlgorithm="$(ChecksumAlgorithm)"
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
CodePage="$(CodePage)"
DebugType="$(DebugType)"
DefineConstants="$(FinalDefineConstants)"
DelaySign="$(DelaySign)"
DisableSdkPath="$(DisableSdkPath)"
DisabledWarnings="$(NoWarn)"
DocumentationFile="@(DocFileItem)"
EmbedAllSources="$(EmbedAllSources)"
EmbeddedFiles="@(EmbeddedFiles)"
EmitDebugInformation="$(DebugSymbols)"
EnvironmentVariables="$(VbcEnvironment)"
ErrorLog="$(ErrorLog)"
ErrorReport="$(ErrorReport)"
Features="$(Features)"
FileAlignment="$(FileAlignment)"
GenerateDocumentation="$(GenerateDocumentation)"
HighEntropyVA="$(HighEntropyVA)"
Imports="@(Import)"
Instrument="$(Instrument)"
KeyContainer="$(KeyContainerName)"
KeyFile="$(KeyOriginatorFile)"
LangVersion="$(LangVersion)"
LinkResources="@(LinkResource)"
MainEntryPoint="$(StartupObject)"
ModuleAssemblyName="$(ModuleAssemblyName)"
NoConfig="true"
NoStandardLib="$(NoCompilerStandardLib)"
NoVBRuntimeReference="$(NoVBRuntimeReference)"
NoWarnings="$(_NoWarnings)"
NoWin32Manifest="$(NoWin32Manifest)"
Optimize="$(Optimize)"
Deterministic="$(Deterministic)"
PublicSign="$(PublicSign)"
OptionCompare="$(OptionCompare)"
OptionExplicit="$(OptionExplicit)"
OptionInfer="$(OptionInfer)"
OptionStrict="$(OptionStrict)"
OptionStrictType="$(OptionStrictType)"
OutputAssembly="@(IntermediateAssembly)"
OutputRefAssembly="@(IntermediateRefAssembly)"
PdbFile="$(PdbFile)"
Platform="$(PlatformTarget)"
Prefer32Bit="$(Prefer32Bit)"
PreferredUILang="$(PreferredUILang)"
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
References="@(ReferencePathWithRefAssemblies)"
RefOnly="$(ProduceOnlyReferenceAssembly)"
RemoveIntegerChecks="$(RemoveIntegerChecks)"
ReportAnalyzer="$(ReportAnalyzer)"
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
ResponseFiles="$(CompilerResponseFile)"
RootNamespace="$(RootNamespace)"
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
SdkPath="$(FrameworkPathOverride)"
SharedCompilationId="$(SharedCompilationId)"
SkipAnalyzers="$(_SkipAnalyzers)"
SkipCompilerExecution="$(SkipCompilerExecution)"
Sources="@(Compile)"
SubsystemVersion="$(SubsystemVersion)"
TargetCompactFramework="$(TargetCompactFramework)"
TargetType="$(OutputType)"
ToolExe="$(VbcToolExe)"
ToolPath="$(VbcToolPath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
UseSharedCompilation="$(UseSharedCompilation)"
Utf8Output="$(Utf8Output)"
VBRuntimePath="$(VBRuntimePath)"
Verbosity="$(VbcVerbosity)"
VsSessionGuid="$(VsSessionGuid)"
WarningsAsErrors="$(WarningsAsErrors)"
WarningsNotAsErrors="$(WarningsNotAsErrors)"
Win32Icon="$(ApplicationIcon)"
Win32Manifest="$(Win32Manifest)"
Win32Resource="$(Win32Resource)"
VBRuntime="$(VBRuntime)"
PathMap="$(PathMap)"
SourceLink="$(SourceLink)">
<Output TaskParameter="CommandLineArgs" ItemName="VbcCommandLineArgs" />
</Vbc>
<ItemGroup>
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
</ItemGroup>
-
Re: One Error being triggered twenty-two times, already now!!
This isn’t the place for unpaid work offers
-
Re: One Error being triggered twenty-two times, already now!!
I apologise. Your signature appeared to be part of the question, but not now...
-
Re: One Error being triggered twenty-two times, already now!!
-- What unpaid work offers, am i promoting here, so then???
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
-- What unpaid work offers, am i promoting here, so then???
Quote:
Originally Posted by ThEiMp;signature
- Do you wish to do unpaid work for me??? If so, the PM me on this Forum…
Check post #3… I apologised
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
Can someone please help me in this problem of mine???
I have an error in this postion...
Code:
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
<Vbc Condition="'%(_CoreCompileResourceInputs.WithCulture)' != 'true'"
AdditionalLibPaths="$(AdditionalLibPaths)"
AddModules="@(AddModules)"
AdditionalFiles="@(AdditionalFiles)"
AnalyzerConfigFiles="@(EditorConfigFiles)"
Analyzers="@(Analyzer)"
BaseAddress="$(BaseAddress)"
ChecksumAlgorithm="$(ChecksumAlgorithm)"
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
CodePage="$(CodePage)"
DebugType="$(DebugType)"
DefineConstants="$(FinalDefineConstants)"
DelaySign="$(DelaySign)"
DisableSdkPath="$(DisableSdkPath)"
DisabledWarnings="$(NoWarn)"
DocumentationFile="@(DocFileItem)"
EmbedAllSources="$(EmbedAllSources)"
EmbeddedFiles="@(EmbeddedFiles)"
EmitDebugInformation="$(DebugSymbols)"
EnvironmentVariables="$(VbcEnvironment)"
ErrorLog="$(ErrorLog)"
ErrorReport="$(ErrorReport)"
Features="$(Features)"
FileAlignment="$(FileAlignment)"
GenerateDocumentation="$(GenerateDocumentation)"
HighEntropyVA="$(HighEntropyVA)"
Imports="@(Import)"
Instrument="$(Instrument)"
KeyContainer="$(KeyContainerName)"
KeyFile="$(KeyOriginatorFile)"
LangVersion="$(LangVersion)"
LinkResources="@(LinkResource)"
MainEntryPoint="$(StartupObject)"
ModuleAssemblyName="$(ModuleAssemblyName)"
NoConfig="true"
NoStandardLib="$(NoCompilerStandardLib)"
NoVBRuntimeReference="$(NoVBRuntimeReference)"
NoWarnings="$(_NoWarnings)"
NoWin32Manifest="$(NoWin32Manifest)"
Optimize="$(Optimize)"
Deterministic="$(Deterministic)"
PublicSign="$(PublicSign)"
OptionCompare="$(OptionCompare)"
OptionExplicit="$(OptionExplicit)"
OptionInfer="$(OptionInfer)"
OptionStrict="$(OptionStrict)"
OptionStrictType="$(OptionStrictType)"
OutputAssembly="@(IntermediateAssembly)"
OutputRefAssembly="@(IntermediateRefAssembly)"
PdbFile="$(PdbFile)"
Platform="$(PlatformTarget)"
Prefer32Bit="$(Prefer32Bit)"
PreferredUILang="$(PreferredUILang)"
ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
References="@(ReferencePathWithRefAssemblies)"
RefOnly="$(ProduceOnlyReferenceAssembly)"
RemoveIntegerChecks="$(RemoveIntegerChecks)"
ReportAnalyzer="$(ReportAnalyzer)"
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
ResponseFiles="$(CompilerResponseFile)"
RootNamespace="$(RootNamespace)"
RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
SdkPath="$(FrameworkPathOverride)"
SharedCompilationId="$(SharedCompilationId)"
SkipAnalyzers="$(_SkipAnalyzers)"
SkipCompilerExecution="$(SkipCompilerExecution)"
Sources="@(Compile)"
SubsystemVersion="$(SubsystemVersion)"
TargetCompactFramework="$(TargetCompactFramework)"
TargetType="$(OutputType)"
ToolExe="$(VbcToolExe)"
ToolPath="$(VbcToolPath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
UseSharedCompilation="$(UseSharedCompilation)"
Utf8Output="$(Utf8Output)"
VBRuntimePath="$(VBRuntimePath)"
Verbosity="$(VbcVerbosity)"
VsSessionGuid="$(VsSessionGuid)"
WarningsAsErrors="$(WarningsAsErrors)"
WarningsNotAsErrors="$(WarningsNotAsErrors)"
Win32Icon="$(ApplicationIcon)"
Win32Manifest="$(Win32Manifest)"
Win32Resource="$(Win32Resource)"
VBRuntime="$(VBRuntime)"
PathMap="$(PathMap)"
SourceLink="$(SourceLink)">
<Output TaskParameter="CommandLineArgs" ItemName="VbcCommandLineArgs" />
</Vbc>
<ItemGroup>
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
</ItemGroup>
So any clue as to what the problem is? Error message perhaps?
-
Re: One Error being triggered twenty-two times, already now!!
Not sure, because it points to the very same line of source code, that is the Vbc tag, then so
-
Re: One Error being triggered twenty-two times, already now!!
Maybe you first should explain what you are doing.
Google has a limited number of pages containing the string "_CoreCompileResourceInputs.WithCulture"
-
Re: One Error being triggered twenty-two times, already now!!
yes i know, it's some what a compile-time error in the program that i am working on, then so. Give me another day to find the error code and the description of the error. because in nearly thirty minutes, i am wrapping up for the working day, as per the like of it, then so
-
Re: One Error being triggered twenty-two times, already now!!
Error Code Line := 42. That is the error code line, i am getting, from the IDE after a failed prolonged compile to DLL file, then so...
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
Error Code Line := 42. That is the error code line, i am getting, from the IDE after a failed prolonged compile to DLL file, then so...
Is it giving a specific error message? It looks as though the problem is due to any resources you are using, what are you trying to embed and how big are these resources. If this is a bunch of large movie files then that might be part of the problem.
-
Re: One Error being triggered twenty-two times, already now!!
They aren't that big, but then all together, then they might pose as a problem to the project. also note that the files, are something like 48Mb and also there are about seventy-five of them, plus the other files like the playlist, the wallpaper, etc. i was able to break them apart, into three different RES files. Also please tell me, if i should use an RESX file, to suit more proper modern day programming, then so
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
They aren't that big, but then all together, then they might pose as a problem to the project. also note that the files, are something like 48Mb and also there are about seventy-five of them, plus the other files like the playlist, the wallpaper, etc. i was able to break them apart, into three different RES files. Also please tell me, if i should use an RESX file, to suit more proper modern day programming, then so
What is the total size of all these files? Not sure a resx would make a difference, it could be a limitation on the size of the final exe or dll.
-
Re: One Error being triggered twenty-two times, already now!!
75 files with an average size of 46MB -> 3600MB
-
Re: One Error being triggered twenty-two times, already now!!
yeah, that's right about that one, hey dude...
Total File Size is approx: 3.6Gb in a single file, then adding it to Adobe Director the final build of the file, is then 5.85Kb, as the single file, is so then
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
yeah, that's right about that one, hey dude...
Total File Size is approx: 3.6Gb in a single file, then adding it to Adobe Director the final build of the file, is then 5.85Kb, as the single file, is so then
Does the error go away if you reduce the number of files to something like 5 or 10 for the purpose of testing?
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
yeah, that's right about that one, hey dude...
Total File Size is approx: 3.6Gb in a single file, then adding it to Adobe Director the final build of the file, is then 5.85Kb, as the single file, is so then
Sounds like it could be an issue due to the size. If you have task manager open while compiling does memory usage drastically increase? If so, which application is responsible?
-
Re: One Error being triggered twenty-two times, already now!!
I don't know about the size restricitions but then, nothing in memory is the problem because of the memory usage doesn't change that much, also then so. I was told the RES file is able to have about 4Gb in file size for all RES files, in the .NET framework files, even...
-
Re: One Error being triggered twenty-two times, already now!!
If you reduce the number of files to a smaller amount say ten or so, does it work? If so keep adding in more files and see if there is a point when it breaks.
-
Re: One Error being triggered twenty-two times, already now!!
I guess the limit is about forty-six video files, for the limit of the RES file, then so
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
I guess the limit is about forty-six video files, for the limit of the RES file, then so
The limit is almost certainly related to the total size of all of the files, and not at all related simply to the number of files. If you had 2000 1 second video long files it would probably work just fine.
-
Re: One Error being triggered twenty-two times, already now!!
Yes ofcourse, it would work because of the total amount of files or their durations, make up the total file size quota for the RES files, in thus far i can understand that one for me, then so
-
Re: One Error being triggered twenty-two times, already now!!
The what's up is here now, so...
I have been able to find out the location of the error in question, then here it is: "Line: 42, Filename: Microsoft.VisualBasic.Core.Targets." It is telling me that my files, are far too big to then be compiled, as per into the one file, type of thing. if i make the resource files, external would i be able to compile them, so???
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
The what's up is here now, so...
I have been able to find out the location of the error in question, then here it is: "Line: 42, Filename: Microsoft.VisualBasic.Core.Targets." It is telling me that my files, are far too big to then be compiled, as per into the one file, type of thing. if i make the resource files, external would i be able to compile them, so???
Probably easier to try it out and see, although I suspect it could be down to the size of the resulting exe file.
Not sure if resources were ever designed to be used in the way you are trying to use them though.
-
Re: One Error being triggered twenty-two times, already now!!
-- Okay then, i will then be able to debug the project of mine, then so...
-
Re: One Error being triggered twenty-two times, already now!!
Error:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.VisualBasic.Core.targets(42,5): error : at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Program.MainCore(String[] args)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.VisualBasic.Core.targets(42,5): error : at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Program.Main(String[] args)
1>Done building project "MediaHub.MaskSeriesSX.vbproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
Re: One Error being triggered twenty-two times, already now!!
Quote:
Originally Posted by
ThEiMp
Error:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.VisualBasic.Core.targets(42,5): error : at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Program.MainCore(String[] args)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.VisualBasic.Core.targets(42,5): error : at Microsoft.CodeAnalysis.VisualBasic.CommandLine.Program.Main(String[] args)
1>Done building project "MediaHub.MaskSeriesSX.vbproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
That is just the same error, did you do anything different to get it? Just repeating the error message isn't helping.
Are you trying to build the resource file in a different way?
Have you considered the possibility that what you are trying to do might not work, that there may be a better way of doing this other than embedding multiple movies into a single exe file.
-
Re: One Error being triggered twenty-two times, already now!!
Well sure thing, there are better ways to do this, i guess so then