Skip to content

Commit

Permalink
nuget metapackage
Browse files Browse the repository at this point in the history
  • Loading branch information
dombrovsky committed Jun 15, 2024
1 parent 3703638 commit 2250f44
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>1.0.0-rc0</Version>
<Version>1.0.0-rc1</Version>
<Authors>Volodymyr Dombrovskyi</Authors>
<Copyright>Copyright (c) 2024 Volodymyr Dombrovskyi</Copyright>
<RepositoryUrl>https://github.com/dombrovsky/StrongTypeIdGenerator.git</RepositoryUrl>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
<RootNamespace>StrongTypeIdGenerator</RootNamespace>
<PackageId>StrongTypeIdGenerator</PackageId>
<IsPackable>true</IsPackable>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoWarn>NU5128</NoWarn>
</PropertyGroup>

<ItemGroup>
<None Include="..\LICENSE" Pack="true" PackagePath="\" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\StrongTypeIdGenerator.Abstractions\StrongTypeIdGenerator.Abstractions.csproj" />
<ProjectReference Include="..\StrongTypeIdGenerator\StrongTypeIdGenerator.csproj" PrivateAssets="none" />
</ItemGroup>

</Project>
8 changes: 7 additions & 1 deletion StrongTypeIdGenerator.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StrongTypeIdGenerator.Tests
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StrongTypeIdGenerator.Abstractions", "StrongTypeIdGenerator.Abstractions\StrongTypeIdGenerator.Abstractions.csproj", "{D6F45F02-A86A-4336-8CA1-273C0163CA55}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StrongTypeIdGenerator.Json", "StrongTypeIdGenerator.Json\StrongTypeIdGenerator.Json.csproj", "{C05022B2-BE8F-45E1-8783-D738E1995E1D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StrongTypeIdGenerator.Json", "StrongTypeIdGenerator.Json\StrongTypeIdGenerator.Json.csproj", "{C05022B2-BE8F-45E1-8783-D738E1995E1D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StrongTypeIdGenerator.MetaPackage", "StrongTypeIdGenerator.MetaPackage\StrongTypeIdGenerator.MetaPackage.csproj", "{371E81D4-0FB7-4479-A381-C58F3ACD9C91}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -41,6 +43,10 @@ Global
{C05022B2-BE8F-45E1-8783-D738E1995E1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C05022B2-BE8F-45E1-8783-D738E1995E1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C05022B2-BE8F-45E1-8783-D738E1995E1D}.Release|Any CPU.Build.0 = Release|Any CPU
{371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Debug|Any CPU.Build.0 = Debug|Any CPU
{371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Release|Any CPU.ActiveCfg = Release|Any CPU
{371E81D4-0FB7-4479-A381-C58F3ACD9C91}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
3 changes: 1 addition & 2 deletions StrongTypeIdGenerator/StrongTypeIdGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
<IsRoslynComponent>true</IsRoslynComponent>
<IsPackable>true</IsPackable>
<PackageId>StrongTypeIdGenerator.SourceGenerator</PackageId>
</PropertyGroup>

<ItemGroup>
Expand All @@ -17,12 +18,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.4.0" PrivateAssets="all" />
<PackageReference Include="Polyfill" Version="1.29.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<ProjectReference Include="..\StrongTypeIdGenerator.Abstractions\StrongTypeIdGenerator.Abstractions.csproj" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 2250f44

Please sign in to comment.