-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Generate an error message if LanguageTargets property is not set and cannot be inferred #448
Comments
Hi @dsplaisted i think is good to have an error there. |
NVM, i see for current msbuild RC, the sdk packages are just simulated (so expected to work from sdk directory), right @dsplaisted ? If like that i'll wait for next RC2 when sdk packages can be downloaded from nuget |
@enricosada That's correct, there's no acquisition story for Sdks yet. dotnet/msbuild#1436 tracks that. |
This will allow restore to succeed. Fixes dotnet#448
This will allow restore to succeed. Fixes dotnet#448. Fixes dotnet#373
Merging post rtw into master
Sdk.targets
will import the CSharp or VisualBasic targets files depending on whether the project file extension is.csproj
or.vbproj
. TheLanguageTargets
property can also be set to specify the targets file to import.If
LanguageTargets
isn't set and the project file extension is neither.csproj
nor.vbproj
, then the build should fail with a helpful error. This could happen if someone didn't specify the F# SDK for an.fsproj
, for example.The text was updated successfully, but these errors were encountered: