-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
135b4f2
commit d187201
Showing
854 changed files
with
12,307 additions
and
15,783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,4 +145,5 @@ logs/ | |
.fake/ | ||
.ionide/ | ||
|
||
.idea/ | ||
.idea/ | ||
.tools/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,90 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. --> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
|
||
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
<Import Project="$(RepositoryEngineeringDir)Analyzers.props" /> | ||
|
||
<PropertyGroup> | ||
<RepoRoot Condition=" '$(RepoRoot)' == '' ">$([MSBuild]::NormalizeDirectory('$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'LICENSE'))'))</RepoRoot> | ||
<IsSourceFile>false</IsSourceFile> | ||
<IsSourceFile Condition="$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectFullPath)).StartsWith('src/')) OR $([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectFullPath)).StartsWith('src\'))">true</IsSourceFile> | ||
<SrcPackageFolder>$(RepoRoot)src\package\</SrcPackageFolder> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<!-- | ||
This version is read by vsts-prebuild.ps1 and is a base for the current version, this should be updated at the start of | ||
new iteration to the goal number. This is also used to version the local packages. This version needs to be statically | ||
readable when we read the file as xml, don't move it to a .props file, unless you change the build server process | ||
--> | ||
<TPVersionPrefix>17.6.0</TPVersionPrefix> | ||
<!-- | ||
Versioning is defined from the build script. Use a default dev build if it's not defined. | ||
Sets the AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion | ||
--> | ||
<Version Condition="'$(Version)' == ''">$(TPVersionPrefix)-dev</Version> | ||
<!-- Override the AssemblyVersion as 15.0.0 since protocol depends on this version for serialization. This is also defined in build script. --> | ||
<AssemblyVersion Condition="'$(AssemblyVersion)' == ''">15.0.0</AssemblyVersion> | ||
</PropertyGroup> | ||
|
||
<!-- Language configuration --> | ||
<PropertyGroup> | ||
<!-- default to allowing all language features --> | ||
<LangVersion>preview</LangVersion> | ||
<!-- enable strict mode for Roslyn compiler --> | ||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors> | ||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> | ||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<!-- default to max warnlevel --> | ||
<AnalysisLevel>preview</AnalysisLevel> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<!-- | ||
Make sure any documentation comments which are included in code get checked for syntax during the build, but do | ||
not report warnings for missing comments. | ||
Cleanup issue: https://github.com/microsoft/vstest/issues/4236 | ||
CS1570: XML comment on '<construct>' has badly formed XML | ||
CS1572: XML comment on 'construct' has a param tag for 'parameter', but there is no parameter by that name | ||
CS1573: Parameter 'parameter' has no matching param tag in the XML comment for 'parameter' (but other parameters do) | ||
CS1574: XML comment on 'construct' has syntactically incorrect cref attribute 'name' | ||
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member' | ||
--> | ||
<NoWarn>$(NoWarn);CA1416;RS0037;CS1570;CS1572;CS1573;CS1574;CS1591</NoWarn> | ||
</PropertyGroup> | ||
|
||
<!-- The TFMs to build and test against. --> | ||
<PropertyGroup> | ||
<!-- Naming is based on dotnet/runtime one --> | ||
<NetFrameworkMinimum>net462</NetFrameworkMinimum> | ||
<NetCoreAppMinimum>netcoreapp3.1</NetCoreAppMinimum> | ||
</PropertyGroup> | ||
|
||
<!-- Build & pack config --> | ||
<PropertyGroup> | ||
<Copyright>$(CopyrightMicrosoft)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageLicenseFile>LICENSE_NET.txt</PackageLicenseFile> | ||
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/LICENSE_NET.txt</PackageLicenseFullPath> | ||
<!-- Prevent warning about deprecated target frameworks --> | ||
<CheckEolTargetFramework>false</CheckEolTargetFramework> | ||
<DefineConstants Condition=" '$(DotNetBuildFromSource)' == 'true' ">$(DefineConstants);DOTNET_BUILD_FROM_SOURCE</DefineConstants> | ||
<!-- PDB --> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>embedded</DebugType> | ||
<!-- Default to all packages generating a corresponding symbol package --> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
</PropertyGroup> | ||
|
||
<!-- Sign config --> | ||
<PropertyGroup> | ||
<StrongNameKeyId>Microsoft</StrongNameKeyId> | ||
</PropertyGroup> | ||
|
||
<!-- Test config --> | ||
<PropertyGroup> | ||
<TestRunnerName>MSTest</TestRunnerName> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
|
||
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
|
||
<!-- Source build properties --> | ||
<PropertyGroup Condition=" '$(DotNetBuildFromSource)' == 'true' "> | ||
<!-- Force setting TargetFrameworks to net7.0 only if it was set --> | ||
<TargetFrameworks Condition=" '$(TargetFrameworks)' != '' ">$(NetCurrent)</TargetFrameworks> | ||
<!-- Force setting TargetFramework to net7.0 only if it was set --> | ||
<TargetFramework Condition=" '$(TargetFramework)' != '' ">$(NetCurrent)</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<!-- Allows build of .NET Framework assemblies on MacOS and Linux https://github.com/dotnet/designs/pull/33#issuecomment-489264196 --> | ||
<ItemGroup> | ||
<PackageReference Condition=" '$(OS)' != 'Windows_NT' " Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
<!-- Test project settings --> | ||
<Choose> | ||
<When Condition="$(TestProject) == 'true'"> | ||
<PropertyGroup> | ||
<!-- Suppress warnings about testhost being x64 (AMD64)/x86 when imported into AnyCPU (MSIL) test projects. --> | ||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> | ||
</PropertyGroup> | ||
|
||
<!-- Test projects are not discovered in test window without test container capability --> | ||
<ItemGroup> | ||
<ProjectCapability Include="TestContainer" /> | ||
</ItemGroup> | ||
|
||
<!-- Test project references --> | ||
<ItemGroup> | ||
<!-- | ||
Test projects take a direct dependency on TestHost. Indirect dependencies must be included. | ||
This is required to enable selfhost the latest testhost bits. | ||
We don't want these references to be passed onto compiler. They are just required at runtime. | ||
Mark them as content and copy to output directory. | ||
--> | ||
<ProjectReference Include="$(RepoRoot)src/testhost/testhost.csproj"> | ||
<FromP2P>true</FromP2P> | ||
</ProjectReference> | ||
<ProjectReference Include="$(RepoRoot)src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj"> | ||
<FromP2P>true</FromP2P> | ||
</ProjectReference> | ||
<ProjectReference Include="$(RepoRoot)src/Microsoft.TestPlatform.CrossPlatEngine/Microsoft.TestPlatform.CrossPlatEngine.csproj"> | ||
<FromP2P>true</FromP2P> | ||
</ProjectReference> | ||
<ProjectReference Include="$(RepoRoot)src/Microsoft.TestPlatform.Common/Microsoft.TestPlatform.Common.csproj"> | ||
<FromP2P>true</FromP2P> | ||
</ProjectReference> | ||
<ProjectReference Include="$(RepoRoot)src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj"> | ||
<FromP2P>true</FromP2P> | ||
</ProjectReference> | ||
|
||
<PackageReference Include="MSTest.Assert.Extensions" Version="$(MSTestAssertExtensionVersion)" /> | ||
<PackageReference Include="Moq" Version="$(MoqVersion)" /> | ||
<PackageReference Include="Microsoft.CodeCoverage" Version="$(MicrosoftCodeCoverageVersion)" /> | ||
<!-- | ||
The following packages are brought by arcade but we don't want to use them as we are testing TP with | ||
currently built version of TP. | ||
--> | ||
<PackageReference Remove="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Remove="Microsoft.TestPlatform" /> | ||
</ItemGroup> | ||
</When> | ||
</Choose> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.