Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Targets improvements #175

Merged
merged 7 commits into from
Jan 23, 2024
Merged

Targets improvements #175

merged 7 commits into from
Jan 23, 2024

Commits on Jan 11, 2024

  1. Add C# 9 to langversion helper

    mhutch committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    22f5fca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db044b1 View commit details
    Browse the repository at this point in the history
  3. Add project system XAML

    When using CPS project system, fixes transform on save and displays relevant item metadata
    in VS property window.
    mhutch committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a11f6f9 View commit details
    Browse the repository at this point in the history
  4. Output dependency information from TextTransform task

    Output items for templates and preprocessed templates now have InputFIle and Dependencies
    metadata.
    mhutch committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    c79ba9c View commit details
    Browse the repository at this point in the history
  5. Clean up the msbuild schema

    mhutch committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    e324d6b View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Change mechanism for TFM support warnings

    Apparently when we tried to pack a TFM-specific file called _._ into
    buildTransitive to indicate that there were no targets for that TFM,
    NuGet arbitrarily decided to pack the targets file from a different TFM
    instead ¯\_(ツ)_/¯
    
    Borrow the logic from https://github.com/dotnet/runtime/blob/bb74bb79db53eae474977a0928756a0db7fc6a3f/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/Microsoft.Extensions.Configuration.Binder.targets#L17
    as it's easier than overriding NuGet's weird pack behavior.
    
    Fixes #174
    mhutch committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    44a3f6e View commit details
    Browse the repository at this point in the history
  2. Fix relative pragma tests

    When relative pragmas are enabled, and includes already have relative
    path, and there is no base bath from which to calculate relative paths,
    use the existing relative path as-is.
    mhutch committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    18ca3f2 View commit details
    Browse the repository at this point in the history