добавление команд при сборке

This commit is contained in:
Мк Игорь 2023-05-21 19:49:49 +04:00
parent 373dd2a63b
commit 4fa51bef04
4 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
@ -19,4 +19,8 @@
<ProjectReference Include="..\BlacksmithWorkshopContracts\BlacksmithWorkshopContracts.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y $(targetDir)*.dll $(solutionDir)ImplementationExtensions\*.dll" />
</Target>
</Project>

View File

@ -10,4 +10,8 @@
<ProjectReference Include="..\BlacksmithWorkshopContracts\BlacksmithWorkshopContracts.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y $(targetDir)*.dll $(solutionDir)ImplementationExtensions\*.dll" />
</Target>
</Project>

View File

@ -62,5 +62,6 @@ namespace BlacksmithWorkshopFileImplement.Models
new XAttribute("SenderName", SenderName),
new XAttribute("DateDelivery", DateDelivery)
);
public int Id => throw new NotImplementedException();
}
}

View File

@ -37,5 +37,6 @@ namespace BlacksmithWorkshopListImplement.Models
SenderName = SenderName,
DateDelivery = DateDelivery
};
public int Id => throw new NotImplementedException();
}
}