Files
Vision/ModuleWeather/ModuleWeather.csproj
2026-03-20 19:26:33 +02:00

34 lines
1.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- ВОТ ЭТА СТРОЧКА: она заставит компилятор создать Module.dll -->
<AssemblyName>Module</AssemblyName>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\VisionAsist.SDK\VisionAsist.SDK.csproj" />
</ItemGroup>
<!-- Твой скрипт копирования остается без изменений, теперь он найдет файл -->
<Target Name="CopyModuleToCore" AfterTargets="PostBuildEvent">
<ItemGroup>
<ModuleFiles Include="$(TargetDir)Module.dll" />
<ModuleFiles Include="$(TargetDir)Module.pdb" Condition="Exists('$(TargetDir)Module.pdb')" />
</ItemGroup>
<Message Text="Копирую Module.dll в папку ядра..." Importance="high" />
<Copy SourceFiles="@(ModuleFiles)"
DestinationFolder="/home/egor/RiderProjects/Vision/VisionAsist/bin/Debug/net10.0/Modules/ModuleWeather/"
OverwriteReadOnlyFiles="true" />
</Target>
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.3.12" />
<PackageReference Include="Avalonia.Desktop" Version="11.3.12" />
</ItemGroup>
</Project>