I have created a console application that works as background app in C++. I am trying to run this application through windows service to start automatically if the app crashed.
What I can't do is to create a windows service which can trigger the xxx.exe.
How can I make this windows service AND background application as a single setup file for installation ?
Related
I have a solution that creates two applications: an ASP.NET Core Web Console App (server) and a UWP app (client). Both installers are created using Windows Application Packaging Projects using sideloading. Building and testing the client and server apps are functioning as expected. Deploying (installing) the client and server apps on desktop PCs also seem to function as expected. However, when it comes to running the apps, only the client seems to be working as expected. When launching the server (console web app) it displays a console window then disappears immediately.
Since this is a console app, I opened a command prompt and changed directory to where this application is installed (C:\Program Files\WindowsApps\AppName). I attempted to run the console app from the command line and I got the message "Access Denied". Assuming this directory is locked down by the system, I decided to to test the console app functionality by copying the directory from C:\Program Files\WindowsApps to C:\Temp. I then changed directory to C:\Temp and attempted to run the program. It runs as expected. So there seems to be nothing wrong with my console web app other than it cannot run if installed in the WindowsApp location. I tried searching for information regarding using Windows Application Packaging to package console apps but I didn't have much luck. Would it help to add and app.manifest and set the "requestedExecutionLevel" to "requireAdministrator"? Should I use a different type of packaging for the console Web App?
I create one application in the Dotnet Framework WEBAPI. I used to container service to deploy this application, I used two dotnet framework container one for build one for rum. (dotnet/framework/sdk) use to create build and (dotnet/framework/aspnet) use to deploy. Application deploy successfully, when hit api give response correct but log not generated. IN the local system we use visuale studio 2019 to run application then log generated.enter image description here
I have an application which has the method
shgetspecialfolderpath
to get a folder path. It works fine when I directly run the application. But when I launch the application from a window service, the CSIDL_DESKTOP fails and shgetspecialfolderpath returns error code 2.
I am a dot net developer.I am using azure students subscription. I am running a windows service app which compile cpp file, run and collect output and store in database. It uses mingw for compiling. the software hosted in a windows vm. But windows vm cost for student but container instance does'nt.Now I want to run windows server core on azure container and host the service app with remote desktop in windows server core . Is it possible? if possible what is the procedure?
Yes, now you can install Windows Server 2016 Datacenter - Server Core:
https://portal.azure.com/#create/Microsoft.WindowsServer2016DatacenterServerCore-ARM
I have setup a GoCD server and agent (on a Windows machine if that matters). I am using it to build a .NET application. I have installed a few Task plugins (Powershell, Xunit-converter) and when I restart the server I see those as loaded and installed without issue in the plugin admin screen.
However, when I go to create or edit a job, I do not see these new tasks in the "Add Task" dropdown. I can get around the powershell one by using a Custom command, but I need to be able to convert my MsTest ouptut to Xunit so that it can display the results in the Test Results Tab.