FSH.AspNetCore.SecurityHeaders private

To start a new build commit change to repository or click New build button.
Update config project to publish to nuget
1.0.4
a year ago by Ngô Quốc Toản
Failed a year ago in 10 sec
10 sec
1Build started
2git clone -q --branch=main https://github.com/ngoquoctoandev/FSH.AspNetCore.SecurityHeaders.git C:\projects\fsh-aspnetcore-securityheaders
3git checkout -qf 9a5ec38e6c93ea64fd0221d1eff21f9ac9d26ebd
4msbuild "C:\projects\fsh-aspnetcore-securityheaders\FSH.AspNetCore.SecurityHeaders.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
5MSBuild version 17.7.2+d6990bcfa for .NET Framework
7A compatible .NET SDK was not found.
9Requested SDK version: 8.0.100
10global.json file: C:\projects\fsh-aspnetcore-securityheaders\global.json
12Installed SDKs:
14Install the [8.0.100] .NET SDK or update [C:\projects\fsh-aspnetcore-securityheaders\global.json] to match an installed SDK.
16Learn about SDK resolution:
17https://aka.ms/dotnet/sdk-not-found
18C:\projects\fsh-aspnetcore-securityheaders\src\FSH.AspNetCore.SecurityHeaders\FSH.AspNetCore.SecurityHeaders.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
19C:\projects\fsh-aspnetcore-securityheaders\src\FSH.AspNetCore.SecurityHeaders\FSH.AspNetCore.SecurityHeaders.csproj : error : Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
20C:\projects\fsh-aspnetcore-securityheaders\src\FSH.AspNetCore.SecurityHeaders\FSH.AspNetCore.SecurityHeaders.csproj : error : The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
21C:\projects\fsh-aspnetcore-securityheaders\src\FSH.AspNetCore.SecurityHeaders\FSH.AspNetCore.SecurityHeaders.csproj : error : MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
22C:\projects\fsh-aspnetcore-securityheaders\src\FSH.AspNetCore.SecurityHeaders\FSH.AspNetCore.SecurityHeaders.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
231.1.14 [C:\Program Files\dotnet\sdk]
242.1.202 [C:\Program Files\dotnet\sdk]
252.1.806 [C:\Program Files\dotnet\sdk]
262.2.402 [C:\Program Files\dotnet\sdk]
273.0.103 [C:\Program Files\dotnet\sdk]
283.1.202 [C:\Program Files\dotnet\sdk]
293.1.426 [C:\Program Files\dotnet\sdk]
305.0.408 [C:\Program Files\dotnet\sdk]
316.0.415 [C:\Program Files\dotnet\sdk]
327.0.402 [C:\Program Files\dotnet\sdk]
337.0.403 [C:\Program Files\dotnet\sdk]
34Command exited with code 1
Log is empty.