.net inne

System service

[Unit]
Description=Example .NET Web API App running on Ubuntu
 
[Service]
WorkingDirectory=/var/www/helloapp
ExecStart=/usr/bin/dotnet /var/www/helloapp/helloapp.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dotnet-example
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
 
[Install]
WantedBy=multi-user.target

sudo systemctl enable kestrel-helloapp.service
Kategoria: 

polly

TimeoutStrategy.
ServiceDiscover

Kategoria: 

visual studia error

Solution for Visual Studio 2017:

step 1: open visual studio cmd in administrator mode (See Start menu item: Developer Command Prompt for VS 2017 - Be sure to use: Run as administrator)

step 2: change directory to the folder where VS 2017 is installed, for example:

cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise

(You can copy/paste this command to your cmd prompt, for Visual Studio Professional, the folder will be called "Professional" instead of "Enterprise" etc.)

step 3: copy/paste the below command

gacutil -if Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll

hit enter..

it will resolve the issue..

otherwise you can also add to GAC following as above

Microsoft.VisualStudio.Shell.Interop.9.0.dll

Microsoft.VisualStudio.Shell.Interop.10.0.dll

Microsoft.VisualStudio.Shell.Interop.11.0.dll

Kategoria: 

visual strudio skrot

Ctr [, s

ustaw pozycje aktualnie otwartego pliku w solution

Kategoria: 

Strony

Subskrybuj .net inne