-
Notifications
You must be signed in to change notification settings - Fork 525
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
.Net "standard" library referenced by an Android project fail after conversion from nuget -> paket #2800
Comments
detailed msbuild log available here: https://gist.github.com/7sharp9/e0bcee9fcaad3601c3dee702bb5c4b54 |
|
(@matthid we should make convert somehow gitignore it!?) |
FileNotFoundException should be gone after nuking of paket-files folder and "paket restore" |
After nuking that folder and paket restore its still the same |
are you sure it's exactly the same message? because now the packages folder should exist |
|
TBH I have no idea what is happening. Do you see what is wrong in the fsproj? |
also it's weird that's importing NETStandard.Library.targets why are you mixing old and new proj formats? |
Its just a new droid template from vs4mac, I can't tell whats wrong to be honest, I spent a good few hours yesterday trying to figure out whats going on then decided to file this small repo. |
it is so weird. but will try to dig deeper |
one thing that is not ok is: you did not set TargetFrameworkIdentifier |
and it looks like your TargetFrameworkVersion is 8 - which don't know yet in paket |
let's try something:
please set targetframework to MonoAndroid and manually add the 8.0 in that condition. would that help? |
We could move it to the |
.paket is not gitignored everywhere |
Xamarin abuse the TargetFrameworkVersion to represent the Android version, 8 is the latest one. I can drop it to 7.1 |
still you need to set MonoAndroid to activate the case |
note: this was the out of the box template for droid I didn't add or remove anything |
|
ok. good. so we need to add the 8.o to our moniker collection. will do tomorrow. |
5.100.3 will add this automatically. You still need to set TargetFrameworkIdentifier |
Description
I have a .Net "standard" library referenced by a Android project, when the projects are converted to a paket solution I encounter a build failure.
Repro steps
I have a before paket conversion at https://github.com/7sharp9/androidTest and a
paket
branch https://github.com/7sharp9/androidTest/tree/paket after the conversion available. The nuget version build fine.Expected behavior
Build works
Actual behavior
build fails with:
The text was updated successfully, but these errors were encountered: