.NET Core .csproj 文件中的文件路径位置在哪里?我编辑项目并打开它,但仍然没有一个 cs 类文件路径。
这是项目示例之一。该项目在解决方案资源管理器中预先树中有超过 1000 个 cs 文件。
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<!--<TargetFramework>net461</TargetFramework>-->
<RootNamespace>Microsoft.Web.Api.R1.BusinessLogic</RootNamespace>
<AssemblyName>Microsoft.Web.Api.R1.BusinessLogic</AssemblyName>
</PropertyGroup>
<ItemGroup>
<Folder Include="GraphQL\Microsoft\Microsoft\R1\" />
<Folder Include="MicrosoftHandlers\R1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Containers" Version="0.25.0" />
<PackageReference Include="Microsoft.AccessTokenValidation" Version="2.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.0" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="5.6.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Web.Api.R1\Microsoft.Web.Api.R1.csproj" />
</ItemGroup>
</Project>
Run Code Online (Sandbox Code Playgroud)