7 assignments to MSBuild property Language
MSBuildFiles (7)
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.CSharp.CurrentVersion.targets (1)
38
<
Language
>C#</Language>
C\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24562.13\tools\ProjectDefaults.props (6)
58
<
Language
Condition="'$(MSBuildProjectExtension)' == '.csproj'">C#</Language>
59
<
Language
Condition="'$(MSBuildProjectExtension)' == '.vbproj'">VB</Language>
60
<
Language
Condition="'$(MSBuildProjectExtension)' == '.fsproj'">F#</Language>
61
<
Language
Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">C++</Language>
75
<
Language
>C#</Language>
82
<
Language
>VB</Language>
91 usages of MSBuild property Language
MSBuildFiles (91)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets (3)
190
Condition="'$(
Language
)'=='VB' or '$(
Language
)'=='C#'"
199
<WriteCodeFragment AssemblyAttributes="@(AssemblyAttribute)" Language="$(
Language
)" OutputFile="$(GeneratedAssemblyInfoFile)">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets (1)
1282
<NETSdkError Condition="('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and '$(TargetFrameworkIdentifier)' == '.NETCoreApp'"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets (3)
297
<NETSdkError Condition="('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and $(OutputType) != 'library' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp'"
300
<NETSdkError Condition="('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and $(EnableComHosting) == 'true'"
303
<NETSdkError Condition="('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and $(SelfContained) == 'true'"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Analyzers.targets (13)
61
<WarningLevel Condition="'$(
Language
)' == 'C#' And '$(WarningLevel)' == '' And '$(AnalysisLevel)' == 'preview'">9999</WarningLevel>
63
<WarningLevel Condition="'$(
Language
)' == 'C#' And '$(WarningLevel)' == '' And '$(TargetFrameworkIdentifier)' == '.NETFramework' ">4</WarningLevel>
65
<WarningLevel Condition="'$(
Language
)' == 'C#' And '$(WarningLevel)' == '' And '$(TargetFrameworkIdentifier)' == '.NETCoreApp' ">$(_TargetFrameworkVersionWithoutV.Substring(0, 1))</WarningLevel>
101
Condition="'$(
Language
)' == 'C#' Or '$(
Language
)' == 'VB'" />
106
Condition="$(EnforceCodeStyleInBuild) And '$(
Language
)' == 'C#'" />
108
Condition="$(EnforceCodeStyleInBuild) And '$(
Language
)' == 'VB'" />
113
Condition="'$(
Language
)' == 'VB'"
117
Condition="'$(
Language
)' == 'C#'"
126
<ItemGroup Condition="'$(
Language
)' == 'C#' Or '$(
Language
)' == 'VB'">
139
<ItemGroup Condition="$(EnforceCodeStyleInBuild) And '$(
Language
)' == 'C#'">
155
<ItemGroup Condition="$(EnforceCodeStyleInBuild) And '$(
Language
)' == 'VB'">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets (1)
261
<FinalDefineConstants Condition=" '@(_ImplicitDefineConstant)' != '' and '$(
Language
)' == 'VB' " >$(FinalDefineConstants),@(_ImplicitDefineConstant->'%(Identity)=-1', ',')</FinalDefineConstants>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets (2)
83
<_NuGetRestoreSupported Condition="('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')">false</_NuGetRestoreSupported>
405
ProjectLanguage="$(
Language
)"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (10)
19
<Import Project="$(MSBuildThisFileDirectory)Microsoft.PackageDependencyResolution.targets" Condition="Exists('$(MSBuildThisFileDirectory)Microsoft.PackageDependencyResolution.targets') and ('$(
Language
)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')" />
20
<Import Project="$(MSBuildThisFileDirectory)Microsoft.PackageDependencyResolutionStubs.targets" Condition="Exists('$(MSBuildThisFileDirectory)Microsoft.PackageDependencyResolutionStubs.targets') and ('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')" />
1299
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.GenerateGlobalUsings.targets" Condition="'$(
Language
)' == 'C#'"/>
1305
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.PackStubs.targets" Condition="('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')"/>
1310
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.CSharp.targets" Condition="'$(
Language
)' == 'C#'" />
1311
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.VisualBasic.targets" Condition="'$(
Language
)' == 'VB'" />
1312
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.FSharp.targets" Condition="'$(
Language
)' == 'F#'" />
1314
<Import Project="$(ILLinkTargetsPath)" Condition="'$(ILLinkTargetsPath)' != '' and '$(
Language
)' != 'C++'" />
1315
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.Analyzers.targets" Condition="'$(
Language
)' == 'C#' or '$(
Language
)' == 'VB'" />
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets (4)
181
<NETSdkError Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(_TargetFrameworkVersionWithoutV)' < '3.1' and ('$(
Language
)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true')"
187
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and ('$(
Language
)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')">
223
Condition="'$(TargetPlatformVersion)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and ('$(
Language
)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')">
236
Condition="'$(TargetPlatformVersion)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and ('$(
Language
)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Windows.targets (1)
22
and '$(
Language
)' != 'C++'
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets (5)
199
ProjectLanguage="$(
Language
)"
216
('$(
Language
)' == 'C#' Or '$(
Language
)' == 'VB') And
270
ProjectLanguage="$(
Language
)"
415
ProjectLanguage="$(
Language
)">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.SourceLink.Common\build\Microsoft.SourceLink.Common.targets (3)
33
<PropertyGroup Condition="'$(
Language
)' == 'C++'">
38
<PropertyGroup Condition="'$(
Language
)' != 'C++'">
71
<ItemGroup Condition="'$(
Language
)' == 'C++' and '$(SourceLink)' != ''">
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (1)
3732
Language="$(
Language
)">
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\Managed\Microsoft.Managed.DesignTime.targets (2)
454
<CollectUpToDateCheckInputDesignTimeDependsOn Condition="'$(
Language
)' == 'C#' or '$(
Language
)' == 'VB'">$(CollectUpToDateCheckInputDesignTimeDependsOn);ResolveCodeAnalysisRuleSet</CollectUpToDateCheckInputDesignTimeDependsOn>
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v17.0\CodeAnalysis\Microsoft.CodeAnalysis.targets (17)
49
<IsCSharpOrVbProject Condition="'$(
Language
)'=='C#' or '$(
Language
)'=='VB'">true</IsCSharpOrVbProject>
60
<DefineConstants Condition="'$(
Language
)'=='C#' ">CODE_ANALYSIS;$(DefineConstants)</DefineConstants>
61
<FinalDefineConstants Condition="'$(
Language
)'=='VB' ">CODE_ANALYSIS=-1,$(FinalDefineConstants)</FinalDefineConstants>
67
<RunCppAnalysis Condition="'$(
Language
)'=='C++' and '$(RunCodeAnalysisOnThisProject)'=='true' and '$(ApplicationType)' != 'Linux'">true</RunCppAnalysis>
135
<When Condition="'$(
Language
)'=='C++' and '$(CLRSupport)'=='true' and '$(CodeAnalysisVSSku)'=='Express'">
140
<When Condition="'$(
Language
)'=='C++' and '$(CLRSupport)'=='true'">
145
<When Condition="'$(
Language
)'=='C++' and '$(CodeAnalysisVSSku)'=='Express'">
150
<When Condition="'$(
Language
)'=='C++'">
165
<PropertyGroup Condition="'$(
Language
)'=='C#' or '$(
Language
)'=='VB'">
231
<PropertyGroup Condition="'$(
Language
)'=='C++' or '$(RunMsvcAnalysis)'=='true'">
309
<CodeAnalysisReferencePath Condition="'$(
Language
)'=='VB' and '$(VBRuntimePath)'!=''" Include="$(VBRuntimePath)" />
314
<CodeAnalysisDependentAssemblyPaths Condition="'$(
Language
)'=='C++'" Include="%(ClCompile.AdditionalUsingDirectories)" />
320
<CodeAnalysisInputAssembly Condition="'$(OutputType)'=='winmdobj' and '$(
Language
)'=='VB'">$(IntermediateOutputPath)\TempCA\$(TargetName)$(TargetExt)</CodeAnalysisInputAssembly>
324
<Copy Condition="'$(OutputType)'=='winmdobj' and '$(
Language
)'=='VB'"
329
<Copy Condition="'$(OutputType)'=='winmdobj' and '$(
Language
)'=='VB'"
C\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24562.13\tools\GenerateInternalsVisibleTo.targets (3)
38
Language="$(
Language
)"
40
<Output TaskParameter="OutputFile" ItemName="CompileBefore" Condition="'$(
Language
)' == 'F#'" />
41
<Output TaskParameter="OutputFile" ItemName="Compile" Condition="'$(
Language
)' != 'F#'" />
C\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24562.13\tools\GenerateResxSource.targets (6)
49
Language="$(
Language
)"
62
<_EmbeddedResourceSourceExtension Condition="'$(
Language
)' == 'C#'">cs</_EmbeddedResourceSourceExtension>
63
<_EmbeddedResourceSourceExtension Condition="'$(
Language
)' == 'VB'">vb</_EmbeddedResourceSourceExtension>
64
<_EmbeddedResourceSourceExtension Condition="'$(
Language
)' == 'F#'">fs</_EmbeddedResourceSourceExtension>
66
<Error Text="GenerateResxSource doesn't support language: '$(
Language
)'" Condition="'$(_EmbeddedResourceSourceExtension)' == ''"/>
69
<EmbeddedResourceSG Condition="'$(
Language
)' != 'F#'">
C\Users\cloudtest\.nuget\packages\microsoft.dotnet.arcade.sdk\9.0.0-beta.24562.13\tools\ProjectDefaults.props (6)
73
<When Condition="'$(
Language
)' == 'C#' or Exists('$(MSBuildProjectDirectory)\$(AssemblyName).csproj')">
80
<When Condition="'$(
Language
)' == 'VB' or Exists('$(MSBuildProjectDirectory)\$(AssemblyName).vbproj')">
92
<When Condition="'$(
Language
)' == 'C#'">
100
<When Condition="'$(
Language
)' == 'VB'">
110
<When Condition="'$(
Language
)' == 'F#'">
118
<When Condition="'$(
Language
)' == 'C++'">
C\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.ServiceModel.targets (5)
55
<XsdCodeGenNamespaceMappings Condition=" '$(XsdCodeGenNamespaceMappings)' == '' and '$(
Language
)' == 'C#' and '$(RootNamespace)' != '' " >*, $(RootNamespace).ContractTypes</XsdCodeGenNamespaceMappings>
88
<Message Text="Generating code from XSD: Language=$(
Language
)" />
102
<XsdCodeGenGeneratedFile Condition=" '@(XsdCodeGenGeneratedFile)' == '' And '$(
Language
)' == 'C#' " Include="$(IntermediateOutputPath)\XsdGeneratedCode\GeneratedXsdTypes.cs" />
103
<XsdCodeGenGeneratedFile Condition=" '@(XsdCodeGenGeneratedFile)' == '' And '$(
Language
)' == 'VB' " Include="$(IntermediateOutputPath)\XsdGeneratedCode\GeneratedXsdTypes.vb" />
117
Language="$(
Language
)"
C\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets (2)
269
Language="$(
Language
)"
346
Language="$(
Language
)"
C\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml.targets (3)
109
Language="$(
Language
)"
196
Language="$(
Language
)"
355
Language="$(
Language
)"