Browse Source

Numerics: try to drive AssemblyInfo and NuSpec from csproj

build
Christoph Ruegg 9 years ago
parent
commit
b4185ecd05
  1. 38
      src/Numerics/Numerics.csproj
  2. 14
      src/Numerics/Properties/AssemblyInfo.cs

38
src/Numerics/Numerics.csproj

@ -1,13 +1,43 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net40;netstandard1.3</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Math.Numerics</PackageId>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<OutputType>Library</OutputType>
<AssemblyName>MathNet.Numerics</AssemblyName>
<RootNamespace>MathNet.Numerics</RootNamespace>
<IsPackable>true</IsPackable>
<PackageId>MathNet.Numerics</PackageId>
<VersionPrefix>0.0.0</VersionPrefix>
<VersionSuffix>alpha0</VersionSuffix>
<PackageVersion>0.0.0-alpha0</PackageVersion>
<Version>0.0.0-alpha0</Version>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
<Title>Math.NET Numerics</Title>
<Authors>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</Authors>
<Company>Math.NET Project</Company>
<Product>Math.NET Numerics</Product>
<Description>
Math.NET Numerics is the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use.
Supports .Net Framework 4.0 or higher and .Net Standard 1.3 or higher, on Windows, Linux and Mac.
</Description>
<Copyright>Copyright Math.NET Project</Copyright>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseUrl>https://numerics.mathdotnet.com/License.html</PackageLicenseUrl>
<PackageProjectUrl>https://numerics.mathdotnet.com/</PackageProjectUrl>
<PackageIconUrl>https://www.mathdotnet.com/images/MathNet128.png</PackageIconUrl>
<PackageReleaseNotes>Release Notes</PackageReleaseNotes>
<PackageTags>math numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft</PackageTags>
<PackageOutputPath>$(OutputPath)</PackageOutputPath>
<IsTool>false</IsTool>
<RepositoryUrl>https://github.com/mathnet/mathnet-numerics</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<NeutralLanguage>en</NeutralLanguage>
<NoPackageAnalysis>false</NoPackageAnalysis>
<IncludeBuildOutput>true</IncludeBuildOutput>
<IncludeContentInPack>false</IncludeContentInPack>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
<DefineConstants>NETSTANDARD;NOSYSNUMERICS</DefineConstants>

14
src/Numerics/Properties/AssemblyInfo.cs

@ -35,23 +35,11 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#endif
[assembly: AssemblyDescription("Math.NET Numerics, providing methods and algorithms for numerical computations in science, engineering and every day use.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Math.NET Project")]
[assembly: AssemblyProduct("Math.NET Numerics")]
[assembly: AssemblyCopyright("Copyright (c) Math.NET Project")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: NeutralResourcesLanguage("en")]
[assembly: AssemblyVersion("3.20.0.0")]
[assembly: AssemblyFileVersion("3.20.0.0")]
[assembly: AssemblyInformationalVersion("3.20.0")]
#if PORTABLE || NETSTANDARD
[assembly: AssemblyTitle("Math.NET Numerics - Portable Edition")]
[assembly: InternalsVisibleTo("MathNet.Numerics.UnitTests")]
[assembly: InternalsVisibleTo("MathNet.Numerics.UnitTests7")]
[assembly: InternalsVisibleTo("MathNet.Numerics.UnitTests47")]
@ -61,13 +49,11 @@ using System.Runtime.InteropServices;
#elif NET35
[assembly: AssemblyTitle("Math.NET Numerics - .Net 3.5 Edition")]
[assembly: InternalsVisibleTo("MathNet.Numerics.UnitTests")]
[assembly: InternalsVisibleTo("MathNet.Numerics.UnitTestsNet35")]
#else
[assembly: AssemblyTitle("Math.NET Numerics")]
[assembly: ComVisible(false)]
[assembly: Guid("7b66646f-f0ee-425d-9065-910d1937a2df")]

Loading…
Cancel
Save