Skip to content

Commit 4afa8ce

Browse files
stephentoubCopilot
andauthored
Fix .NET package version props generation (#1387)
Generate the Copilot CLI version props before NuGet collects package files so the generated props file is included in the packed build assets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 217db5f commit 4afa8ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotnet/src/GitHub.Copilot.SDK.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<Error Condition="'$(CopilotCliVersion)' == ''" Text="CopilotCliVersion could not be read from nodejs/package-lock.json" />
6969
</Target>
7070

71-
<Target Name="_GenerateVersionProps" DependsOnTargets="_GetCopilotCliVersion" BeforeTargets="Pack">
71+
<Target Name="_GenerateVersionProps" DependsOnTargets="_GetCopilotCliVersion" BeforeTargets="_GetPackageFiles">
7272
<PropertyGroup>
7373
<_VersionPropsContent>
7474
<![CDATA[<Project>

0 commit comments

Comments
 (0)