publish

Can ClickOnce be configured to delete off old published directories?

不羁的心 提交于 2021-01-20 22:14:49
问题 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:13:15
问题 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:13: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:12:54
问题 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?

╄→гoц情女王★ 提交于 2021-01-20 22:12:37
问题 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

Publishing .netcore angular project gives “The SPA default page middleware could not return index.html”, works in debug

不羁岁月 提交于 2020-12-30 03:56:46
问题 We've inherited a small .net core application that has an angular 8 front end and a web api back end. When i received the files they were two separate projects, but to keep them similar to the rest of our projects, and make our deployments easier, we would like to combine them into one visual studio solution / project. I've brought the files into visual studio and done various things to try get the project working. I've been on this about a day now, so i couldn't completely tell you exactly

Specify Publish timeouts in mass transit

扶醉桌前 提交于 2020-12-13 04:01:21
问题 Is there a way to specify timeout value when publishing messages using the MassTransit Library. How to handle scenarios when message broker goes down. Now it seems that Publish call waits indefinitely. It would be nice to control these behavior. Should we rely on cancellation token? Timeout implementation might be better. 回答1: You can pass a CancellationToken to Publish . If canceled, an OperationCanceledException will be thrown. If you want to use a timeout, you can create a

Specify Publish timeouts in mass transit

*爱你&永不变心* 提交于 2020-12-13 03:57:06
问题 Is there a way to specify timeout value when publishing messages using the MassTransit Library. How to handle scenarios when message broker goes down. Now it seems that Publish call waits indefinitely. It would be nice to control these behavior. Should we rely on cancellation token? Timeout implementation might be better. 回答1: You can pass a CancellationToken to Publish . If canceled, an OperationCanceledException will be thrown. If you want to use a timeout, you can create a

How to work around the PFX signing not supported error when publishing .NET Core

落爺英雄遲暮 提交于 2020-12-05 12:31:04
问题 I've been trying to sign assemblies with a PFX file. All worked fine, I accessed Properties/Signing at Visual Studio yet whenever I run the dotnet publish command, I get this error: C:\Program Files\dotnet\sdk\2.1.201\Microsoft.Common.CurrentVersion.targets(3210,5): error PFX signing not supported on .NET Core I've been looking for a way to work around this, yet with no luck so far. 回答1: So I figured I should go with SNK signing instead of PFX, considering it's no longer supported by PFX. 来源: