M
M
Morrowind2021-12-01 16:33:03
visual studio
Morrowind, 2021-12-01 16:33:03

Where does duplicate files come from in Visual Studio?

Hello.
Here's the focus. In VS, for some reason, 1 library out of 3 is duplicated. And there are no errors on the links.
The files open fine. and VS thinks it's the same file, it doesn't even duplicate the window in the interface.
In a Git folder, everything is in a single instance.
I rebuilt the project, cleaned it, deleted it and reattached it.
It's probably coming from somewhere in the metadata. Just to know where to look.

I ask experts to throw ideas.

61a77986c2752883801283.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Morrowind, 2021-12-01
@hekkaaa

The issue was decided by accident.
It turned out that during merge, duplicated metadata was merged into the UML_Logic_Library.cspro file 2 times. VS read them 2 times and did not swear, I began to swear when I started dragging API methods from this library into my project.
I read it and saw that there are 2 headings

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question