Skip to content
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

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

Merged
merged 1 commit into from
Aug 29, 2017

Conversation

dellis1972
Copy link
Contributor

@dellis1972 dellis1972 commented Aug 17, 2017

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
Contributor Author

build

@jonpryor jonpryor merged commit 0434ef8 into dotnet:master Aug 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-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge PR should not be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants