publish

Publishing a dotnet application that's already running

a 夏天 提交于 2021-02-18 06:26:42
问题 I'm attempting to create a script to simplify the process of publishing a .NET Core website. I'm running into an issue when I run dotnet publish against an already running server. The server is IIS with the dotnet bundle installed, so IIS uses its app pool to start dotnet. Here's my batch file. I'm happy to use another script type: cd src/app dotnet build --no-incremental dotnet publish --framework netcoreapp1.0 --configuration Release --output ../../dist When I run the script I get this

Publishing a dotnet application that's already running

扶醉桌前 提交于 2021-02-18 06:26:17
问题 I'm attempting to create a script to simplify the process of publishing a .NET Core website. I'm running into an issue when I run dotnet publish against an already running server. The server is IIS with the dotnet bundle installed, so IIS uses its app pool to start dotnet. Here's my batch file. I'm happy to use another script type: cd src/app dotnet build --no-incremental dotnet publish --framework netcoreapp1.0 --configuration Release --output ../../dist When I run the script I get this

Using self made npm package in react. Failed to compile

戏子无情 提交于 2021-02-17 04:59:12
问题 I followed https://zellwk.com/blog/publish-to-npm/ to create my custom npm package (https://www.npmjs.com/package/demo-to-publish). The folder structure of my custom package is as follows: src -> index.js node_modules List item Lable.js package.json webpack.config.js Content of my package.json is as follows: { "name": "demo-to-publish", "version": "1.0.5", "description": "testing publishing to npm", "main": "./src/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1",

How to create a new keystore in xamarin.android?

一曲冷凌霜 提交于 2021-02-10 07:14:10
问题 I'm trying to publish a xamarin.android app. I'm using Visual Studio with Xamarin Android 6, so I followed this. In part 2, it describes how to create a new keystore as shown in the following screenshot (You can see the complete describtion here): I don't get where should I place this command. I looked at that keytool link, but couldn't find any thing. I tried cmd, MSBuild Command Prompt for VS2015 and Developer Command Prompt for VS2015, but all of them showed this error: '$' is not

How to create a new keystore in xamarin.android?

删除回忆录丶 提交于 2021-02-10 07:09:15
问题 I'm trying to publish a xamarin.android app. I'm using Visual Studio with Xamarin Android 6, so I followed this. In part 2, it describes how to create a new keystore as shown in the following screenshot (You can see the complete describtion here): I don't get where should I place this command. I looked at that keytool link, but couldn't find any thing. I tried cmd, MSBuild Command Prompt for VS2015 and Developer Command Prompt for VS2015, but all of them showed this error: '$' is not

Build and publish C# .NET Web App via command line

喜欢而已 提交于 2021-02-04 10:54:21
问题 I need to be able to generically and separately build and publish C# ASP.NET Web Applications. Ideally, I would like to use MSBuild to build the application, and if that succeeds, I would like to simply publish the site preferably solely with file copy. Currently, I am able to build web application quite easily with MSBuild, but it is the publishing that is causing confusion. After the build, the binaries sit in the bin folder, but I am not sure what files to copy. What would be a good way to

.NET Core Publish Compilation Errors

梦想的初衷 提交于 2021-01-29 04:58:57
问题 I have a .NET Core 2.2 project that builds in both Debug and Release configuration just fine. However, the build fails when I try and publish the project. Startup.cs(26,16): Error CS0246: The type or namespace name 'IConfiguration' could not be found (are you missing a using directive or an assembly reference?) Startup.cs(35,39): Error CS0246: The type or namespace name 'IServiceCollection' could not be found (are you missing a using directive or an assembly reference?) Startup.cs(29,24):

Visual studio 2017 Verbose publish

▼魔方 西西 提交于 2021-01-27 07:01:28
问题 I'm attempting to publish a .Net-Core 2.0 project on visual studio 2017. When I publish everything builds fine the publish says success however no files are published. I've looked at a few questions about this and attempted the solution, switch from debug to release, etc. But nothing seems to work Connecting to ftps://fakeServer.GoDaddy.com:21... Restore completed in 97.58 ms for C:\source\MyProject.csproj. Restore completed in 73.07 ms for C:\source\MyDependency.csproj. C:\Program Files (x86

Can ClickOnce be configured to delete off old published directories?

不羁的心 提交于 2021-01-20 22:16:12
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being

Can ClickOnce be configured to delete off old published directories?

不羁的心 提交于 2021-01-20 22:15:10
问题 Can ClickOnce be configured to delete off old published directories? Or Has anyone written some code that will delete off these publish directories (maybe keeping the last 10)? Currently, every time a ClickOnce Publish is done a new directory is being created on the IIS Server. This NEW directory contains a copy of the whole application, which is downloaded. The old directories do not seem to be used anymore and is just taking up a lot of space. Here is a sample of the directory names being