Crash when building the template
See original GitHub issueBuilding on Ubuntu 20.04. Only installed sdk is 3.1
Microsoft (R) Build Engine version 16.7.0+7fb82e5b2 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
[info] [16:13:09] Found compilation server
Running _ComputePackageReferencePublish for Test
Running _HandlePackageFileConflicts
Running _ComputeReferenceAssemblies
Running _ComputeUserRuntimeAssemblies
Running GenerateBuildDependencyFile
No output assembly found, will build.
Running _GenerateRuntimeConfigurationFilesInputCache
Running GenerateBuildRuntimeConfigurationFiles
Writing project runtime config file /home/andre/RiderProjects/Tetys/csharp/Test/bin/Debug/netstandard2.0/Test.runtimeconfig.json
Test ->
Skipping updating the h5 compiler. You can always install/update it by calling dotnet tool update --global h5-compiler
Deleting previous assembly: /home/andre/RiderProjects/Tetys/csharp/Test/bin/Debug/netstandard2.0/Test.dll
H5 compilation begins now...
5555555555555555555555555555555555555555
5555555555555555555hhhhhhhhhhhhhhhh5555
555 55555555555hh h5555
555 55555555555hh h555
555 55555555555hh hhhhhhhhh555
55 55555555555hh hhhhhhhhh555
555 5555555555hh hhhhhhhh5555
555 5hh h5555
555 5hh h555
555 5555 5hhhhhhhh h555
555 5555 5hhhhhhhh h555
555 555 5hhhhhhhh h5555
555 555 5hh h555
5555555 555 5hh hhhh555
5555555555555555hhhhhhhhhhhhhh555
5555555555555555hhhhhhh5555555555
55555555555555555555
5555555555555555
[info] [16:13:10] Executing h5 compiler with arguments: '--project /home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj --configuration Debug --assembly-version 1.0.0.0'
[info] [16:13:10] Found compilation server, sending compilation request
[info] [16:13:10] Setting working directory to '/home/andre/RiderProjects/Tetys/csharp/Test'
[info] [16:13:10] [B] H5 Compilation
[info] [16:13:10] H5 config file is not found. Returning default config
[info] [16:13:10] [E] H5 Compilation in 0.0010 seconds
[info] [16:13:10]
__ _ _ _ _
|_ |_)|_)/ \|_)
|__| \| \\_/| \
[fail] [16:13:10]
H5 : error H5003: The SDK 'h5.Target/0.0.11500' specified could not be found. /home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj [/home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj]
[fail] [16:13:10]
Stack Trace: at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List`1& projects, SdkResult& sdkResult, Boolean throwOnFileNotExistsError)
at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult)
at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
at Microsoft.Build.Evaluation.Evaluator`4.Evaluate()
at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(IEvaluatorData`4 data, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary`1 environmentProperties, ILoggingService loggingService, IItemFactory`2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
at Microsoft.Build.Evaluation.Project.ProjectImpl.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project.ProjectImpl.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
at H5.Translator.Translator.EnsureProjectProperties()
at H5.Translator.TranslatorProcessor.SetTranslatorProperties()
at H5.Translator.TranslatorProcessor.PreProcess(IH5DotJson_AssemblySettings translatorConfiguration)
at H5.Compiler.CompilationProcessor.Compile(CompilationRequest compilationRequest, UID128 compilationUID, CancellationToken cancellationToken)
/home/andre/.nuget/packages/h5.target/0.0.11500/Sdk/Sdk.targets(462,9): error MSB3073: The command "h5 --project "/home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj" --configuration "Debug" --assembly-version "1.0.0.0"" exited with code 1. [/home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj]
Build FAILED.
H5 : error H5003: The SDK 'h5.Target/0.0.11500' specified could not be found. /home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj [/home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj]
/home/andre/.nuget/packages/h5.target/0.0.11500/Sdk/Sdk.targets(462,9): error MSB3073: The command "h5 --project "/home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj" --configuration "Debug" --assembly-version "1.0.0.0"" exited with code 1. [/home/andre/RiderProjects/Tetys/csharp/Test/Test.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:02.58
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Entire Project reverted to template on opening project after ...
Basically, as the title said, my project crashed, went to reopen it, and found the entire project was wiped back to its intial...
Read more >[Resolved] - Game crashing when I open template - Crayta
Describe the bug: I made a template from folder, which had script pointing to locator, which was not included into the template.
Read more >UE5 Crash when building lighting on default VR Template
I load the default VR template, import a simple model into it, and attempt to build lightning. NO changes to any settings, no...
Read more >VS 2017 crashes when compiling template implementation
It compiles fine when the ThisHandleId() function is defined directly below its definition. Is something wrong with my template implementation?
Read more >Manually Loading Template Add-Ins Crashing Word
1. Closing any open document, then loading the add-in continues to work as before. E.g., there is no crash and the document can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @IceReaper
Managed to reproduce the problem here on a Linux machine - will test a fix for it now. Meanwhile, you can set a flag on your project file (SkipEmbeddingResources = true) to get it compiling (just remove it once the fix is done):
I can confirm this is fixed.