'Visual Studio: Set same output directory for multiple exe projects
There are at least 2 exes projects in my solution, and they are supposed to be in the some directory after being deployed with some shared data file.
When I set output directory of all exe projets to folder W:\Cci, I got errors from a file named W:\Cci\Debug\net6.0.NETCoreApp,Version=v6.0.AssemblyAttributes.cs. One error says "Error CS0579 Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute'" You can see that there is no project information in the file, so I guess all there exe projects wanted to output a file with same name to the dir and caused that error.
Btw, if I output them to different directory, everything is fine. But they just cannot find each other and work together.
Any help? Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
