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

Blazor server-side publish docker image failure #5662

Open
agonzalezm opened this Issue Dec 3, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@agonzalezm

agonzalezm commented Dec 3, 2018

I am trying to publish a docker image of my blazor SSR app but i get this error when running build

Error The "Microsoft.AspNetCore.Razor.Tasks.RazorTagHelper" task could not be loaded from the assembly /root/.nuget/packages/microsoft.aspnetcore.razor.design/2.1.1/build/netstandard2.0/../../tasks/netstandard2.0/Microsoft.AspNetCore.Razor.Tasks.dll. Assembly with same name is already loaded 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. [/src/testapp/testapp.Server.csproj]

The command '/bin/sh -c dotnet build "testapp.Server.csproj" -c Release -o /app' returned a non-zero code: 1
C:\Users\agonzalez.nuget\packages\microsoft.visualstudio.azure.containers.tools.targets\1.0.1916590\build\Container.targets(132,5): Error MSB3073: The command "docker build -t "testapp" -f "Dockerfile" ".."" exited with code 1.

@aspnet-hello aspnet-hello transferred this issue from aspnet/Blazor Dec 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment