You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<NuspecProperty Include="Output=$(PublishDir)**\*" /> in efcore's dotnet-ef.csproj (SetPackageProperties target) yields different results on Windows and Linux. On Windows, this item is passed cleanly through to the Nuspec generation and pack, yielding the correct pack contents. On Linux, the item is dropped entirely.
Escaping the *s with %2A works.
Steps to Reproduce
Build the efcore repo on Windows and Linux and compare the contents of the dotnet-ef package.
Expected Behavior
Actual Behavior
All dotnet-ef* files are missing.
Analysis
No response
Versions & Configurations
8.0.1xx SDK and 9.0.1xx SDKs exhibit the behavior.
The text was updated successfully, but these errors were encountered:
I suspect that on Windows we're hitting some I/O error and it's falling back to "must be a string literal instead" (#406) but I don't understand why (we checked offline for MAX_PATH) and I don't understand how it's evaluating to nothing on Linux. We need to debug the execution I think.
mmitche
added a commit
to mmitche/efcore
that referenced
this issue
Sep 27, 2024
Due to a bug (dotnet/msbuild#10715) the pack target for dotnet-ef does not work on Linux. The publish output is dropped from the package. Work around with a replacement for * for now.
Due to a bug (dotnet/msbuild#10715) the pack target for dotnet-ef does not work on Linux. The publish output is dropped from the package. Work around with a replacement for * for now.
Issue Description
<NuspecProperty Include="Output=$(PublishDir)**\*" />
in efcore'sdotnet-ef.csproj
(SetPackageProperties
target) yields different results on Windows and Linux. On Windows, this item is passed cleanly through to the Nuspec generation and pack, yielding the correct pack contents. On Linux, the item is dropped entirely.Escaping the *s with %2A works.
Steps to Reproduce
Build the efcore repo on Windows and Linux and compare the contents of the dotnet-ef package.
Expected Behavior
Actual Behavior
All dotnet-ef* files are missing.
Analysis
No response
Versions & Configurations
8.0.1xx SDK and 9.0.1xx SDKs exhibit the behavior.
The text was updated successfully, but these errors were encountered: