-
Notifications
You must be signed in to change notification settings - Fork 45
Fixing package/project references for IO module #75
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,18 +7,21 @@ | |
| <PackageTags>elsa module io http</PackageTags> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="..\Elsa.IO.Compression\Elsa.IO.Compression.csproj" /> | ||
| <ProjectReference Include="..\Elsa.IO\Elsa.IO.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.Extensions.Http" /> | ||
| <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Label="Elsa" Condition="'$(UseProjectReferences)' != 'true'"> | ||
| <PackageReference Include="Elsa.Workflows.Management" /> | ||
| <PackageReference Include="Elsa.IO" /> | ||
| <PackageReference Include="Elsa.IO.Compression" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Label="Elsa" Condition="'$(UseProjectReferences)' == 'true'"> | ||
| <ProjectReference Include="..\..\..\..\..\elsa-core\src\modules\Elsa.Workflows.Management\Elsa.Workflows.Management.csproj" /> | ||
| <ProjectReference Include="..\Elsa.IO\Elsa.IO.csproj" /> | ||
| <ProjectReference Include="..\Elsa.IO.Compression\Elsa.IO.Compression.csproj" /> | ||
|
Comment on lines
+23
to
+24
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only the elsa-core project references should be conditionally included. The extension projects themselves are already part of the current repo, and so should always be referenced.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that's true, I plan on making one more iteration, so it should be fixed in the next one |
||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -50,7 +50,7 @@ public async Task<BinaryContent> ResolveAsync(object content, CancellationToken | |||||||||||
| /// </summary> | ||||||||||||
| private string ExtractFilenameFromResponse(HttpResponseMessage response, string url) | ||||||||||||
| { | ||||||||||||
| var filename = response.GetFilename(); | ||||||||||||
| var filename = string.Empty;// response.GetFilename(); TEMPORARY DISABLED. This feature becomes unstable until next version is deployed. | ||||||||||||
|
||||||||||||
| var filename = string.Empty;// response.GetFilename(); TEMPORARY DISABLED. This feature becomes unstable until next version is deployed. | |
| var filename = string.Empty;// response.GetFilename(); TEMPORARILY DISABLED. This feature becomes unstable until next version is deployed. |
Copilot
AI
Jul 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The temporary workaround with commented code should include a TODO comment or issue reference to track when this feature should be re-enabled.
| var filename = string.Empty;// response.GetFilename(); TEMPORARY DISABLED. This feature becomes unstable until next version is deployed. | |
| var filename = string.Empty;// response.GetFilename(); TEMPORARY DISABLED. This feature becomes unstable until next version is deployed. | |
| // TODO: Re-enable response.GetFilename() once the stability issue is resolved. See issue #12345 for details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project reference should not be conditionally included; it should always be included.