Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
2 changes: 1 addition & 1 deletion .vsts-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ variables:
- name: SkipApplyOptimizationData
value: true
- name: EnableReleaseOneLocBuild
value: false # Temp DISABLE to localize vs 17.14
value: true
- name: Codeql.Enabled
value: true
- group: DotNet-MSBuild-SDLValidation-Params
Expand Down
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ ates https://learn.microsoft.com/en-gb/dotnet/fundamentals/syslib-diagnostics/sy

<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>

<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<DirectoryPackagesPropsPath>$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)', 'eng', 'Packages.props'))</DirectoryPackagesPropsPath>

<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>

Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
</ItemGroup>

<!-- Global Analyzer Config -->
<ItemGroup Condition="'$(ProjectIsDeprecated)' != 'true'">
<!-- Include Common.globalconfig for non-deprecated projects-->
<ItemGroup>
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)eng/Common.globalconfig" />
</ItemGroup>

Expand Down
11 changes: 9 additions & 2 deletions eng/Packages.props → Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<Project>

<!-- Import references updated by Dependabot.
This file is for package references updated manually or by Darc/Maestro. -->
<Import Project="dependabot\Packages.props" />
<Import Project="$(RepositoryEngineeringDir)dependabot\Directory.Packages.props" />

<PropertyGroup>
<ManagePackageVersionsCentrally Condition="'$(ManagePackageVersionsCentrally)' == ''">true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled Condition="'$(CentralPackageTransitivePinningEnabled)' == ''">true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>

<!--
Make sure to update the binding redirects (in src\MSBuild\app.config and src\MSBuild\app.amd64.config) for any changes to
Expand Down Expand Up @@ -43,6 +49,7 @@
<PackageVersion Include="Microsoft.VisualStudio.OpenTelemetry.Collector" Version="$(MicrosoftVisualStudioOpenTelemetryVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.OpenTelemetry.ClientExtensions" Version="$(MicrosoftVisualStudioOpenTelemetryVersion)" />

<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Packages.props -->
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Directory.Packages.props -->
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<PropertyGroup>
<MicrosoftVisualStudioOpenTelemetryVersion>0.2.104-beta</MicrosoftVisualStudioOpenTelemetryVersion>
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Packages.props -->
<!-- Microsoft.VisualStudio.SolutionPersistence is maintained in eng/dependabot/Directory.Packages.props -->
</PropertyGroup>

<!-- Toolset Dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@

<PackageVersion Include="Verify.Xunit" Version="19.14.1" />
<PackageVersion Update="Verify.XUnit" Condition="'$(VerifyXUnitVersion)' != ''" Version="$(VerifyXUnitVersion)" />

</ItemGroup>

<ItemGroup Condition="'$(DotNetBuildSourceOnly)' != 'true' AND $(ProjectIsDeprecated) != 'true'">
<ItemGroup Condition="'$(DotNetBuildSourceOnly)' != 'true'">
<GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="all"/>
<GlobalPackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" Version="15.0.36" PrivateAssets="All" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
Expand Down
4 changes: 0 additions & 4 deletions eng/dependabot/dependabot.csproj

This file was deleted.

1 change: 1 addition & 0 deletions eng/dependabot/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private bool InstantiateNode(int nodeId, INodePacketFactory factory)
InProcNodeThreadProc(nodeContext._inProcNode);
});
#endif
nodeContext._inProcNodeThread.Name = $"In-proc Node ({_componentHost.Name})";
nodeContext._inProcNodeThread.Name = $"In-proc Node {nodeId} ({_componentHost.Name})";
nodeContext._inProcNodeThread.IsBackground = true;
#if FEATURE_THREAD_CULTURE
nodeContext._inProcNodeThread.CurrentCulture = _componentHost.BuildParameters.Culture;
Expand Down
3 changes: 3 additions & 0 deletions src/Shared/EmptyDirectoryBuildFiles/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Project>
<!-- Empty file to stop tests from using Directory.Packages.props at repo root -->
</Project>