Skip to content

Commit

Permalink
Use msbuild to package
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Dec 28, 2023
1 parent 14dcfa5 commit 1717f84
Show file tree
Hide file tree
Showing 113 changed files with 58 additions and 70 deletions.
23 changes: 12 additions & 11 deletions TestCentric.Metadata.sln
Expand Up @@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33110.190
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Metadata", "src\testcentric.engine.metadata\TestCentric.Metadata.csproj", "{DE3BDBAD-F893-4E17-9B24-FF12FA191A7A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{96693C7E-4547-491A-BF05-865897ACF46C}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
Expand All @@ -22,28 +20,31 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuget", "nuget", "{A6EB94CC
nuget\TestCentric.Metadata.nuspec = nuget\TestCentric.Metadata.nuspec
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Metadata.Tests", "src\testcentric.engine.metadata.tests\TestCentric.Metadata.Tests.csproj", "{89449F96-70D5-46CF-80F0-2577DB0BAEC2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Metadata", "src\TestCentric.Metadata\TestCentric.Metadata.csproj", "{DF453857-44BB-44CF-BEC5-47F8C83335E5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCentric.Metadata.Tests", "src\TestCentric.Metadata.tests\TestCentric.Metadata.Tests.csproj", "{5D6A67A0-B74C-48F1-8FCC-E85BF727F0B3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DE3BDBAD-F893-4E17-9B24-FF12FA191A7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DE3BDBAD-F893-4E17-9B24-FF12FA191A7A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DE3BDBAD-F893-4E17-9B24-FF12FA191A7A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DE3BDBAD-F893-4E17-9B24-FF12FA191A7A}.Release|Any CPU.Build.0 = Release|Any CPU
{89449F96-70D5-46CF-80F0-2577DB0BAEC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89449F96-70D5-46CF-80F0-2577DB0BAEC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89449F96-70D5-46CF-80F0-2577DB0BAEC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{89449F96-70D5-46CF-80F0-2577DB0BAEC2}.Release|Any CPU.Build.0 = Release|Any CPU
{DF453857-44BB-44CF-BEC5-47F8C83335E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF453857-44BB-44CF-BEC5-47F8C83335E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF453857-44BB-44CF-BEC5-47F8C83335E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF453857-44BB-44CF-BEC5-47F8C83335E5}.Release|Any CPU.Build.0 = Release|Any CPU
{5D6A67A0-B74C-48F1-8FCC-E85BF727F0B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5D6A67A0-B74C-48F1-8FCC-E85BF727F0B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5D6A67A0-B74C-48F1-8FCC-E85BF727F0B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5D6A67A0-B74C-48F1-8FCC-E85BF727F0B3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A6EB94CC-A287-4D4E-9D5C-FBA337E29008} = {96693C7E-4547-491A-BF05-865897ACF46C}
{DF453857-44BB-44CF-BEC5-47F8C83335E5} = {96693C7E-4547-491A-BF05-865897ACF46C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AEFCDA38-CDDF-4B8F-A199-20E0FB2E007C}
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Expand Up @@ -21,7 +21,7 @@ BuildSettings.Initialize(

BuildSettings.Packages.Add(new NuGetPackage(
id: "TestCentric.Metadata",
source: "nuget/TestCentric.Metadata.nuspec",
source: "src/TestCentric.Metadata/TestCentric.Metadata.csproj",
checks: new PackageCheck[] {
HasFiles(
"LICENSE", "README.md", "NOTICE.md", "testcentric.png",
Expand Down
36 changes: 0 additions & 36 deletions nuget/TestCentric.Metadata.nuspec

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\testcentric.engine.metadata\TestCentric.Metadata.csproj" />
<ProjectReference Include="..\TestCentric.Metadata\TestCentric.Metadata.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
44 changes: 44 additions & 0 deletions src/TestCentric.Metadata/TestCentric.Metadata.csproj
@@ -0,0 +1,44 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current">

<PropertyGroup>
<RootNamespace>TestCentric.Metadata</RootNamespace>
<TargetFrameworks>net20;net40;netstandard1.6;netstandard2.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>testcentric.snk</AssemblyOriginatorKeyFile>
<OutputPath>..\..\bin\$(Configuration)\</OutputPath>
<DefineConstants>TESTCENTRIC</DefineConstants>
<Title>TestCentric.Metadata</Title>
<Description>Readonly metadata access based on code ported from Mono.Cecil</Description>
<Copyright>Copyright (c) 2021 Charlie Poole</Copyright>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>

<PropertyGroup>
<PackageId>TestCentric.Metadata</PackageId>
<Title>TestCentric Metadata</Title>
<Description>This package provides the TestCentric metadata assembly, which is used by the TestCentric engine. It is provided in a separate package for the benefit of other projects, which may find it useful.</Description>
<Authors>Charlie Poole</Authors>
<Copyright>Copyright 2021-2023 (c) Charlie Poole</Copyright>
<PackageProjectUrl>https://test-centric.org</PackageProjectUrl>
<RepositoryUrl>https://github.com/TestCentric/Testcentric.Metadata</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>testcentric.png</PackageIcon>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageOutputPath>..\..\packaging</PackageOutputPath>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" Link="LICENSE.txt" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" Link="README.md" />
<None Include="..\..\NOTICE.md" Pack="true" PackagePath="\" Link="NOTICE.md" />
<None Include="..\..\testcentric.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>

</Project>
File renamed without changes.
21 changes: 0 additions & 21 deletions src/testcentric.engine.metadata/TestCentric.Metadata.csproj

This file was deleted.

0 comments on commit 1717f84

Please sign in to comment.