Skip to content

Skip func targets during design time build#1954

Merged
jviau merged 2 commits intoAzure:feature/ext-projfrom
jviau:design-time
Oct 10, 2023
Merged

Skip func targets during design time build#1954
jviau merged 2 commits intoAzure:feature/ext-projfrom
jviau:design-time

Conversation

@jviau
Copy link
Copy Markdown
Contributor

@jviau jviau commented Oct 10, 2023

Issue describing the changes in this PR

resolves #issue_for_this_pr

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Looks like through some dependency chain our targets get partially ran during design-time build and fail, which breaks Visual Studio's ability to read projects with this SDK. This PR skips these targets during DTB (they are not needed anyways).

@jviau jviau requested a review from fabiocav October 10, 2023 18:06
Comment thread sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets
Comment thread sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets
Comment thread sdk/release_notes.md
@jviau jviau merged commit a37a998 into Azure:feature/ext-proj Oct 10, 2023
@jviau jviau deleted the design-time branch October 10, 2023 20:08
jviau added a commit that referenced this pull request Jan 18, 2024
…d nuget feed issues (#1946)

* Worker Extension project incremental build support (#1749)

* Merge main to feature/ext-proj (#1832)

* Refactor SDK targets to address multiple writes and flaky builds (#1861)

* Ensure ExtensionsCsProjDirectory is a full path (#1938)

* Pass RestoreSources to inner-build restore task (#1937)

* Rev SDK version to 1.16.0-preview1 (#1941)

* Skip func targets during design time build (#1954)

* Correct merge mistakes

* Update sln

* Fix properties

* update worker.config.json generation (#2122)

* [SDK] Remove properties from inner-build (#2161)

* Expand on RemoveProperties for inner build. Fix source gen default

* Add PublishProfile to remove props

* Un-remove some properties from inner build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants