-
Notifications
You must be signed in to change notification settings - Fork 43
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 #174
Comments
Quick guess (since I don't have the old version anymore): This might be the actual change: |
Quick workaround:
|
I can't seem to repro this in 16.3 preview 1. Does it repro for you there? If so, can you attach a small repro project? In my test library project, I see a Resource.Designer.cs in the obj\MonoAndroid81 directory. |
@xen2 Could fix to 1.6 branch too, because I'm stuck with this version because UWP support. |
Getting this too, thanks for the workaround @xen2 |
#174 (comment) fixed our issue. We added it to every project that targeted |
I had an odd dependency on the new billing library and it has a dependency on annotations. I had to add the resgen fix and turn off designtime builds too: jamesmontemagno/InAppBillingPlugin@1220af4 |
I'm still unable to repro this locally.... I added @jamesmontemagno's files and it builds https://github.com/onovotny/MSBuildSdkExtras/blob/repro-attempt-for-designer/Tests/ClasslibWithNuGetSdkRef/ClasslibWithNuGetSdkRef.csproj |
Can you try Extras |
Same issue here. VS2019 16.2 with Extras 2.0.41. |
Same issue here. VS2019 16.2.3 with Extras 2.0.41 |
Same issue here. Rider 2019.2 with Extras 2.0.41 |
Started to happen once I updated VS2019 from 16.1.6 to 16.2.0
Seems to be due to https://github.com/onovotny/MSBuildSdkExtras/blob/master/Source/MSBuild.Sdk.Extras/Build/Platforms/Xamarin/Xamarin.Android.targets#L11
(until line 18).
Maybe those parameters are interpreted differently in latest Xamarin Android.
Note: this is a big blocker, can't compile anything without ugly workaround to remove the
Compile
from line 18.The text was updated successfully, but these errors were encountered: