-
Notifications
You must be signed in to change notification settings - Fork 44
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] 'obj\Release\monoandroid81\Resource.Designer.cs' could not be found #181
Comments
Is this about DesignTime or about the ResGen file? I haven't been able to repro locally but made changes based on reading the targets: We're not even setting the ResGen file anymore, nor are we setting the private |
This is about the ResGen. I thought that was fixed in 2.0.41, but taking out the work around still generates the error. |
I've got another build issue blocking me from reproducing this locally. When I can I will provide more information. |
Attached: binlog.zip This is from a local build where I was able to reproduce the same issue on that same commit. |
@RLittlesII Same issue as yours when I use VS2019. But it work fine on VS2017, so I change IDE to let my work could keep going. |
From that binlog, the best I can tell is that
That value is always set. It's supposed to be the output file here: That file is then included here: https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets#L727 @jamesmontemagno any ideas? |
Also cc @jonathanpeppers and @jonpryor for some 👀 |
This came up here: https://developercommunity.visualstudio.com/content/problem/672764/building-xamarin-multi-targeted-plugin-fails-unabl.html We found that 16.2 has this regression, but it is already fixed in 16.3 previews. A workaround is to add this MSBuild property to your project: <AndroidUseIntermediateDesignerFile>False</AndroidUseIntermediateDesignerFile> Going forward, we are putting these tests in, so we don't break MSBuild.Sdk.Extras accidentally: dotnet/android#3523 |
Thanks @jonathanpeppers for the quick reply! Is there anything that should be updated/changed/defaulted differently here: That's what has most of the things that came out of the older style csproj. |
@jonathanpeppers That is only used for |
Ok, if they put |
ReactiveUI put the |
Closing as external as it's been fixed in VS 16.3. |
The following Splat Build fails with MsBuild.Sdk.Extras v2.0.41
I explicitly put in the work around detailed #174 (comment) last week to get the builds back green. reactiveui/splat#390
As you can see from the above output on the latest build, when I remove the work around with MsBuild.Sdk.Extras 2.0.41 here, I still received the error.
Related to #174
The text was updated successfully, but these errors were encountered: