MSBuild doesn't create a package for a Web Service project? - web-services

We're running the following command for building and packaging Visual Studio Solutions:
MSBuild.exe *slnfile* /p:DeployOnBuild=true /p:CreatePackageOnPublish=true
It appears this creates packages for Web Applications but not Web Services. I don't even see a "Publish" option in Visual Studio for Web Service projects. How do I package these for deployment?

It turns out the developer didn't create a Web Application project, they created a simple empty C# project. I converted the project to Web Application and it works.

Related

How do I install the web development workload into VS Professional?

I am following instructions to create a web service which mentions that I need the ASP.NET and web development workload.
I found mention of that here but not how to install it.
I found the Visual Studio Professional 2017 component directory but it does not mention the ASP.NET and web development workload
I am running version 15.5.4
Run as administrator
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe"
This is available from the start menu.

How to create web deploy package in VSTS/VSO Build vNext?

I have an automated build in Visual Studio Team Services (formerly Visual Studio Online. The solution is building correctly. How do I configure it so it will also create a web deploy package?
We use the following MSBuild Arguments: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\\"
With these you do not need to create a new publishing profile.
We enable web deploy package creation within the "Visual Studio Build" task. Simply pass the following MS Build arguments:
MSBuild Arguments: /p:DeployOnBuild=true;PublishProfile=<name of your profile>

Manually deployed WinRT app behaves different compared to deployment from VS2013

I've developed a universal app for Windows 8.1 and am now trying to install the built .appx package via powershell having no problem after installing the certificate. Though when I run the installed app it behaves differently as if I deploy/install the app from within Visual Studio.
The app is using (local) REST services to obtain data from different sources. While working when starting the app from Visual Studio, it is not when I create an .appx package and install it manually via powershell. Any hints where the problem is located?

Illegal characters in path when attempting to deploy an Azure webjob via Visual Studio Online build process

I am trying to setup a CI build process with Azure WebJobs. I have a ASP.NET MVC5 and a WebJob project in the solution and several class library projects. I have a working Visual Studio Online (VSO) build definition already setup to deploy the MVC project. However, when I add the WebJob project to the solution the build process fails with:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets (2586, 5) Copying file C:\a\1\a**\*.* to obj\Release\Package\PackageTmp\app_data\jobs\triggered\LoyaltyClub\*.* failed. Illegal characters in path.
Any ideas how I can fix this? Both the MVC and WebJob projects are using version 1.0.7 of the Microsoft.Web.WebJobs.Publish Nuget package.

Deploying web app on Stratos Live

I Need to deploy a web application on Stratos server. I went through this blog post http://dakshithar.blogspot.com/2011/08/how-to-deploy-web-application-in.html and this slideshow http://engwar.com/p/java-paas-gs/#wa01. They have information on deploying a web app to Stratos using Eclipse and Carbon Studio.
I have already created my web application on Netbeans IDE, so is there anyway to configure Carbon Studio with Netbeans?
Is it necessary to use Carbon Studio with Eclipse application deployment, or can I run web applications that I have developed in Netbeans on Stratos Live server? Or is migrating from Netbeans to Eclipse the only option?
Carbon studio is a Eclipse-based SOA development environment for the Carbon platform.Here are the Answers for your questions.
Q :- Is there anyway to configure Carbon Studio with Netbeans?
A :- NO,since carbon studio is eclipse based tooling environment it can not be configured with Netbeans.
Q :- Is it necessary to use Carbon studio with Eclipse application deployment can I run web applications that I have developed in Netbeans on Stratos Live server?
A :- When it comes to web application development,it is not necessary to use Carbon studio for Stratos Live or WSO2 Application server deployment.But if you going to develop any other SOA components with WSO2 products life will be easier with Carbon Studio.
As an alternative you can import your .war file (that you already have) in to carbon studio by using New Web Application wizard.