Skip to content

Commit aabd0fa

Browse files
authored
Use Arcade and enable AzDO (#74)
1 parent 1cd2943 commit aabd0fa

File tree

101 files changed

+4854
-108
lines changed

Some content is hidden

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

101 files changed

+4854
-108
lines changed

.gitignore

Lines changed: 129 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,132 @@
1-
[Oo]bj/
2-
[Bb]in/
3-
TestResults/
4-
.nuget/
5-
*.sln.ide/
6-
_ReSharper.*/
7-
packages/
8-
shared/
1+
syntax: glob
2+
3+
### VisualStudio ###
4+
5+
# Tools directory
6+
/[Tt]ools/
7+
.dotnet/
8+
.packages/
9+
10+
# User-specific files
11+
*.suo
12+
*.user
13+
*.userosscache
14+
*.sln.docstates
15+
launchSettings.json
16+
17+
# Build results
18+
919
artifacts/
10-
PublishProfiles/
20+
[Dd]ebug/
21+
[Rr]elease/
22+
x64/
23+
x86/ !eng/common/cross/x86/
24+
[Bb]in/
25+
[Oo]bj/
26+
msbuild.log
27+
msbuild.err
28+
msbuild.wrn
29+
msbuild.binlog
30+
31+
# Visual Studio 2015
1132
.vs/
33+
34+
# Visual Studio 2015 Pre-CTP6
35+
*.sln.ide
36+
*.ide/
37+
38+
# MSTest test Results
39+
[Tt]est[Rr]esult*/
40+
[Bb]uild[Ll]og.*
41+
42+
#NUNIT
43+
*.VisualState.xml
44+
TestResult.xml
45+
46+
# ReSharper is a .NET coding add-in
47+
_ReSharper*/
48+
*.[Rr]e[Ss]harper
49+
*.DotSettings.user
50+
51+
# DotCover is a Code Coverage Tool
52+
*.dotCover
53+
54+
# NuGet Packages
55+
*.nuget.props
56+
*.nuget.targets
57+
*.nupkg
58+
**/packages/*
59+
60+
### Windows ###
61+
62+
# Windows image file caches
63+
Thumbs.db
64+
ehthumbs.db
65+
66+
# Folder config file
67+
Desktop.ini
68+
69+
# Recycle Bin used on file shares
70+
$RECYCLE.BIN/
71+
72+
# Windows Installer files
73+
*.cab
74+
*.msi
75+
*.msm
76+
*.msp
77+
78+
# Windows shortcuts
79+
*.lnk
80+
81+
### Linux ###
82+
83+
*~
84+
85+
# KDE directory preferences
86+
.directory
87+
88+
### OSX ###
89+
90+
.DS_Store
91+
.AppleDouble
92+
.LSOverride
93+
94+
# Icon must end with two \r
95+
Icon
96+
97+
# Thumbnails
98+
._*
99+
100+
# Files that might appear on external disk
101+
.Spotlight-V100
102+
.Trashes
103+
104+
# Directories potentially created on remote AFP share
105+
.AppleDB
106+
.AppleDesktop
107+
Network Trash Folder
108+
Temporary Items
109+
.apdisk
110+
111+
# vim temporary files
112+
[._]*.s[a-w][a-z]
113+
[._]s[a-w][a-z]
114+
*.un~
115+
Session.vim
116+
.netrwhist
117+
*~
118+
119+
# Visual Studio Code
120+
.vscode/
121+
122+
# Private test configuration and binaries.
123+
config.ps1
124+
**/IISApplications
125+
126+
127+
# Node.js modules
12128
node_modules/
13-
*.user
14-
*.suo
15-
*.cache
16-
*.docstates
17-
*.exe
18-
_ReSharper.*
19-
*.psess
20-
*.vsp
21-
*.pidb
22-
*.userprefs
23-
*.*sdf
24-
*.ipch
25-
.settings
26-
*.orig
27-
*.user*.userprefs
28-
*DS_Store
29-
launchSettings.json
129+
130+
# Python Compile Outputs
131+
132+
*.pyc

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "PowerShell",
9+
"request": "launch",
10+
"name": "PowerShell ./eng/common/build.ps1",
11+
"script": "${workspaceRoot}/eng/common/build.ps1",
12+
"args": [],
13+
"cwd": "${workspaceRoot}"
14+
},
15+
]
16+
}

Directory.Build.props

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1-
<Project>
2-
<Import Project="version.props" />
3-
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<!-- Leave this file here, even if it's empty. It stops chaining imports. -->
44
<PropertyGroup>
5-
<Product>Microsoft ASP.NET Core</Product>
6-
<RepositoryUrl>https://github.com/aspnet/AspLabs</RepositoryUrl>
7-
<RepositoryType>git</RepositoryType>
8-
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
5+
<ImportNetSdkFromRepoToolset>false</ImportNetSdkFromRepoToolset>
6+
97
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)eng\AspNetCore.snk</AssemblyOriginatorKeyFile>
10-
<SignAssembly>true</SignAssembly>
11-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
128
<LangVersion>7.3</LangVersion>
9+
</PropertyGroup>
10+
11+
<PropertyGroup>
12+
<!-- <RestoreSources>$(RestoreSources);http://api.nuget.org/v3/index.json;</RestoreSources> -->
13+
14+
<!-- aspnetcore-dev feed for internal packages like Microsoft.Extensions.Logging.Testing -->
15+
<RestoreSources>$(RestoreSources);https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json</RestoreSources>
16+
<RestoreSources>$(RestoreSources);https://dotnet.myget.org/F/dotnet-core/api/v3/index.json</RestoreSources>
17+
</PropertyGroup>
1318

14-
<!-- Suppress the message about using a preview version of the .NET Core SDK -->
15-
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
16-
<!-- By default, disable packing all .csproj files into .nupkgs. Projects which should be packed opt-in by setting this to true. -->
17-
<IsPackable>false</IsPackable>
19+
<PropertyGroup Label="Package and Assembly Metadata">
20+
<Product>Microsoft ASP.NET Core</Product>
21+
</PropertyGroup>
1822

19-
<ArtifactsDir>$(RepositoryRoot)artifacts\</ArtifactsDir>
20-
<PackageOutputPath>$(ArtifactsDir)packages\</PackageOutputPath>
21-
<BaseIntermediateOutputPath>$(ArtifactsDir)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
22-
<BaseOutputPath>$(ArtifactsDir)bin\$(MSBuildProjectName)\</BaseOutputPath>
23+
<PropertyGroup Label="Warning Suppressions">
24+
<!--
25+
Suppress a warning about upcoming deprecation of PackageLicenseUrl. When embedding licenses are supported,
26+
replace PackageLicenseUrl with PackageLicenseExpression.
27+
-->
28+
<NoWarn>$(NoWarn);NU5125</NoWarn>
2329
</PropertyGroup>
2430

31+
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
2532
</Project>

Directory.Build.targets

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
12
<Project>
2-
</Project>
3+
<!-- Leave this file here, even if it's empty. It stops chaining imports. -->
4+
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
5+
</Project>

NuGet.config

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<configuration>
33
<packageSources>
44
<clear />
5-
<!-- <add key="myget.org dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
6-
<add key="myget.org aspnetcore-dev" value="https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json" />
7-
<add key="myget.org aspnetcore-tools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" /> -->
5+
<add key="arcade" value="https://dotnetfeed.blob.core.windows.net/dotnet-tools-internal/index.json" />
6+
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
87
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
98
</packageSources>
10-
</configuration>
9+
</configuration>

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
AspLabs
22
=======
33

4+
[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/aspnet/AspLabs/aspnet-AspLabs-github)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=256)
5+
46
Repo for ASP.NET experiments that are not ready for a production release.
7+
8+
## Building
9+
10+
To build this repo, run the `build.cmd` or `build.sh` in the root of this repo. This repo uses the .NET [Arcade toolset](https://github.com/dotnet/arcade).

0 commit comments

Comments
 (0)