- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试通过 PowerShell Admin 执行 azure cli 命令来发布:
az artifacts universal publish --organization https://dev.azure.com/<ORG NAME> --feed <FEED NAME> --name <ARTIFACT NAME> --version 1.0.0 --description "Add description" --path .
这是错误:
az : Encountered an unexpected error.
At line:1 char:1
+ az artifacts universal publish --organization https://dev.azure.com/s ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Encountered an unexpected error.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
System.UnauthorizedAccessException: Access to the path
'C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5' is denied.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateRelativeDirectoryHandle(ReadOnlySpan`1
relativePath, String fullPath)
at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)
at Microsoft.VisualStudio.Services.BlobStore.Common.GlobFactory.Init(String sourceDirectory)
at Microsoft.VisualStudio.Services.BlobStore.Common.GlobFactory.PerformGlobbing(String sourceDirectory)
at Microsoft.VisualStudio.Services.BlobStore.Common.PrecomputedHashesGenerator.GetSegmentedPagesFromSource
Directory(String sourceDirectory, Boolean includeEmptyDirectories, ArtifactPublishOptions
artifactPublishOptions)+MoveNext()
at Microsoft.VisualStudio.Services.Content.Common.TargetBlockExtensions.PostAllToUnboundedAndCompleteAsync
[T](ITargetBlock`1 targetBlock, IEnumerable`1 inputs, CancellationToken cancellationToken)
at
Microsoft.VisualStudio.Services.BlobStore.Common.PrecomputedHashesGenerator.PaginateAndProcessFiles(String
sourceDirectory, Boolean chunkDedup, IEnumerable`1 pages, CancellationToken cancellationToken, Action`1
hashCompleteCallback)
at Microsoft.VisualStudio.Services.BlobStore.WebApi.DedupManifestArtifactClient.PublishAsync(String
fullPath, ArtifactPublishOptions artifactPublishOptions, String manifestFileOutputPath, CancellationToken
cancellationToken)
at Microsoft.VisualStudio.Services.Packaging.UPackClientShared.UPackSharedClient.PushWithoutCheckingForDup
licatePackageAsync(String projectNameOrId, String feedNameOrId, String packageName, String packageVersion,
String description, String sourceDirectory, Boolean honorIgnoreOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Packaging.UPackClientShared.UPackSharedClient.PushAsync(String
projectNameOrId, String feedNameOrId, String packageName, String packageVersion, String description, String
sourceDirectory, Boolean honorIgnoreOptions, CancellationToken cancellationToken)
at ArtifactTool.Commands.UPackPublishCommand.<>c__DisplayClass25_0.<<ExecuteAsync>b__0>d.MoveNext() in
D:\a\1\s\src\ArtifactTool\Commands\UPack\UPackPublishCommand.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
at ArtifactTool.Commands.UPack.UPackExceptionMapper.WithExceptionHandlingAsync(Func`1 act) in
D:\a\1\s\src\ArtifactTool\Commands\UPack\UPackExceptionMapper.cs:line 39
at ArtifactTool.Commands.UPackPublishCommand.ExecuteAsync() in
D:\a\1\s\src\ArtifactTool\Commands\UPack\UPackPublishCommand.cs:line 63
at ArtifactTool.Commands.CommandBase.OnExecuteAsync() in
D:\a\1\s\src\ArtifactTool\Commands\CommandBase.cs:line 105
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo
method, Object instance, Object[] arguments) in
C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 77
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext
context) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 62
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b
__0>d.MoveNext() in
C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 25
--- End of stack trace from previous location where exception was thrown ---
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass126_0.<OnExecute>b__0()
in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 505
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) in
C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 611
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](CommandLineContext context)
in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 57
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](CommandLineContext
context) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 145
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](IConsole console,
String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line
130
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](String[] args) in
C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 112
我似乎无法克服这一点。我已经尝试从 C:\Windows\System32\inetsrv\config\applicationHost.config 将 setProfileEnvironment
设置为 true,但错误仍然存在。您能建议我尝试在本地计算机上设置一些东西吗?
我正在按照本文 https://medium.com/@ganeshsirsi/how-to-run-owasp-zap-security-tests-part-of-azure-devops-ci-cd-pipeline-484da8793a12 尝试在 Azure DevOps 中进行设置。
谢谢!
最佳答案
注意以下几点:
关于windows - 访问路径 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5'被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65320915/
上下文: 我正在尝试在 Windows Server 2012 R2 上设置 Jenkins (2.223) 构建服务器(在这种情况下使用 msbuild 构建)。 Jenkins 设置为服务并作为
我正在使用 Google Calendar Api与我的项目之一。我不知道如何,但下面显示的错误令人不安。 里面的代码AppFlowMetadata . public class AppFlowMet
以编程方式获取此文件夹路径的最佳方法是什么:Windows\system32\config\systemprofile\AppData\Local ? 最佳答案 示例代码 HttpContext.Cu
我正在尝试通过 PowerShell Admin 执行 azure cli 命令来发布: az artifacts universal publish --organization https://
我在将 TeamCity 配置的最后一部分安装到位时遇到严重问题。 我有一个执行以下命令的 powershell 步骤: & npm install & grunt build 记录以下输出: Bui
我是一名优秀的程序员,十分优秀!