
In `cmGlobalVisualStudio7Generator::WriteTargetsToSolution`, we skip writing `ZERO_CHECK.proj` to solution file as the check in `cmGlobalVisualStudioGenerator::IsInSolution` returns `false` for `ZERO_CHECK`. However, we write ZERO_CHECK to ProjectDependencies for external projects as there are no checks in `cmGlobalVisualStudio71Generator::WriteExternalProject`. Similar to `cmGlobalVisualStudioGenerator::IsInSolution`, we introduce `IsDepInSolution(const std::string&)` which excludes `ZERO_CHECK.proj` from being added to sln file for the cases where we have `ZERO_CHECK.proj`. Fixes: #23708
15 lines
410 B
XML
15 lines
410 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net472</TargetFramework>
|
|
<RootNamespace>ConsoleApp</RootNamespace>
|
|
<AssemblyName>ConsoleApp</AssemblyName>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<EnableDefaultItems>false</EnableDefaultItems>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="Program.cs" />
|
|
</ItemGroup>
|
|
</Project>
|