Repository navigation
Expand file tree
/
Copy pathMicrosoft.NET.Sdk.WorkloadManifestReader.csproj
More file actions
47 lines (40 loc) · 2.87 KB
/
Copy pathMicrosoft.NET.Sdk.WorkloadManifestReader.csproj
File metadata and controls
47 lines (40 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(RepoRoot)src\Cli\Microsoft.DotNet.Cli.Resources.Generator\Microsoft.DotNet.Cli.Resources.Generator.props" />
<PropertyGroup>
<TargetFrameworks>$(SdkTargetFramework);net472</TargetFrameworks>
<!-- NetTFMUpdate: Remove the extra target when Arcade's source-built workload tasks move to net12.0. -->
<TargetFrameworks Condition="'$(DotNetBuildSourceOnly)' == 'true'">$(TargetFrameworks);net11.0</TargetFrameworks>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
<IsPackable>true</IsPackable>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Update="**\*.resx" GenerateSource="true" Namespace="Microsoft.NET.Sdk.Localization">
<Generator Condition="'$(TargetFramework)' == '$(SdkTargetFramework)'">Microsoft.DotNet.Cli.Resources</Generator>
<ClassName Condition="'$(TargetFramework)' == '$(SdkTargetFramework)'">Microsoft.NET.Sdk.Localization.Strings</ClassName>
</EmbeddedResource>
<Compile Include="..\Microsoft.DotNet.MSBuildSdkResolver\FXVersion.cs" />
<Compile Include="$(RepoRoot)src\Common\EnvironmentVariableNames.cs" LinkBase="Common" />
<Compile Include="$(RepoRoot)src\Common\PathComponentUtilities.cs" LinkBase="Common" />
<Compile Include="$(RepoRoot)src\Common\Polyfills.cs" LinkBase="Common" />
<Compile Include="$(RepoRoot)src\Common\WorkloadFileBasedInstall.cs" LinkBase="Common" />
<Compile Include="$(RepoRoot)src\Common\WorkloadSetVersion.cs" LinkBase="Common" />
<Compile Include="$(RepoRoot)src\Cli\dotnet\Commands\Workload\InstallStateContents.cs" LinkBase="Cli" />
<Compile Include="$(RepoRoot)src\Cli\dotnet\Installer\Windows\TrustedMachinePath.cs" LinkBase="Cli" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Deployment.DotNet.Releases" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == '$(SdkTargetFramework)'">
<ProjectReference Include="..\..\Cli\Microsoft.DotNet.Cli.CoreUtils\Microsoft.DotNet.Cli.CoreUtils.csproj" />
<ProjectReference Include="..\..\Cli\Microsoft.DotNet.Cli.Resources.Generator\Microsoft.DotNet.Cli.Resources.Generator.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<!-- Netfx version builds against the lowest version of System.Text.Json that's guaranteed to be shipped with MSBuild in VS -->
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" VersionOverride="$(MicrosoftBclAsyncInterfacesToolsetPackageVersion)" />
<PackageReference Include="System.Text.Json" VersionOverride="$(SystemTextJsonToolsetPackageVersion)" />
</ItemGroup>
<Import Project="$(RepoRoot)src\Cli\Microsoft.DotNet.Cli.Resources.Generator\Microsoft.DotNet.Cli.Resources.Generator.targets" />
</Project>