Skip to content

Commit 8dd04bd

Browse files
author
Timothy Mothra
authored
Tilee/examples (#2339)
* move example projects to root. change to project reference * update packages * remove release config * rename projects * build definition for examples solution * cleanup yml * fix yml * test fix for yml * test fix yml
1 parent 7362b65 commit 8dd04bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+157
-246
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# .NET CLI: https://docs.microsoft.com/dotnet/core/tools/
3+
# Description: The purpose of this build is to verify that our example projects compile.
4+
5+
name: Examples Sanity Build
6+
7+
on:
8+
push:
9+
branches: [ main, develop ]
10+
pull_request:
11+
branches: [ main, develop ]
12+
13+
jobs:
14+
build-test:
15+
16+
runs-on: windows-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v1
23+
with:
24+
dotnet-version: 5.0.x
25+
26+
- name: Install dependencies
27+
run: dotnet restore ./examples/Examples.sln
28+
29+
- name: Build
30+
run: dotnet build ./examples/Examples.sln

examples/WebApp.AspNetCore/ApplicationInsightsDiagnostics.json renamed to examples/AspNetCoreWebApp/ApplicationInsightsDiagnostics.json

File renamed without changes.
File renamed without changes.

examples/WebApp.AspNetCore/Controllers/HomeController.cs renamed to examples/AspNetCoreWebApp/Controllers/HomeController.cs

File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace WebApp.AspNetCore
1+
namespace AspNetCoreWebApp
22
{
33
using System;
44
using System.Collections.Generic;

examples/WebApp.AspNetCore/Properties/launchSettings.json renamed to examples/AspNetCoreWebApp/Properties/launchSettings.json

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace WebApp.AspNetCore
1+
namespace AspNetCoreWebApp
22
{
33
using System;
44
using System.Collections.Generic;
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)