Hi, I came across something that is possible a bug:
- Create a
VL.File.vl
create VL.File.csproj` - Add
csproj
as dependency, add some static method - Save
- Remove
csproj
, and add.dll
- Export app
see:
Found multiple publish output files with the same relative path:
- obj\Release\Avalonia\VL.Avalonia.dll
- D:\VVVV\__avalonia\VL.Avalonia\src\VL.Avalonia\lib\Debug\net8.0\VL.Avalonia.dll
In patch i found such traces:
<p:NodeReference LastCategoryFullName="VL.Avalonia.AppBuilderExtensions" LastDependency="VL.Avalonia.csproj">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="AssemblyCategory" Name="AppBuilderExtensions" NeedsToBeDirectParent="true" />
<Choice Kind="OperationCallFlag" Name="CreateDefault" />
</p:NodeReference>
Witch leads to:
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VL.Avalonia", "VL.Avalonia\VL.Avalonia.csproj", "F4B04E9C-0E68-F4DC-0072-0CAE742772C4"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VL.Avalonia", "D:\VVVV\__avalonia\VL.Avalonia\src\VL.Avalonia\src\VL.Avalonia.csproj", "B1EF32BA-E778-90CE-27D9-AC710CB53E9F"
EndProject
in .sln
P.S. seems it’s something deeper since replacing .csproj vs .dll did’t help
P.S.S. adding whole thing to new vl file as deps resolved error