W Visual Studio 2013, jeden z moich projektów obejmuje:Projekt Visual Studio F #: Nie można mieć dwóch folderów w drzewie plików o tej samej nazwie?
<ItemGroup>
<Compile Include="Entity\Abstract\Entity.fs" />
<Compile Include="Entity\HumanEntity.fs" />
<Compile Include="State\Abstract\State.fs" />
<Compile Include="State\Abstract\HumanState.fs" />
<Compile Include="State\Human\HumanIdleState.fs" />
<Compile Include="State\Human\HumanAwakenState.fs" />
</ItemGroup>
Visual Studio dławiki na to, twierdząc, że:
The project 'Entity.fsproj' could not be opened because opening it would cause a folder to be rendered multiple times in the solution explorer. One such problematic item is 'State\Abstract\State.fs'.
Jeśli zmienię includes jak tak, to wszystko jest w porządku:
<ItemGroup>
<Compile Include="Entity\AbstractEntity\Entity.fs" />
<Compile Include="Entity\HumanEntity.fs" />
<Compile Include="State\AbstractState\State.fs" />
<Compile Include="State\AbstractState\HumanState.fs" />
<Compile Include="State\Human\HumanIdleState.fs" />
<Compile Include="State\Human\HumanAwakenState.fs" />
</ItemGroup>
Czy jest to niedopatrzenie w VS2013, czy też robię coś nie tak, tutaj?
Sucks tyłek. Dzięki. – MiloDC