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

MSBuild SDK Version Error #1

Open
Axemasta opened this issue Dec 24, 2020 · 0 comments
Open

MSBuild SDK Version Error #1

Axemasta opened this issue Dec 24, 2020 · 0 comments

Comments

@Axemasta
Copy link

When pulling the code to run the samples a fresh build all did not succeed. The LightSwitch.Agent project failed to build with the following errors:

iOS

/Users/myuser/.nuget/packages/msbuild.sdk.extras/2.0.29/Build/LanguageTargets/CheckMissing.targets(5,5): Error: 
The specified language targets for Xamarin.iOS10 is missing. 
Ensure correct tooling is installed for 'Xamarin.iOS'. Missing: 
'/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets' (LightSwitch.Agent)

Android

/Users/myuser/.nuget/packages/msbuild.sdk.extras/2.0.29/Build/LanguageTargets/CheckMissing.targets(5,5): Error: 
The specified language targets for monoandroid90 is missing. 
Ensure correct tooling is installed for 'monoandroid'. Missing: 
'/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/Xamarin/Android/Xamarin.Android.CSharp.targets' (LightSwitch.Agent)

This looks to be an issue with the MSBuild SDK Extras that is fixed in a newer version (see issue)

The fix is to up the version number from
<Project Sdk="MSBuild.Sdk.Extras/2.0.29">

to:
<Project Sdk="MSBuild.Sdk.Extras/2.1.2">

Axemasta added a commit to Axemasta/lightswitch that referenced this issue Dec 24, 2020
Proposed fix for rdavisau#1 where bug in msbuildsdkextras was causing LightSwitch.Agent not to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant