-
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
error MSB4057: The target "_GetRestoreSettingsPerFramework" does not exist in the project. #85
Comments
This should workaround novotnyllc/MSBuildSdkExtras#85
|
This should workaround novotnyllc/MSBuildSdkExtras#85
I don't think it's a blocker, since most of the time I'm using the extras it's with WPF or PCLs which won't build (nicely) off Windows anyway. It used to work though. Was it an intentional loss when it stopped working? Any chance it could start working again? Building with .NET Core on a docker image is a way to ensure the build always works on every (CI) machine, so I've slowly been moving in that direction. |
I don't think it's an intentional change, but it's not a configuration that's tested. The main reason is that all of the tasks brought in by the targets pointed to are based on .NET Framework and don't have .NET Core variants (today). Even |
I'd certainly take a PR that fixes it for restore if there's an easy solution. |
Apparently it's not just restore. If I restore in another way, then use
I don't think I'll take time to look for a way to fix this right now. Maybe sometime if I have time and can't easily enough drop use of |
What does work is |
Ah, that's good. :) |
Here's how I do it for Rx.NET, with code coverage now from the latest SDK's: I need one workaround since embedded pdb's aren't yet supported by code coverage, so I have to build again for it :/ |
Encounter the same error information when build Newtonsoft.Json project, the solution is to install portable library |
also Guava Xamarin.Android builds on windows from XamarinComponents repo |
After updating to the latest MSBuild.Sdk.Extras,
dotnet restore
fails with:msbuild /restore
still works, however.The text was updated successfully, but these errors were encountered: