I have a WCF project and I have create another project which will install this WCF as a windows service.
Now I want to get the release artifacts of this windows service. Normally for other project I just do a publish using visual studio and get the artifacts.
How do I create the release artifacts for windows service?
for windows service program, just release the .exe file and the system admin will install the windows service with 'installUtil.exe' from .net framework
Related
I developed a web application in .NET Core in VS 2017 for Windows. I published it on Linux Mint using the independent mode (Self-contained deployment). How to run it on Apache without installing .Net Core runtime?
With Console App (Self-contained deployment) it's possible with this Linux command ./DllName.
I found the problem, the error was caused by a Visual Studio bug that generated dll in the wizard but was corrupted. publishing the application via cmd works.
We are in the process of building an service fabric application and have run into a bit of a issue, whenever you user Visual studio to create a new service fabric app and you specify to use a .Net core app, the app/api that is create is a .Net framework app and not .Net core.
<TargetFramework>net452</TargetFramework>
Instead of:
<TargetFramework>netcoreapp2.0</TargetFramework>
Does anyone know the reason for this, or is this intended behavior?
Regards
You need to use the preview tools to build and run .NET core apps.
A preview of Visual Studio 2017 Service Fabric Tools 2.0 is now
available for download, packed with new .NET Core and Container
tooling for Service Fabric application development. To start using the
2.0 preview tools, you'll need to install:
Visual Studio 2017 Preview (version 15.4.0 preview 4.0 or later)
Service Fabric Tools 2.0 Preview
More info here.
As far as I know, in Windows I was able to add a service reference in a .NET Core project in Visual Studio 2017 by installing the Visual Studio WCF Connected Service, but I wasn't able to find that same extension in Visual Studio for Mac.
Is there any other way of adding a service reference in Mac?
In Visual Studio for Mac "Community" 7.8.3 (build 2), right-click on the project name in the Solution Explorer. Then select Add -> Add Web Reference.
I had the choice between WFC and .NET 2.0 Web Services
I'm using .NET, so I can't verify WFC is functional, but it appears to be there
Publishing .Net core to Azure web services from Visual Studio for Mac is not working.
Tried adding web.config but still publish failed.
I'm using Visual Studio Enterprise for Mac (updated on 11-May-2017).
But configuring Deployment options via Git from Azure is perfectly working.
I created new visual studio solution and add ONLY .net core projects.
Tried publishing into Azure and hooray! - its all good now.
I tried creating an Azure project in Visual Studio 2012 Ultimate with a single MVC4 web role in it but got this error message.
The project itself after creating didn't contain the MVC4 role I wanted. I only found similar error messages for MVC2 and on my other computer it works fine.
The roletemplatedata.xml file is a file included in each Windows Azure project in Visual Studio (ie: Web Roles with MVC3, MVC4, WCF, ...). You should be able to find it under C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplatesCache\CloudService.
If you can't find this file there is probably something wrong with the installation of the Windows Azure SDK (VS2012 tools). Try to uninstall every Windows Azure component, download the latest version of the full installer here (install the SDK link) and install it again. This should fix your problem.