Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Localization.StarterWeb test failures #129

Closed
JunTaoLuo opened this issue May 25, 2016 · 6 comments
Closed

Localization.StarterWeb test failures #129

JunTaoLuo opened this issue May 25, 2016 · 6 comments
Assignees
Milestone

Comments

@JunTaoLuo
Copy link
Contributor

JunTaoLuo commented May 25, 2016

Still investigating but just going to list what I have found so far.

The failure I'm seeing on the CI is at http://aspnetci/viewLog.html?buildId=100911&buildTypeId=Lite_UniverseTest&tab=buildLog#_focus=64532 which is caused by:

info: Localization.StarterWeb:Kestrel:Clr:x64[0]
      System.InvalidOperationException: Can not find assembly file Microsoft.DotNet.Cli.Utils.dll at 'C:\Users\johluo\AppData\Local\Temp\058a9647-0c7a-4181-82f3-158ee5541928\refs,C:\Users\johluo\AppData\Local\Temp\058a9647-0c7a-4181-82f3-158ee5541928\'
info: Localization.StarterWeb:Kestrel:Clr:x64[0]
         at Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies)
info: Localization.StarterWeb:Kestrel:Clr:x64[0]
         at Microsoft.Extensions.DependencyModel.Resolution.CompositeCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies)
info: Localization.StarterWeb:Kestrel:Clr:x64[0]
         at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths()
info: Localization.StarterWeb:Kestrel:Clr:x64[0]
         at Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider.PopulateFeature(IEnumerable`1 parts, MetadataReferenceFeature feature)
info: Localization.StarterWeb:Kestrel:Clr:x64[0]
         at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)

This seems to have started after the changes in aspnet/Mvc#4498. The reason this error occurs is that for the net451 TFM, while the assembly Microsoft.DotNet.Cli.Utils.dll appears in the build output of the project, it does not show up in the published output. What I'm curious about is why this dotnet cli assembly is being loaded even in full framework and whether this is a publish issue or an issue with how Razor is loading the assemblies.

cc @CesarBS @pranavkm

@JunTaoLuo
Copy link
Contributor Author

looks like a cli issue, @pakrym will be filing an issue in cli. Will try to find a work around or disable the tests.

@JunTaoLuo
Copy link
Contributor Author

Workaround checked in, will keep this issue open to revert the change when cli issue is fixed.

@muratg muratg modified the milestones: 1.0.1, 1.0.0 May 26, 2016
@muratg
Copy link

muratg commented May 26, 2016

@JunTaoLuo what's the CLI bug? Could you link to that?

@piotrpMSFT FYI. We'd need the CLI fix for this one.

@JunTaoLuo
Copy link
Contributor Author

@pakrym says he's fixing it.

@muratg muratg modified the milestones: 1.0.1, 1.0.0 May 26, 2016
@muratg muratg assigned pakrym and unassigned JunTaoLuo May 26, 2016
@muratg muratg modified the milestones: 1.0.0, 1.0.1 May 26, 2016
@pakrym
Copy link
Contributor

pakrym commented May 26, 2016

https://github.com/dotnet/cli/issues/3252 is the CLI issue

@pakrym
Copy link
Contributor

pakrym commented Jun 2, 2016

Reverted workaround: b118b16

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants