Skip to content

Commit

Permalink
Merge pull request #30 from K-Society/experimental
Browse files Browse the repository at this point in the history
Testing <developmentDependency>true</developmentDependency>
  • Loading branch information
maniglia authored Oct 18, 2023
2 parents b04c7be + 1a31c05 commit 729bd7a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
<PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Platforms>AnyCPU;x64;x86</Platforms>
<developmentDependency>true</developmentDependency>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KSociety.Wmi" Version="0.0.14" />
<PackageReference Include="Microsoft.NETCore.Platforms" Version="7.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions src/01/Programmer/Programmer.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.props" Condition="Exists('..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.props')" />
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand Down Expand Up @@ -198,9 +199,18 @@
<ClCompile Include="Programmer.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="README.MD" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.props'))" />
<Error Condition="!Exists('..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Nerdbank.GitVersioning.3.6.133\build\Nerdbank.GitVersioning.targets'))" />
</Target>
</Project>
1 change: 1 addition & 0 deletions src/01/Programmer/Programmer.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
</ItemGroup>
<ItemGroup>
<None Include="README.MD" />
<None Include="packages.config" />
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions src/01/Programmer/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Nerdbank.GitVersioning" version="3.6.133" targetFramework="native" developmentDependency="true" />
</packages>
2 changes: 1 addition & 1 deletion src/01/Samples/Programming/Programming.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KSociety.SharpCubeProgrammer" Version="0.0.61" />
<PackageReference Include="KSociety.SharpCubeProgrammer" Version="0.0.62" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.1" />
Expand Down

0 comments on commit 729bd7a

Please sign in to comment.