Problem when publishing web in visual studio 2017 community

0

Good I would like you to help me I am using visual comunity 2017 and I want to publish a website. I already cleaned the re-compile solution but that message keeps coming out.

but I get the following error

This message comes out in the txt

02/10/2018 06:42:50 a.m.
System.AggregateException: Se han producido uno o varios errores. ---> System.Exception: Error de compilación. Compruebe la ventana de salida para obtener más detalles.
   --- Fin del seguimiento de la pila de la excepción interna ---
   en System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   en System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   en Microsoft.VisualStudio.Web.Publish.PublishService.VsWebProjectPublish.<>c__DisplayClass41_0.<PublishAsync>b__2()
   en System.Threading.Tasks.Task'1.InnerInvoke()
   en System.Threading.Tasks.Task.Execute()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
   en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   en Microsoft.VisualStudio.ApplicationCapabilities.Publish.ViewModel.ProfileSelectorViewModel.<RunPublishTaskAsync>d__116.MoveNext()
---> (Nº de excepción interna 0) System.Exception: Error de compilación. Compruebe la ventana de salida para obtener más detalles.<---

===================
    
asked by PieroDev 02.10.2018 в 13:46
source

2 answers

0

I see that you solved,

  • try to elevate your user's privileges to be a team administrator.

  • Or change the owner of the folder so that your user is the owner.

  • But in any case in a development computer it is preferable that your user be an administrator so that you do not have such problems.

It's good that you found the solution yourself.

    
answered by 03.10.2018 в 13:37
0

Good the solution that I found was just to run the visual studio as an administrator and I was just allowed to publish.

    
answered by 03.10.2018 в 12:38