Skip to content
代码片段 群组 项目
  1. 3月 11, 2022
  2. 2月 10, 2022
  3. 2月 01, 2022
    • Doug Bunting's avatar
      Remove Interop build step (#39553) · c0575788
      Doug Bunting 创作于
      - remove separate step to restore Interop projects
      - make Interop test asset projects more "normal"
          - use usual mechanism to target latest ASP.NET Core bits
          - remove use of `$(BuildInteropProjects)`
      - expand FunctionalTestWithAssets.targets to help w/ local testing
          - still delayed and done only when necessary
          - handle non-Helix testing e.g. handle `dotnet test` too
          - build test assets into location `InteropTests` expects on local machine
      - add FunctionalTestWithAssets.props, providing relevant defaults
      - expand `FunctionalTestWithAssets` use to Identity.FunctionalTests
      
      nits:
      - rename `@(FunctionalTestAssetProjectReference)` to `@(TestAssetProjectReference)`
      - cleanup leftover reference to ProjectTemplates/testassets/ in Build.props
          - should have been removed in 54ff3797
      - remove `/p:RunTemplateTests=true`; no need to specify the default
      - clean up other projects that use `$(MvcTestingTargets)`
          - none need special handling for publish (don't need pages, views, or wwwroot files)
      c0575788
  4. 1月 20, 2022
  5. 12月 14, 2021
    • Doug Bunting's avatar
      !nits! Build cleanup (#38979) · f072ff85
      Doug Bunting 创作于
      - condense `$(_UseHelixOpenQueues)` YAML
      - restore ability to override `$(IsUnitTestProject)`
      - treat `$(IsUnitTestProject)` and `$(IsTestProject)` as `bool` after Arcade SDK.props imported
      - avoid attempts to override `$(RunQuarantinedTests)`; it's set globally
      - remove unnecessary `$(IsUnitTestProject)` and `$(IsTestProject)` settings
        - override `$(IsUnitTestProject)` (not `$(IsTestProject)`) _before_ root Directory.Build.props
      f072ff85
  6. 10月 20, 2021
  7. 9月 21, 2021
  8. 5月 29, 2021
    • dotnet-maestro[bot]'s avatar
      [main] Update dependencies from dotnet/efcore dotnet/runtime (#33072) · df0feef8
      dotnet-maestro[bot] 创作于
      [main] Update dependencies from dotnet/efcore dotnet/runtime
      
      
       - Remove workaround for `%(TargetFramework)` format
      - remove `$(KnownAppHostPackOrFrameworkReferenceTfm)` workaround
        - `%(KnownAppHostPack.TargetFramework)` metadata now matches `$(TargetFramework)` format
        - `%(KnownFrameworkReference.TargetFramework)` metadata now matches `$(TargetFramework)` format
      df0feef8
  9. 4月 28, 2021
  10. 3月 27, 2021
  11. 3月 25, 2021
    • dotnet-maestro[bot]'s avatar
      [main] Update dependencies from dotnet/runtime dotnet/efcore (#31020) · 1c659cc2
      dotnet-maestro[bot] 创作于
      [main] Update dependencies from dotnet/runtime dotnet/efcore
      
      
       - Do not declare iOS and Android support everywhere
      - runtime update includes new annotations making non-support obvious
      - see dotnet/runtime#49354 (w/ a similar Android PR coming soon)
      
       - !fixup! Fix typo in item group name
      
       - !fixup! Set `$(RemoveDevicePlatformSupport)` in correct project
      - not needed in BlazorManifest.csproj
      - but, is needed in dotnet-install-blazoraot.csproj
      
       - suppress
      
       - Fixup
      1c659cc2
  12. 3月 24, 2021
  13. 3月 12, 2021
  14. 3月 04, 2021
    • John Luo's avatar
      Enable ARM64 installers build. (#25579) (#30463) · 69108cee
      John Luo 创作于
      * Enable ARM64 installers build. (#25579)
      
      Changes WiX toolset used to 3.14 to support ARM64
      Generates targeting pack from the x86/x64 leg, as it gets produced using a zip that gets generated there.
      The ARM64 leg now produces all the necessary msi's, exe, and wixlib needed for the installer to generate a bundle.
      
      * Build tageting pack installers
      
      * Set TP version to 3.1.10
      69108cee
  15. 12月 03, 2020
    • Doug Bunting's avatar
      Further centralize shared Fx and TFM transition workarounds (#27473) · 5fd1db26
      Doug Bunting 创作于
      * Further centralize shared Fx and TFM transition workarounds
        - make generated `Directory.Build.*` files more widely applicable
          - warn if requested Microsoft.AspNetCore.App version does not exist in `$(DOTNET_ROOT)`
          - add `$(UpdateAspNetCoreKnownFramework)` for Microsoft.AspNetCore.App `@(KnownFrameworkReference)` update
          - remove central `$(BuildingTestAppsIndependently)` special case
            - not needed because compiler toolset version is always available
          - correct `$(KnownAppHostPackOrFrameworkReferenceTfm)` when not targeting the default TFM
            - use MSBuild intrinsic functions for this and in framework projects; future-proofing
          - correct `@(KnownFrameworkReference)` metadata when in servicing
             - should not override default runtime and targeting pack versions
        - use generated `Directory.Build.*` files in regular build
          - remove now-duplicate property and item settings outside generated `Directory.Build.*` files
        - use generated `Directory.Build.*` files for local Razor tests
          - set `$(TargetLatestRuntimePatch)` instead of `$(RuntimeFrameworkVersion)`; simpler
          - do not restore Razor SDK test asset projects until just before tests run
          - depend on Microsoft.AspNetCore.App projects
          - disable `$(TreatWarningsAsErrors)` for a few Razor SDK tests
            - tests expect projects to build successfully despite a few warnings
        - improve (widen) Microsoft.AspNetCore.App `Condition` in Blazor SDK tests
      
      nit: do not pass `$(MicrosoftNetCompilersToolsetVersion)` into Razor test asset projects
        - not needed because generated files already contain the right information
        - even without that, the Directory.Build.props file imports eng/Versions.props
      
      * Use generated `Directory.Build.*` files for local template tests
        - move Infrastructure/ files to TestInfrastructure/
          - Infrastructure/ sub-directories were functionally identical
        - move shared parts of template test project files to PrepareForTest.targets
      
      * Describe errors with missing generated files and the new warning in BuildFromSource.md
        - address numerous Markdown lint warnings, typos, and spelling mistakes in this file
      
      * Apply suggestions from code review
        - thanks @captainsafia
      
      * Move all troubleshooting information into BuildErrors.md
        - some was already duplicated
        - fix Markdown lint issues in BuildErrors.md too
      
      * Reorder App.Runtime build slightly
        - move `_InstallFrameworkIntoLocalDotNet` earlier because other builds depend on this part
          - this target sometimes executes after dependent projects continue
        - add `DependsOnTargets` attributes to further constrain ordering
      
      nit: `IncludeFrameworkListFile` should run before `_ResolveSharedFrameworkContent`
      
      * Add temporary workaround for `[AssemblyVersion]` changes
      
      * Address @wtgodbe's nit from #27653
        - https://github.com/dotnet/aspnetcore/pull/27653#pullrequestreview-529368502
      
      
      
      Co-authored-by: default avatarSafia Abdalla <safia@microsoft.com>
      5fd1db26
  16. 11月 14, 2020
    • Doug Bunting's avatar
      Shorten package version properties (#27784) · 44c0e665
      Doug Bunting 创作于
      * Shorten package version properties
      - `$(...PackageVersion)` -> `$(...Version)`
      - inspired by a similar dotnet/efcore change
      - aligns names with Arcade SDK, meaning our values apply consistently
      
      * Remove unused PublishSymbols.proj and related property
      - restore Arcade's control of `$(MicrosoftSymbolUploaderBuildTaskVersion>)`
      - would otherwise result in a version downgrade
      
      * Update `$(MicrosoftNetCompilersToolsetVersion)` to match Arcade's value
      - avoid using an older toolset
      - now successfully overriding Arcade value
      
      * Avoid an odd `CS8603` error
      - delete the unused `GetOptionalProperty(...)` method
      
      * Correct an unintentional change reading package metadata
      - `%(ReferencePathWithRefAssemblies.NuGetPackageVersion)` is the correct name
      44c0e665
  17. 11月 13, 2020
    • Doug Bunting's avatar
      [release/5.0] Update API baseline files (#27653) · 41587562
      Doug Bunting 创作于
      * Move all PublicAPI.Unshipped.txt files to PublicAPI.Shipped.txt
      - we have now shipped this API surface
      
      * Add eng/PublicAPI.empty.txt file
      - make it easier to add new implementation projects
      
      * Add missing public API baseline files
      - #26784 part 1/2
      - a few unexpected files turned up missing beyond the #26784 list&hellip;
      
      * Reference Microsoft.CodeAnalysis.PublicApiAnalyzers more often
      - #27484 part 2/2
      - emit errors when API baseline files are missing
      - update categorization of some projects
        - specification tests are not implementation projects
          - but _were_ project reference providers (keep that)
        - correct `$(IsTestAssetProject)` setting for Razor shims et cetera
        - correct `$(IsSampleProject)` setting for casing of some Sample directories
        - Microsoft.AspNetCore.Analyzer.Testing should be treated as test asset
      - add `$(AddPublicApiAnalyzers)` property to support overrides
        - e.g. for `msbuild` task projects and tools
      
      nit:
      - remove useless `$(IsTestProject)` setting in a specification test project
      - wrap some long `Condition`s
      
      * Do not run public API analyzer in `RazorCoreCompile` target
      
      * Remove old `$(EnableApiCheck)` settings
      - property does nothing
      - also remove a dangling ApiCheck comment
      41587562
  18. 11月 11, 2020
    • Doug Bunting's avatar
      [release/3.1] Target 3.1.0 shared framework in global tools (#27598) · a8a9e00a
      Doug Bunting 创作于
      - #19108
      - ensure the packaged runtimeconfig.json file uses the 3.1.0 shared framework
        - disable `$(TargetLatestDotNetRuntime)` in tool projects
        - skip `@(FrameworkReference)` item update if `$(TargetLatestDotNetRuntime)` is disabled
      
      nit: Move `$(PackAsTool)` settings together
      a8a9e00a
    • Doug Bunting's avatar
      [release/5.0] Target 5.0.0 shared framework in global tools (#27599) · ca8cc104
      Doug Bunting 创作于
      - #19108
      - ensure the packaged runtimeconfig.json file uses the 5.0.0 shared framework
        - disable `$(TargetLatestDotNetRuntime)` in tool projects
        - skip `@(FrameworkReference)` item update if `$(TargetLatestDotNetRuntime)` is disabled
      
      nit: Move `$(PackAsTool)` settings together
      ca8cc104
  19. 11月 10, 2020
    • Doug Bunting's avatar
      [master] Target 6.0.0 shared framework in global tools in servicing (#27600) · c1ed3f3c
      Doug Bunting 创作于
      - #19108
      - ensure the packaged runtimeconfig.json file uses the 6.0.0 shared framework
        - disable `$(TargetLatestDotNetRuntime)` in tool projects
        - skip `@(FrameworkReference)` item update if `$(TargetLatestDotNetRuntime)` is disabled
      - essentially a no-op until after the 6.0.0 release
      
      nit: Move `$(PackAsTool)` settings together
      c1ed3f3c
  20. 11月 06, 2020
  21. 9月 17, 2020
  22. 9月 12, 2020
    • Doug Bunting's avatar
      Correct `$(SharedFxVersion)` and `$(TargetingPackVersion)` values (#25790) · 326507bb
      Doug Bunting 创作于
      * Correct `$(SharedFxVersion)` and `$(TargetingPackVersion)` values
      - Ensure `$(SharedFxVersion)` doesn't change in `$(NoSemVer20)` projects
      - Ignore current project's `$(VersionSuffix)` in `$(TargetingPackVersion)`
          - Never assume `$(AspNetCoreBaselineVersion)` matches released targeting pack
      - Stabilize both versions correctly
      - Use these properties more widely
          - Remove other mechanisms to get the same values
          - Reduce use of the `_GetPackageVersionInfo` target
          - Reduce use of `$(SharedFxVersion)` for the targeting pack
      
      nits:
      - Correct comments about old RTMVersions.csproj project
      - Fix or remove a few other comments
      
      * Do not pass package filenames on Helix command Lines
      - remove parsing of these command-line arguments from `RuntestOptions`
        - instead craft the names using passed `$(SharedFxVersion)`
      - restore `$(DotNetRuntimeSourceFeedKey)` on Helix command line
        - lost somewhere along the line
      - correct argument count in runtests.sh
        - treated 11th argument as both Helix timeout and feed credential
        - count was messed up somewhere alone the line
      
      nits:
      - update C# syntax in `RuntestOptions` e.g. remove unused `public` setters
      - sort and group properties and their assignments
      326507bb
  23. 9月 09, 2020
  24. 9月 01, 2020
  25. 8月 26, 2020
  26. 8月 07, 2020
    • Pranav K's avatar
      Add a middleware for browser refresh. (#24574) · 146d316b
      Pranav K 创作于
      * Add a middleware for browser refresh.
      
      * Introduce a middleware that can connect to the dotnet-watch change server
      * dotnet-watch: Inject the middleware in 3.1 or apps using start hooks \ hosting startup
      
      https://github.com/dotnet/aspnetcore/issues/23412
      
      * Update src/Tools/dotnet-watch/BrowserRefresh/src/StartupHook.cs
      
      * Changes per PR comments
      
      * Add a test for reading the script
      
      * Changes per PR comments
      
      * Updates docs
      
      * Fixup test
      
      * Add project ref
      146d316b
  27. 7月 18, 2020
    • Doug Bunting's avatar
      Use Roslyn to create ref/ assemblies (#23403) · 5266918e
      Doug Bunting 创作于
      * Remove all ref/ projects
      
      * Remove GenAPI infrastructure
      
      * Remove notion of a reference assembly project
        - remove `$(IsReferenceAssemblyProject)`, `$(ReferenceReferenceAssemblies)` and `$(ReferenceImplementationAssemblies)`
          - remove unnecessary `$(NoWarn)` settings
      
      nits:
      - remove a few misleading comments
      - wrap some long lines
      
      * Move .0 package version workaround into Versions.props
        - touch up SharedFramework.External.props
      
      * Expose `%(LatestPackageReference.RTMVersion)` metadata
        - automate use of properties in the `@(LatestPackageReference)` item group to make this maintainable
          - add a couple of special cases at the bottom of eng/Dependencies.props
          - add one more `$(...PackageVersion)` property to avoid yet-another special case
      
      * Enable Roslyn reference assemblies
        - exclude ref/ assembly from packages other than targeting pack
        - update Microsoft.AspNetCore.App.Ref.csproj
          - `%(IsReferenceAssembly)` and `%(ReferenceGrouping)` metadata no longer relevant
          - only ref/ assemblies are in `@(ReferencePathWithRefAssemblies)` item group
      
      nits:
        - remove now-unnecessary workaround
          - issues with TFM transition are behind us
        - clean up Microsoft.AspNetCore.App.Runtime.csproj slightly
          - use `GeneratePathProperty="true"`
              - reorder item / property settings for meta-expansion
          - correct spelling errors and phrasing in comments
      
      * Update documentation to reflect recent changes
        - remove CrossRepoBreakingChanges.md; was tied to old TeamCity infrastructure
          - also much less relevant given repo merges
        - adjust details and examples in ReferenceResolution.md
          - reflect repo merges, Dependencies.props changes, and current Maestro++ channels
          - add a few more details e.g. specific files where Version.Details.xml versions are used
      
      * !fixup! Remove another irrelevant doc file
      
      * !fixup! Address PR review suggestions
        - convert a couple of warnings to errors
        - use consistent casing for Microsoft.NETCore.App.Runtime.* packages
        - reduce `%(LatestPackageReference.Version)` metadata special cases
        - add and improve comments e.g.
          - improve comments about `$(*V0PackageVersion)` properties
          - improve placement of comments about item removal in ResolveReferences.targets
          - confirmed `$(*V0PackageVersion)` property list is complete
      
      nits:
      - fix solution example in ReferenceResolution.md
      - remove item group definition for `@(LatestPackageReference)`
      - remove `%(LatestPackageReference.VersionName)` metadata after use; large item group
          - similarly, remove `%(LatestPackageReference.RTMVersion)` when not needed; just complicates `Condition`s
      
      When I squash, I must remember this fixes
      - #14801
      - dotnet/aspnetcore-internal#2693
      
      * Actually use `%(LatestPackageReference.RTMVersion)` metadata
        - gather RTM package references in a new project
          - a (very) separate project to work around package conflict resolution
          - empty `Test` target works around Arcade's testing approach
        - new target in ResolveReferences.targets updates relevant assembly paths to use the RTM packages
          - done as soon as possible after `ResolvePackageAssets` determines the paths
          - done for all compilation inputs, not just ref/ assemblies
      5266918e
  28. 6月 09, 2020
  29. 6月 03, 2020
    • Matt Mitchell's avatar
      Build time changes (#22362) · d8733c2a
      Matt Mitchell 创作于
      
      * Build time changes
      A few changes for build time
      - Don't build tests with SkipTestBuild=true and use that for official
        build legs. This cuts 40%-50% off the msbuild invocations for build.
        The longest build leg drops by about 30 mins.
      - Skip logging of some task parameters and their metadata.
        This reduces overall binlog size, which is a major contributor to
        build time.
      
      Unfortunately, this does not mean we can yet turn binlogs back on. This
      change can actually increase the overall binlog size due to logging of
      more project started arguments. There is another optimization for this
      in progress.
      
      Co-authored-by: default avatarDoug Bunting <6431421+dougbu@users.noreply.github.com>
      d8733c2a
  30. 3月 28, 2020
  31. 3月 26, 2020
  32. 3月 24, 2020
  33. 3月 21, 2020
    • Kevin Pilch's avatar
      Revert "Add gRPC interop tests (#17040)" (#20047) · 236dcd9f
      Kevin Pilch 创作于
      This reverts commit 8afb78fb.
      236dcd9f
    • James Newton-King's avatar
      Add gRPC interop tests (#17040) · 8afb78fb
      James Newton-King 创作于
      
      * WIP add interop tests
      
      * Clean up
      
      * Move test project into build infrastructure
      
      * Clean up
      
      * Remove hardcoded paths
      
      * Clean up
      
      * Fix build
      
      * Add copyright notices
      
      * Update azure template
      
      * Fix build
      
      * Fix build?
      
      * Fix build?
      
      * Add gRPC interop tests to CI
      
      - Convert to using references managed by build infrastructure
      - Use produced AspNetCore.App shared framework
      - Save server logs
      - Dynamically bind to ports
      - Ensure InteropWebsite is built in the same configuration as the test project
      
      * Cleanup
      
      * Rebase fix
      
      * Include tests assets in build directory for Helix
      
      * Incorporate changes in ProcessEx
      
      * Include Grpc test in regular build
      
      * Fixup
      
      * Test
      
      * exe doesn't always exist
      
      * Capture logs on helix
      
      * Maybe this will work
      
      * There are two application started messages
      
      * Derp
      
      * Cleanup
      
      * Update directory
      
      * Add interop tests to more pipelines
      
      * mkdir
      
      Co-authored-by: default avatarJohn Luo <johluo@microsoft.com>
      8afb78fb
  34. 2月 21, 2020
  35. 2月 20, 2020
  36. 2月 15, 2020
  37. 2月 14, 2020
    • Doug Bunting's avatar
      Mark AspNetCore projects that aren't packaged explicitly (#18767) · a6c43b14
      Doug Bunting 创作于
      * Mark AspNetCore projects that aren't packaged explicitly
      - avoid NU5104 warnings due to confusing versioning
      - `$(IsShippingPackage)` was semantically incorrect in any case
      
      * Remove redundant `$(IsShippingPackage)` settings in `$(IsAspNetCoreApp)` projects
      - default is `true` for all implementation projects
      
      * Use `$(IsPackable)` when deciding how `$(IsAspNetCoreApp)` projects are handled
      - remove all use of `$(IsShippingPackage)` for shared framework composition
      - update documentation to match these changes
      
      nits:
      - remove odd default for `$(IsPackable)` in Directory.Build.targets
        - no longer relevant since all `$(IsAspNetCoreApp)` projects are `$(IsShippingPackage)` too
      - include more information in docs/ProjectProperties.md
      
      * Add direct System.Text.Json references
      - avoid MSB3277 warnings
      a6c43b14
加载中