Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing build errors with CI #31

Merged
merged 10 commits into from
Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true

# Generated code
[*{_AssemblyInfo.cs,.g.cs}]
generated_code = true

# All files
[*]

# .NET Foundation Header
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.\nSee the LICENSE file in the project root for more information.

# Require file header
dotnet_diagnostic.IDE0073.severity = warning
2 changes: 1 addition & 1 deletion ColorCode.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ColorCode.WinUI", "ColorCod
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A4B1B99B-FC3A-4C76-8B46-B96723829FD2}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
azure-pipelines.yml = azure-pipelines.yml
build\build.cake = build\build.cake
ColorCode.snk = ColorCode.snk
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
Expand Down
13 changes: 3 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,8 @@ steps:

- powershell: .\build\Install-WindowsSdkISO.ps1 18362

- task: DotNetCoreCLI@2
inputs:
command: custom
custom: msbuild
arguments: /t:restore .\ColorCode.sln
displayName: NuGet restore

- powershell: .\build\build.ps1
displayName: Build
- script: msbuild -p:Configuration=Release -r -t:pack -p:GenerateLibraryLayout=true -p:PackageOutputPath=..\build\nupkg .\ColorCode.sln
displayName: Build and pack

- task: PowerShell@2
displayName: Authenticode Sign Packages
Expand All @@ -70,6 +63,6 @@ steps:
- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: .\build\nupkg
pathToPublish: 'build\nupkg'
artifactType: container
artifactName: Packages
3 changes: 0 additions & 3 deletions build/Build.bat

This file was deleted.

3 changes: 0 additions & 3 deletions build/UpdateHeaders.bat

This file was deleted.

177 changes: 0 additions & 177 deletions build/build.cake

This file was deleted.

Loading