Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime build failure: "GenerateFileVersionProps" task could not be loaded because installer.tasks.dll not found #46020

Open
trylek opened this issue Dec 13, 2020 · 4 comments

Comments

@trylek
Copy link
Member

trylek commented Dec 13, 2020

Initial cost estimate: 2 days
Initial contacts: @trylek, @ViktorHofer, @safern

OS: Windows
Architecture: x86
Configuration: Release
Repro steps (non-deterministic): build clr+libs+libs.tests -a x86 -c Release

  System -> D:\git\runtime\artifacts\bin\manual.System\net6.0-Release\System.dll
  System.Data -> D:\git\runtime\artifacts\bin\manual.System.Data\net6.0-Release\System.Data.dll
  System.Xml -> D:\git\runtime\artifacts\bin\manual.System.Xml\net6.0-Release\System.Xml.dll
  ApiCompat ->
  Trimming shared framework assemblies with ILLinker...
  externals ->
D:\git\runtime\src\libraries\pretest.proj(55,5): error MSB4062: The "GenerateFileVersionProps" task could not be loaded from the assembly D:\git\runtime\artifacts\bin\installer.tasks\Debug\netstandard2.0\installer.tasks.dll. Could not load file or assembly 'D:\git\runtime\artifacts\bin\installer.tasks\Debug\netstandard2.0\installer.tasks.dll'. The system cannot find the file specified. Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
@trylek trylek added this to the 6.0.0 milestone Dec 13, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Dec 13, 2020
@trylek trylek removed the untriaged New issue has not been triaged by the area owner label Dec 13, 2020
@trylek trylek changed the title coreclr build failure: "GenerateFileVersionProps" task could not be loaded because installer.tasks.dll not found runtime build failure: "GenerateFileVersionProps" task could not be loaded because installer.tasks.dll not found Dec 13, 2020
@ViktorHofer
Copy link
Member

@trylek who reported the issue? This sounds very similar to restore issues where the build doesn't fail even though restore isn't entirely successful which is something that Nuget controls and we can't fix.

@ViktorHofer
Copy link
Member

If it was you who encountered the issue, do you still have the full build log available to verify my assumption?

@trylek
Copy link
Member Author

trylek commented Dec 14, 2020

@ViktorHofer - yes, I hit the issue locally, happens to me quite often. I reran the build yesterday after hitting this so I'm afraid I don't have the logs readily available but I'll collect them the next time this reproes - what particular logs are you interested in? I must admit I'm not aware of any "single global log", according to my knowledge for instance CoreCLR build emits a series of smaller logs covering the various build steps (individual msbuild executions).

@ViktorHofer
Copy link
Member

AFAIK the global build log should be in artifacts\log\$(Configuration)\. I never hit that issue so it might be related to different developer workflows. Logs should help to better understand the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants