Граф коммитов

557 Коммитов

Автор SHA1 Сообщение Дата
dotnet-maestro[bot] e3f40252d6
Update dependencies from https://github.com/dotnet/arcade build 20221013.2 (#1332)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 8.0.0-beta.22503.1 -> To Version 8.0.0-beta.22513.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-10-17 08:19:02 -07:00
Brandon H a28b810d0c
Fixing #1297 (#1330)
System.Commandline no longer supports IReadOnlyCollection, it seems. Pivoted to ICollection<T>
but still assigning to an IReadOnlyCollection which solves the parsing, but still protects the collection
from modification
2022-10-12 17:12:50 +00:00
dotnet-maestro[bot] d4c4972f8a
Update dependencies from https://github.com/dotnet/arcade build 20221003.1 (#1328)
[main] Update dependencies from dotnet/arcade
2022-10-10 15:24:18 +00:00
dotnet-maestro[bot] 2f64a61f57
Update dependencies from https://github.com/dotnet/arcade build 20220930.2 (#1324)
[main] Update dependencies from dotnet/arcade
2022-10-03 14:42:47 +00:00
dotnet-maestro[bot] 186429e5da
Update dependencies from https://github.com/dotnet/arcade build 20220923.1 (#1316)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 8.0.0-beta.22466.3 -> To Version 8.0.0-beta.22473.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-09-28 17:07:53 +00:00
Cyril Carlier f440c8abb7
Fix command for extension (#1321)
Fix command for `upgrade-assistant extensions`
2022-09-28 09:39:27 -07:00
Brandon H 9199bf75e8
Fix actions (#1320)
* Fixing tokens used by workflows

* applying diff action to Issues as well

* Removing. Can't find one that works. I tried.
2022-09-26 11:56:10 -07:00
Ujjwal Chadha b64645dc87
Update CHANGELOG.md for version 0.4.346202 (#1318)
* Update CHANGELOG.md

* Update CHANGELOG.md
2022-09-26 09:33:11 -07:00
dotnet-maestro[bot] ffda435b07
Update dependencies from https://github.com/dotnet/arcade build 20220916.3 (#1298)
[main] Update dependencies from dotnet/arcade


 - Merge branch 'main' into darc-main-3a7638ed-02f0-4e2a-a3eb-841b43008f67

 - Merge branch 'main' into darc-main-3a7638ed-02f0-4e2a-a3eb-841b43008f67
2022-09-21 15:03:23 +00:00
Bhavya Gursahani b416b9eaf3
Update uwp_support.md (#1311) 2022-09-21 07:34:28 -07:00
Brandon H 50ef99b811
Improve analyzer/upgrade performance by using a NuGet caching resource provider (#1262)
* Optimizing the nuget transitive dependency identifier by allowing it to use a nuget caching provider *all the time* - this cuts our E2E test time in half

* More optimizations to NuGetTransitiveDependencyIdentifier

* Implementing a cache for GetProjectTranstiveDependencies

* Reverting LINQing of TryFind to save on GC

* Fixing new const values

* This should've been targeting net6.0 - not net5.0. Not sure when this regression happened but w/o this, on a machine that doesn't have 5.0 installed the test is skipped.

* Move path generation for project.txt to local fxn w/ descriptive name

* Revert change to GetProjectTranstiveDependencies

* packageDependencies lookup wasn't taking into account the version number of the package to look up dependencies for.

This is important because the same package may change its dependencies across versions so we need to account for that.
2022-09-20 11:39:34 -07:00
Ujjwal Chadha f6547e9418
Add report data to steps (#1292)
* Add report data to steps

* update codeowners to get intended behavior

* Fix integration tests

* Print file diff for debugging

* Address PR feedback

* Add context result from step
2022-09-16 13:04:13 +05:30
Brandon H 66a923ad82
Update CHANGELOG for 0.4.346201 release (#1295) 2022-09-12 19:55:14 +00:00
dotnet-maestro[bot] 71e7f6e929
Update dependencies from https://github.com/dotnet/arcade build 20220906.4 (#1294)
[main] Update dependencies from dotnet/arcade
2022-09-12 16:19:44 +00:00
Simona Liao 19d9e02526
Add WCF support documentation (#1287)
* add wcf support documentation

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Update docs/wcf_support.md

PR suggestion

* Adding link to WCF docs

Co-authored-by: Simona Liao <t-simonaliao@microsoft.com>
Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
Co-authored-by: Brandon H <hurlburb@microsoft.com>
2022-09-09 15:42:17 -07:00
Mike Rousos f817673032
Improve analysis experience (#1291)
* Display analyzer message in analysis reports rather than description
* Fix how packages are retrieved for non-SDK projects
* Fix package loader to check more thoroughly for TFM compatbility

Fixes #1102
Fixes #1034
2022-09-09 13:00:44 -04:00
Brandon H 7bd6b91bf4
Fixing CODEOWNERS (#1290) 2022-09-06 08:30:45 -07:00
dotnet-maestro[bot] 0d29c04cff
Update dependencies from https://github.com/dotnet/arcade build 20220902.1 (#1289)
[main] Update dependencies from dotnet/arcade
2022-09-06 15:07:24 +00:00
Brandon H 73004ac7a4
Auto-assign new Issues and PRs to the UA project for backlog visibility (#1285)
* Auto-assign new Issues and PRs to the UA project for backlog visibility

* Don't need to run Azure Pipelines if changing .github content

* Moving to /workflows as appropriate

* modify PR template

* Setting up CODEOWNERS to force proper team maintainability of code; modifying PR template accordingly
2022-09-02 11:44:29 -07:00
Simona Liao 32a761cafc
Add using System.Threading.Tasks in Constants.cs (#1281)
* Add using System.Threading.Tasks for making Main async and in case it does not exist in the original code

* Updated test for the Task namespace

Co-authored-by: Simona Liao <t-simonaliao@microsoft.com>
2022-09-02 09:18:03 -07:00
Alex Perovich e5eb9f7cdc
Update public pool names (#1279) 2022-09-01 15:21:03 -07:00
Simona Liao ba2a397621
Add Extra Features to WCF Extension (#1276)
Here is the list of added features:
- Supports WCF project with multiple services
- Supports ServiceCredentials, ServiceDebug, ServiceMetadata... configuration properties
- Support adding Windows authentication services to DI container
- Add customization for async method signature

Thanks to Matt Connew for the code review! 

Co-authored-by: Simona Liao <t-simonaliao@microsoft.com>
Co-authored-by: Brandon H <hurlburb@microsoft.com>
Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
2022-08-31 17:05:21 -07:00
Ujjwal Chadha e777fd13c4
Post upgrade report (#1260)
* Add initial design

* Put Results to to IUpgradeContext

* Generate report conditionally

* Delete UpgradeOptions.cs

* Rename Analysis report to Output report

* Rename

* Address feedback
2022-08-31 09:04:55 -07:00
dotnet-maestro[bot] 73ced0540c
Update dependencies from https://github.com/dotnet/arcade build 20220826.8 (#1272)
[main] Update dependencies from dotnet/arcade
2022-08-29 17:21:36 +00:00
Brandon H 55f97f3ac4
Fixing TFM selection for VB projects (#1269)
* Making VB TFM selector use the TFM.AppBase value for its target TFM

vs hard-coding net5.0
Fixes #1031

* Update src/extensions/vb/Microsoft.DotNet.UpgradeAssistant.Extensions.VisualBasic/MyTypeTargetFrameworkSelectorFilter.cs

AppBase should also target windows

Co-authored-by: Taylor Southwick <tasou@microsoft.com>

* Update src/extensions/vb/Microsoft.DotNet.UpgradeAssistant.Extensions.VisualBasic/MyTypeTargetFrameworkSelectorFilter.cs

nix update to tfm appbase in favor of appbase + plat

Co-authored-by: Taylor Southwick <tasou@microsoft.com>

* resolving UT failures

Co-authored-by: Taylor Southwick <tasou@microsoft.com>
2022-08-26 14:21:16 -07:00
Brandon H e8a00b32bb
Taking in all applicable Analyzers when doing Winforms analysis (#1271)
Running analysis on all received analyzers and collating the results into the report
Fixes #883
2022-08-25 09:45:34 -07:00
Simona Liao 020e317ddb
Add WCF update extension (#1237)
* Add WCF extension (as a default extension in Cli), unit tests, integration tests (E2E Test)
* Add helpers for logging & debugging
* Set TFM to .NET Standard 2.0 for better flexibility
Thanks to Matt Connew, Mike Rousos, Hong Li, and Brandon Hurlburt for the code review!
2022-08-24 16:51:47 -07:00
Brandon H 7759eb9451
Fixing analyzebinaries command fails with p windows (#1266)
* Fixing #1253

Upgrading System.CommandLine & making required changes
Fixing Arity specifier on platform arg for binary analysis

Parsing files & directories is now failing for unknown reasons, however (issue https://github.com/dotnet/command-line-api/issues/1821 )

* FileSystemInfo parse workaround

To work around https://github.com/dotnet/command-line-api/issues/1821
I am using the code from inside the cli API source code
4dcee4d8a8/src/System.CommandLine/Binding/ArgumentConverter.StringConverters.cs (L112)

* remove unnecessary suppression

* This can't be a record type, the DI container was losing it when we tried to pass it into the Binary Analysis ApiChecker

* Don't need TargetFrameworkSelector in the BA ApiChecker anymore

* Removing unused types/ctor params

* solving for nullability
2022-08-24 09:28:21 -07:00
Mike Rousos cff04291b4
Update TFM for `-t preview` to net7.0 (#1268)
Fixes #1087
2022-08-24 09:21:11 -07:00
dotnet-maestro[bot] cdbc0479d9
[main] Update dependencies from dotnet/arcade (#1263)
[main] Update dependencies from dotnet/arcade
2022-08-22 18:59:53 +00:00
dotnet-maestro[bot] e1207a2519
Update dependencies from https://github.com/dotnet/arcade build 20220811.2 (#1261)
[main] Update dependencies from dotnet/arcade
2022-08-15 22:01:20 +00:00
Ujjwal Chadha bc7266f5bf
Support winrt consumption using CsWinRT reference (#1243)
* Support winrt consumption using CsWinRT reference

* add changes from try-convert repo

* Move changes from public interface to extension method

* Address feedback
2022-08-12 10:29:30 -07:00
dotnet-maestro[bot] eb94ca7052
Update dependencies from https://github.com/dotnet/arcade build 20220805.6 (#1252)
[main] Update dependencies from dotnet/arcade
2022-08-08 16:26:50 +00:00
Simona Liao 15404f395c
Add check for default/package extension (#1246)
* Add checks for package addition step. Do not add System.ServiceModel packages when it only includes server but does not include client.

* Fix typo

* Update the check conditions - only remove the packages when it's server only

* Reorder using directives

* Improve performance based on review

* Use IndexOf instead of Contains

* remove unnecessary Any() check

Co-authored-by: Simona Liao <t-simonaliao@microsoft.com>
Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
2022-08-05 13:36:26 -07:00
Ujjwal Chadha 5a555e6dbb
Make generated methods static (#1245)
Make generated methods static
2022-08-05 10:23:43 -07:00
Brandon H 8e36dc0a9d
Updates PR template with reviewer group information (#1251) 2022-08-04 12:23:04 -07:00
Brandon H a9ada0e381
Copy relevant try-convert contents to UA repo (#1248)
* moving from submodule to embedded code for try-convert; Closes #1242

* removing subrepo

* wiring in new locations

* removing old module

* don't need the try-convert tool

* Updates to try-convert code to resolve SA/CA violations

UA has different SA/CA rules than t-c did.
It's pretty odd these weren't caught prior CI builds w/ this code in place,
but nevertheless the fixes are all done and code builds locally w/o issue
and all UTs pass.
No logic was harmed in the making of this commit. 🤞🏻
2022-08-04 11:19:01 -07:00
Sweekriti Satpathy 48a42840a7
maui bug fixes (#1238)
* useMAUI for component identifier

* fixes component check for MAUI project types, makes check more robust

* space after if formatting fixed

* For IntegrationScenario test projects, ignore parent-directory Build & Target specifications

* address PR comments and pulls in latest main branch

Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
Co-authored-by: Brandon H <hurlburb@microsoft.com>
2022-08-01 17:16:35 -07:00
Lutz Roeder 114c6acf8e
Add Visual Studio Code launch.json (#1239)
* Add Visual Studio Code launch.json

* Exclude new .vscode dir from CI builds

Co-authored-by: Brandon H <hurlburb@microsoft.com>
Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
2022-08-01 13:30:22 -07:00
dotnet-maestro[bot] 6c2be2adb9
Update dependencies from https://github.com/dotnet/arcade build 20220729.10 (#1240)
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SignTool , Microsoft.DotNet.SwaggerGenerator.MSBuild
 From Version 7.0.0-beta.22372.1 -> To Version 7.0.0-beta.22379.10

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-08-01 10:00:18 -07:00
dependabot[bot] 7cdc6c4925
Bump Azure.Storage.Blobs (#1233)
Bumps [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) from 12.12.0 to 12.13.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.12.0...Azure.Storage.Blobs_12.13.0)

---
updated-dependencies:
- dependency-name: Azure.Storage.Blobs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 12:52:08 -07:00
dotnet-maestro[bot] cd08214aab
Update dependencies from https://github.com/dotnet/arcade build 20220722.1 (#1226)
[main] Update dependencies from dotnet/arcade
2022-07-25 16:36:44 +00:00
Brandon H ad55f902d8
Don't trigger CI builds when we're just updating MD files/docs (#1224) 2022-07-22 11:47:11 -07:00
Brandon H ef378baf9e
Update Changelog for 0.4.336902 release (#1223) 2022-07-20 17:03:15 -07:00
Taylor Southwick 3a2177acaa
Fix broken non interactive mode (#1220)
With recent changing to the hosting model, the custom services are registered first and then the default after. This causes things like the upgrade command to register a non-interactive IUSerInput, but it will be overwritten by the default services. Since this behavior may be seen with other services, this change fixes the issue by:

1. Change the registration of IUserInput to be just an attempt in the default services since we don't want to overwrite an existing one
2. Change the ordering of service registration so the default ones are first and then the commands' customizations.
2022-07-19 11:32:24 -07:00
Taylor Southwick 1730377092
Remove extra packages from binary analysis (#1221)
Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
2022-07-19 10:53:14 -07:00
Brandon H ed8f9e03ad
Changing back to prod build pools (#1222)
Since we disabled the MAUI Integration Tests entirely, we don't need
to be on the staging environment build pools
2022-07-19 10:52:54 -07:00
dotnet-maestro[bot] 4bff42d641
[main] Update dependencies from dotnet/arcade (#1191)
[main] Update dependencies from dotnet/arcade


 - Merge branch 'main' into darc-main-4a44581e-1669-4fdb-b1cf-2ec8a0180887

 - Merge branch 'main' into darc-main-4a44581e-1669-4fdb-b1cf-2ec8a0180887

 - Merge branch 'main' into darc-main-4a44581e-1669-4fdb-b1cf-2ec8a0180887

 - Merge branch 'main' into darc-main-4a44581e-1669-4fdb-b1cf-2ec8a0180887

 - fixing coverlet.collector duplicate reference errors
2022-07-19 15:45:13 +00:00
Brandon H 39bc2e69e0
Remediating Azure Artifacts Configuration Issues in your Repository; 1ES policy (#1211) 2022-07-18 11:55:19 -07:00
Taylor Southwick 6b6229eb39
Disable Maui component identifier as this breaks any multitargeting library (#1216)
Co-authored-by: Brandon H <brandonh-msft@users.noreply.github.com>
2022-07-18 11:54:58 -07:00