Skip to content

Commit

Permalink
Add EF Core 9 .dacpac NuGet package (#2672)
Browse files Browse the repository at this point in the history
* Add EF Core 9 .dacpac NuGet package

* fix build
  • Loading branch information
ErikEJ authored Nov 27, 2024
1 parent 85effa0 commit 59220ca
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/nupkg-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- name: Package Dacpac 8
run: dotnet pack src\Nupkg\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac.csproj

- name: Package Dacpac 9
run: dotnet pack src\Nupkg\ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac\ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac.csproj

- name: Package SqlQuery 6
run: dotnet pack src\Nupkg\ErikEJ.EntityFrameworkCore.6.SqlServer.SqlQuery\ErikEJ.EntityFrameworkCore.6.SqlServer.SqlQuery.csproj

Expand Down
2 changes: 1 addition & 1 deletion src/Core/RevEng.Core.90/RevEng.Core.90.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Nupkg\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac.csproj" />
<ProjectReference Include="..\..\Nupkg\ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac\ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac.csproj" />
<ProjectReference Include="..\RevEng.Core.Abstractions\RevEng.Core.Abstractions.csproj" />
<ProjectReference Include="..\..\GUI\RevEng.Shared\RevEng.Common.csproj" />
</ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/EFCorePowerTools.sln
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "efreveng90", "Core\efreveng
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "efcpt.9", "Core\efcpt.9\efcpt.9.csproj", "{E54F79D2-D056-4B97-8D63-ADBB01A49F9E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac", "Nupkg\ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac\ErikEJ.EntityFrameworkCore.9.SqlServer.Dacpac.csproj", "{3B144F11-5B79-443C-98F8-80B4F12625FD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -132,6 +134,9 @@ Global
{E54F79D2-D056-4B97-8D63-ADBB01A49F9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E54F79D2-D056-4B97-8D63-ADBB01A49F9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E54F79D2-D056-4B97-8D63-ADBB01A49F9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B144F11-5B79-443C-98F8-80B4F12625FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3B144F11-5B79-443C-98F8-80B4F12625FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B144F11-5B79-443C-98F8-80B4F12625FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -153,6 +158,7 @@ Global
{AB4A3E35-AEEA-4C80-8506-08812CE84701} = {F33E4994-452C-4C09-9FB5-C2E17D0884B6}
{F2B3BA67-1A3D-4A1B-BB58-77A3D7C67A58} = {F33E4994-452C-4C09-9FB5-C2E17D0884B6}
{E54F79D2-D056-4B97-8D63-ADBB01A49F9E} = {F33E4994-452C-4C09-9FB5-C2E17D0884B6}
{3B144F11-5B79-443C-98F8-80B4F12625FD} = {8B7992B9-F570-4E74-8AE4-F9436BD7CBEF}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BFF7B9CC-46C9-4547-9FA1-D17E2A89613C}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<PackageId>ErikEJ.EntityFrameworkCore.SqlServer.Dacpac</PackageId>
<PackageVersion>9.0.0</PackageVersion>
<NoWarn>$(NoWarn);EF1001</NoWarn>
<Authors>ErikEJ</Authors>
<Description>Enables reverse engineering an EF Core model from a data-tier application package (DACPAC).</Description>
<PackageProjectUrl>https://github.com/ErikEJ/EFCorePowerTools</PackageProjectUrl>
<PackageReleaseNotes>For EF Core 9.0 with DacFX 162.5</PackageReleaseNotes>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>DbContext;EntityFramework;SqlServer;DACPAC;EFCore;EntityFrameworkCore</PackageTags>
<RootNamespace>ErikEJ.EntityFrameworkCore.SqlServer</RootNamespace>
<MinClientVersion>5.0</MinClientVersion>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<AssemblyName>ErikEJ.EntityFrameworkCore.SqlServer.Dacpac</AssemblyName>
<RepositoryUrl>https://github.com/ErikEJ/EFCorePowerTools</RepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\DacpacConsolidate\CustomData.cs" Link="DacpacConsolidate\CustomData.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\DacpacConsolidate\DacpacConsolidator.cs" Link="DacpacConsolidate\DacpacConsolidator.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\DacpacConsolidate\DacpacMerger.cs" Link="DacpacConsolidate\DacpacMerger.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\DacpacConsolidate\DacpacXml.cs" Link="DacpacConsolidate\DacpacXml.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\DacpacConsolidate\HeaderParser.cs" Link="DacpacConsolidate\HeaderParser.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\DacpacConsolidate\Metadata.cs" Link="DacpacConsolidate\Metadata.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\Design\SqlServerDacpacDesignTimeServices.cs" Link="Design\SqlServerDacpacDesignTimeServices.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\Scaffolding\SqlServerDacpacDatabaseModelFactory.cs" Link="Scaffolding\SqlServerDacpacDatabaseModelFactory.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\Scaffolding\SqlServerDacpacDatabaseModelFactoryOptions.cs" Link="Scaffolding\SqlServerDacpacDatabaseModelFactoryOptions.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\Scaffolding\SqlServerDacpacStoredProcedureModelFactory.cs" Link="Scaffolding\SqlServerDacpacStoredProcedureModelFactory.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\Scaffolding\SqlServerDacpacFunctionModelFactory.cs" Link="Scaffolding\SqlServerDacpacFunctionModelFactory.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\AliasResolutionVisitor.cs" Link="SqlSharpener\AliasResolutionVisitor.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\DataType.cs" Link="SqlSharpener\DataType.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\DataTypeHelper.cs" Link="SqlSharpener\DataTypeHelper.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\Model\Column.cs" Link="SqlSharpener\Model\Column.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\Model\Procedure.cs" Link="SqlSharpener\Model\Procedure.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\Model\Select.cs" Link="SqlSharpener\Model\Select.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\Model\SelectColumn.cs" Link="SqlSharpener\Model\SelectColumn.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\Model\Table.cs" Link="SqlSharpener\Model\Table.cs" />
<Compile Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\SqlSharpener\SelectVisitor.cs" Link="SqlSharpener\SelectVisitor.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.SqlServer.DacFx" Version="162.5.57" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Include="..\ErikEJ.EntityFrameworkCore.8.SqlServer.Dacpac\readme.md" Link="readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\Core\DacFxStrongTypedCore.161\bin\$(Configuration)\netstandard2.1\DacFxStrongTypedCore.161.dll">
<Visible>false</Visible>
<Pack>true</Pack>
<PackagePath>lib\$(TargetFramework)</PackagePath>
</None>
<None Include="..\..\Core\RevEng.Core.Abstractions\bin\$(Configuration)\netstandard2.0\RevEng.Core.Abstractions.dll">
<Visible>false</Visible>
<Pack>true</Pack>
<PackagePath>lib\$(TargetFramework)</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Core\DacFxStrongTypedCore.161\DacFxStrongTypedCore.161.csproj">
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
<ProjectReference Include="..\..\Core\RevEng.Core.Abstractions\RevEng.Core.Abstractions.csproj">
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
</ItemGroup>

</Project>
Binary file not shown.

0 comments on commit 59220ca

Please sign in to comment.