#### gattispilot

So not sure if this is the correct area.

So I got a new PC and needed to get VS. I got vs2019 .

So I was able to recompile one solution and it worked.

So I copied the whole solution and renamed it. Loaded and made the changes in the cpp and h I needed to and built it.

Now I get this:
Error MSB4018 The "VCMessage" task failed unexpectedly.
<VCMessage Code="MSB8028" Type="Warning" Arguments="$(IntDirSharingProjects);$(IntDir)" Condition="'$(IgnoreWarnIntDirSharingDetected)' != 'true' and '$(IntDirSharingDetected)' == 'true'"/>
I have googled it and the only thing I have seen is the platform tool set.
I have this:
<PlatformToolset>v142</PlatformToolset>

Any ideas. Ran into this using vs2013 also

Last edited:

#### kuddel

##### Donator
Donator
So I copied the whole solution and renamed it. Loaded and made the changes in the cpp and h I needed to and built it.
What exactly did you copy?
If you make a copy of a solution you have to copy the project as well.
So:
source.cpp, source.h, source.vcxproj, source.sln
will become:
destination.cpp, destination.h, destination.vcxproj, destination.sln

Then you have to edit the solution file to reference the new project file name:
Code:
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Source", "source.vcxproj", "{C99DB710-598C-43F5-8875-EBCEB45A7F05}"
becomes:
Code:
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Destination", "destination.vcxproj", "{C99DB710-598C-43F5-8875-EBCEB45A7F05}"

If the solution contains more than one project, you have to repeat the step of course.

In Visual Studio lingua a Solution is the container that holds one (or more) Projects; a Project contains the source files.

Code:
+- Solution
+- ProjectA
+- ProjectB
+- ProjectC