Skip to content

[Xamarin.Android.Build.Tasks] Seeing a new seemingly DesignTimeBuild related build failure when invoking the Rebuild msbuild target - #757

Merged
jonpryor merged 1 commit into
dotnet:masterfrom
dellis1972:Bug58682
Aug 29, 2017
Merged

[Xamarin.Android.Build.Tasks] Seeing a new seemingly DesignTimeBuild related build failure when invoking the Rebuild msbuild target#757
jonpryor merged 1 commit into
dotnet:masterfrom
dellis1972:Bug58682

Conversation

@dellis1972

@dellis1972dellis1972 commented Aug 17, 2017

Copy link
Copy Markdown
Contributor

Context https://bugzilla.xamarin.com/show_bug.cgi?id=58682

The $(DesignTimeBuild) value was empty when running under mac.
This cuases the error

error MSB4044: The "GetAdditionalResourcesFromAssemblies" task was not given a value for the required parameter "DesignTimeBuild".

So we need to make sure that the value is set before we get to
GetAdditionalResourcesFromAssemblies. The reason we got the error
is before we used $(DesignTimeBuild) only in conditionals. However
when moving to use it as a property of a task it cannot be empty.
So we need to make sure we call _SetupDesignTimeBuildForBuild
early in the build process.

…related build failure when invoking the Rebuild msbuild target
Context https://bugzilla.xamarin.com/show_bug.cgi?id=58682
The `$(DesignTimeBuild)` value was empty when running under mac.
This cuases the error
error MSB4044: The "GetAdditionalResourcesFromAssemblies" task was not given a value for the required parameter "DesignTimeBuild".
So we need to make sure that the value is set before we get to
`GetAdditionalResourcesFromAssemblies`. The reason we got the error
is before we used `$(DesignTimeBuild)` only in conditionals. However
when moving to use it as a property of a task it cannot be empty.
So we need to make sure we call `_SetupDesignTimeBuildForBuild`
early in the build process.
@dellis1972

Copy link
Copy Markdown
ContributorAuthor

build

@jonpryor
jonpryor merged commit 0434ef8 into dotnet:masterAug 29, 2017
jonpryor pushed a commit to jonpryor/xamarin-android that referenced this pull request Sep 11, 2017
…tnet#757)
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=58682
Seeing a new seemingly DesignTimeBuild-related build failure when invoking the `Rebuild` msbuild target.
The `$(DesignTimeBuild)` value was empty when running under mac.
This cuases the error
error MSB4044: The "GetAdditionalResourcesFromAssemblies" task was not given a value for the required parameter "DesignTimeBuild".
So we need to make sure that the value is set before we get to
`GetAdditionalResourcesFromAssemblies`. The reason we got the error
is before we used `$(DesignTimeBuild)` only in conditionals. However
when moving to use it as a property of a task it cannot be empty.
So we need to make sure we call `_SetupDesignTimeBuildForBuild`
early in the build process.
jonpryor added a commit to jonpryor/xamarin-android that referenced this pull request Dec 14, 2020
Changes: dotnet/java-interop@99897b2...2f62ffd
* dotnet/java-interop@2f62ffd4: [Xamarin.Android.Tools.Bytecode] @not-null androidx.annotation.NonNull (dotnet#759)
* dotnet/java-interop@7c1ad51c: [java-source-utils] Properly represent unresolved types (dotnet#758)
* dotnet/java-interop@c1bc5c83: [java-source-utils] Better support orphaned Javadocs (dotnet#757)
* dotnet/java-interop@0cb8e2d3: [Xamarin.Android.Tools.ApiXmlAdjuster] Use Dictionaries for perf (dotnet#756)
* dotnet/java-interop@99f89905: [build] Fix for MSBuild 16.8 (dotnet#755)
jonpryor added a commit that referenced this pull request Dec 15, 2020
Changes: dotnet/java-interop@99897b2...2f62ffd
* dotnet/java-interop@2f62ffd4: [Xamarin.Android.Tools.Bytecode] @not-null androidx.annotation.NonNull (#759)
* dotnet/java-interop@7c1ad51c: [java-source-utils] Properly represent unresolved types (#758)
* dotnet/java-interop@c1bc5c83: [java-source-utils] Better support orphaned Javadocs (#757)
* dotnet/java-interop@0cb8e2d3: [Xamarin.Android.Tools.ApiXmlAdjuster] Use Dictionaries for perf (#756)
* dotnet/java-interop@99f89905: [build] Fix for MSBuild 16.8 (#755)
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Feb 5, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

do-not-mergePR should not be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dellis1972@jonpryor@dnfclas