mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-04 16:53:18 +02:00
Modified Release configuration to support Nuget package creation
This commit is contained in:
parent
b233b87d00
commit
a1961e94ba
4 changed files with 28 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net40</TargetFrameworks>
|
<TargetFrameworks>net40</TargetFrameworks>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
|
@ -10,6 +11,9 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SMBLibrary.Win32\SMBLibrary.Win32.csproj" />
|
<ProjectReference Include="..\SMBLibrary.Win32\SMBLibrary.Win32.csproj" />
|
||||||
<ProjectReference Include="..\SMBLibrary\SMBLibrary.csproj" />
|
<ProjectReference Include="..\SMBLibrary\SMBLibrary.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(Configuration)' != 'Release'">
|
||||||
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@ -18,4 +22,5 @@
|
||||||
<HintPath>Components\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
|
<HintPath>Components\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -5,10 +5,17 @@
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<AssemblyName>SMBLibrary.Win32</AssemblyName>
|
<AssemblyName>SMBLibrary.Win32</AssemblyName>
|
||||||
<RootNamespace>SMBLibrary.Win32</RootNamespace>
|
<RootNamespace>SMBLibrary.Win32</RootNamespace>
|
||||||
|
<Authors>Tal Aloni</Authors>
|
||||||
|
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
|
<PackageProjectUrl>https://github.com/TalAloni/SMBLibrary</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/TalAloni/SMBLibrary</RepositoryUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SMBLibrary\SMBLibrary.csproj" />
|
<ProjectReference Include="..\SMBLibrary\SMBLibrary.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(Configuration)' != 'Release'">
|
||||||
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,19 @@
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<AssemblyName>SMBLibrary</AssemblyName>
|
<AssemblyName>SMBLibrary</AssemblyName>
|
||||||
<RootNamespace>SMBLibrary</RootNamespace>
|
<RootNamespace>SMBLibrary</RootNamespace>
|
||||||
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||||
|
<Authors>Tal Aloni</Authors>
|
||||||
|
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
|
||||||
|
<PackageProjectUrl>https://github.com/TalAloni/SMBLibrary</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/TalAloni/SMBLibrary</RepositoryUrl>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
<ProjectReference Include="..\Utilities\Utilities.csproj" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="ILRepack" Condition="'$(Configuration)' == 'Release'" AfterTargets="AfterBuild">
|
||||||
|
<Exec Command=""$(ProgramW6432)\ILRepack\ILRepack.exe" /out="$(OutputPath)\SMBLibrary.dll" "$(OutputPath)\SMBLibrary.dll" "$(OutputPath)\Utilities.dll""></Exec>
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -12,16 +12,20 @@
|
||||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net20' ">
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net20' ">
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SMBLibrary.Win32\SMBLibrary.Win32.csproj" />
|
<ProjectReference Include="..\SMBLibrary.Win32\SMBLibrary.Win32.csproj" />
|
||||||
<ProjectReference Include="..\SMBLibrary\SMBLibrary.csproj" />
|
<ProjectReference Include="..\SMBLibrary\SMBLibrary.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(Configuration)' != 'Release'">
|
||||||
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
<ProjectReference Include="..\Utilities\Utilities.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Update="Settings.xml">
|
<None Update="Settings.xml">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue