publish

Visual Studio 2017 ASP.Net Publish Self-Contained Dot Net Core App

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 01:50:08
问题 I have a .Net Core ASP.Net application in Visual Studio 2017. I am trying to do a self contained deployment of the application. If I run the following command from the CLI it works exactly how I want and produces a .exe dotnet publish -c release -r win7-x64 However if I publish from Visual Studio 2017 it does not produce a .exe and produces a .dll instead. How can I replicate the -r win7-x64 of the dotnet publish command from within Visual Studio 2017? Here is the contents of my .pubxml <?xml

Setup Laravel 5 Application without command-line access

给你一囗甜甜゛ 提交于 2019-12-11 01:29:06
问题 Is it possible to Setup Laravel 5 Application without command-line access? It's a common task do these commands with Laravel 5: composer install php artisan migrate php artisan db:seed gulp [...] Consider a non-dedicated server without SSH access, how can I setup the application in that environment? 回答1: Yes it is possible. Briefly, when you have developed your Laravel on local environment you need to use FTP client/software (Like FileZilla FTP client) to upload the content to your host

How to create MSBuild targets file to deploy files?

余生长醉 提交于 2019-12-11 00:49:31
问题 Given I have a post build process that generates files in \bin\out how can I use a MSBuild targets file to state that all files (recursively) in that directory should be published during web deploy? 回答1: Let's split this in two parts: First, build the web project: <Target Name="BuildWeb"> <MSBuild Projects="WebExtranet\WebExtranet.csproj" Properties="Configuration=$(Environment);DeployOnBuild=True;CreatePackageOnPublish=True;BaseIntermediateOutputPath=..\$(DistDir)\Web\" /> </Target> Then use

build and publish .net Web App programmatically

天涯浪子 提交于 2019-12-10 20:14:54
问题 I'm building an application that needs to be able to, on a command, publish itself to a specified directory. I'm looking for something like System.BuildSystem.Build(<project file>, 'release'); System.BuildSystem.Publish(<project file>, <destination folder>); Is this possible? 回答1: Take a look at msbuild or nant. Personally, I use msbuild to push releases to our QA environment and create packages to be rolled out to production. Your application could, for example, call batch files that run

Exclude non-minified files from publish in `project.json` with ASP.NET Core

眉间皱痕 提交于 2019-12-10 19:19:02
问题 I am trying to find a proper configuration for the publishOptions inside project.json (ASP.NET Core 1.0 / Full Framework) so that non-minified files are not published. Official documetation doesn't help much: project.json reference. Searching for globbing patterns, and finding some artilcles with gulp examples, I came up with this wwwroot/js/**/*!(*.min.js) , but it doesn't seem to work. Is my syntax wrong? Or, it's just that project.json and dotnet publish don't support this syntax?

Publish website to IIS, server locks dll files

蹲街弑〆低调 提交于 2019-12-10 17:27:23
问题 I've been struggling with this problem for about a week. I'm trying to publish my MVC website to my IIS server using FTP. The only problem is that when I transfer the files, MVC always locks up some DLL files (System.Web.MVC etc.) and it releases them 10 minutes later. This problem prevents my site to be consistently up and gives a very ugly error message. When trying to delete the bin folder I get access denied, when trying to rename the bin folder I get access denied and when trying to

How do I correctly publish my app?

眉间皱痕 提交于 2019-12-10 16:42:47
问题 I am using visual studio to create my first windows desktop c# wpf app. I am at the phase I want to release/deploy/build it. In Visual Studio Express 2013 I right click my project and click publish, I click next and leave the publish location default as I dont know what I should put, next I choose to have the users install from a cd-rom/dvd and tell it not to check for updates and click finish. It then create a 'clickonce' application on my desktop. So I upload to it a web server, download it

Can you publish a .war directly from eclipse to a web server

对着背影说爱祢 提交于 2019-12-10 15:01:35
问题 Can you publish a .war directly from eclipse to a web server. I know it's not a programming question, but I still think it's a relevant question. Thanks 回答1: yes you can. right click on the project, select export -> select web - > then war and give destination which is your deploy folder. 回答2: Yes, but it depends a lot on your project configuration. Generally you need to define the server in eclipse, and choose "Run on Server". See this as an example of deploying on JBoss server from eclipse.

What is the advantage of the ASP.NET precompilation?

 ̄綄美尐妖づ 提交于 2019-12-10 14:58:18
问题 How useful is it to use Aspnet_compiler.exe instead of conventional Publish via Visual Studio? And what about resource (resx) files? 回答1: Precompilation, as opposed to simple xcopy gives you two main advantages: The filesystem will not have all the code in .aspx files and all the code behind is compiled into an assembly. There is no ASP.NET compilation delay the first time you visit a page after the server starts up. Having said that, my precompilation knowledge is a bit rusty these days,

VS2012 & 2013: Can't publish Services project - specified path is too long

萝らか妹 提交于 2019-12-10 14:54:29
问题 I have a VS2012 solution, containing 10 projects, and suddenly, I can no longer publish my Services project to any folder. When I try to publish to D:\temp , I get this error: The expression "[System.IO.Path]::GetFullPath(obj\Release%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252528Prod