Skip to content

Commit

Permalink
Get Pack command to work (to create nupkg)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHillberg committed Oct 20, 2020
1 parent b3a4308 commit 9450aa3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 60 deletions.
14 changes: 13 additions & 1 deletion MiddleweightReflection/MiddleweightReflection.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Deterministic>false</Deterministic>
<Version>1.0.0</Version>
<Description>.Net library to read .Net Assembly and Windows WinMD metadata files, based on System.Reflection.Metadata</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!--<GenerateAssemblyInfo>false</GenerateAssemblyInfo>-->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageId>MikeHillberg.MiddleweightReflection</PackageId>
<Authors>Mike Hillberg</Authors>
<RepositoryUrl>https://github.com/MikeHillberg/middleweight-reflection</RepositoryUrl>
<PackageTags>Reflection System.Reflection.Metadata WinMD</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
Expand All @@ -15,4 +24,7 @@
<PackageReference Include="System.Reflection.Metadata" Version="1.8.1" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.1" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
36 changes: 0 additions & 36 deletions MiddleweightReflection/Properties/AssemblyInfo.cs

This file was deleted.

23 changes: 0 additions & 23 deletions MiddleweightReflection/app.config

This file was deleted.

3 changes: 3 additions & 0 deletions Test/UnitTestSampleAssembly/Class1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
using System.Threading.Tasks;
using System.Xml;


#pragma warning disable CS0067,CS0649,CS0414

namespace UnitTestSampleAssembly
{
abstract public class Class1<T1, T2, T3>
Expand Down
4 changes: 4 additions & 0 deletions Test/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -37,6 +38,9 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>
</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
Expand Down

0 comments on commit 9450aa3

Please sign in to comment.