рекурсивно сканируют директорию. Затем ее добавил как git submodules в свое приложение на WinForms, но у меня выдает ошибку о дупликации свойств.
Build started...
1>------ Build started: Project: ListImage, Configuration: Debug Any CPU ------
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\.NETCoreApp,Version=v5.0.AssemblyAttributes.cs(4,12,4,70): error CS0579: Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(14,12,14,54): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(15,12,15,60): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(16,12,16,58): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(17,12,17,67): error CS0579: Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(18,12,18,54): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(19,12,19,52): error CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute
1>E:\repo\ListImage\extension\RecScanDir\obj\Release\net5.0\ScanRecDir.AssemblyInfo.cs(20,12,20,54): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\.NETCoreApp,Version=v5.0.AssemblyAttributes.cs(4,12,4,70): error CS0579: Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(14,12,14,54): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(15,12,15,60): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(16,12,16,58): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(17,12,17,67): error CS0579: Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(18,12,18,54): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(19,12,19,52): error CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute
1>E:\repo\ListImage\obj\Debug\net5.0-windows\ListImage.AssemblyInfo.cs(20,12,20,54): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute
1>Done building project "ListImage.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
В общем, обычно не ложат сабмодули рядом с исходниками текущей репы. Типа две разные папки на одном уровне: src, external
Обсуждают сегодня