You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MsBuildExample1.csproj 699B

2 kuukautta sitten
123456789101112131415161718
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFramework>net8.0</TargetFramework>
  5. <ImplicitUsings>enable</ImplicitUsings>
  6. <Nullable>enable</Nullable>
  7. </PropertyGroup>
  8. <ItemGroup>
  9. <PackageReference Include="MyCustomBuildTask" Version="1.3.0" />
  10. </ItemGroup>
  11. <Import Project="..\packages\MyCustomBuildTask.1.3.0.0\build\MyCustomBuildTask.props" Condition="Exists('..\packages\MyCustomBuildTask.1.3.0.0\build\MyCustomBuildTask.props')" />
  12. <Target Name="MyTasks" AfterTargets="AfterBuild">
  13. <Message Importance="High" Text="+++ Justin Dearing +++" />
  14. <SimpleTask3 MyProperty="Appel depuis le nuget !" />
  15. </Target>
  16. </Project>