Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start working on v9 #108

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
dotnet-version: |
6.0.x
8.0.x
9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<ContentTargetFolders>content</ContentTargetFolders>
<PackageLicenseExpression>Unlicense</PackageLicenseExpression>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>8.0.0</Version>
<Version>8.0.0-alpha</Version>
<Copyright>© 2024 Brice Lambson, et al. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/efcore/EFCore.VisualBasic</PackageProjectUrl>
<RepositoryUrl>https://github.com/efcore/EFCore.VisualBasic.git</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ Namespace Design.Internal
For Each methodCall In frag.MethodCalls
builder.
Append(frag.Parameter).
AppendLine(Fragment(methodCall, indent))
AppendLine(Fragment(methodCall, indent + 1))
Next
End Using

Expand Down
14 changes: 7 additions & 7 deletions EFCore.VisualBasic/EFCore.VisualBasic.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>8.0.0</Version>
<Version>9.0.0-alpha</Version>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<OptionStrict>On</OptionStrict>
<LangVersion>latest</LangVersion>
Expand Down Expand Up @@ -47,18 +47,18 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="4.5.0" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="4.5.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="8.0.2">
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="4.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="4.8.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="9.0.0-rc.2.24456.1">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="[8.0.2,9.0)">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0-rc.2.24456.1">
<IncludeAssets>all</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="8.0.2">
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="9.0.0-rc.2.24456.1">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2">
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0-rc.2.24456.1">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ Namespace Migrations.Design
VBCode = NotNull(vbHelper, NameOf(vbHelper))

VisualBasicMigrationOperationGenerator = New VisualBasicMigrationOperationGenerator(vbHelper)
#Disable Warning BC40008 ' Type or member is obsolete
VisualBasicSnapshotGenerator = New VisualBasicSnapshotGenerator(dependencies.AnnotationCodeGenerator,
dependencies.RelationalTypeMappingSource,
vbHelper)
#Enable Warning BC40008 ' Type or member is obsolete
End Sub

''' <summary>
Expand Down Expand Up @@ -188,8 +190,8 @@ Namespace Migrations.Design
Dim namespaces = New List(Of String) From {
"Microsoft.EntityFrameworkCore",
"Microsoft.EntityFrameworkCore.Infrastructure",
"Microsoft.EntityFrameworkCore.Metadata",
"Microsoft.EntityFrameworkCore.Migrations",
"Microsoft.EntityFrameworkCore.Storage.ValueConversion",
"Microsoft.VisualBasic"
}

Expand Down Expand Up @@ -270,8 +272,7 @@ Namespace Migrations.Design
Dim namespaces = New List(Of String) From {
"Microsoft.EntityFrameworkCore",
"Microsoft.EntityFrameworkCore.Infrastructure",
"Microsoft.EntityFrameworkCore.Metadata",
"Microsoft.EntityFrameworkCore.Migrations",
"Microsoft.EntityFrameworkCore.Storage.ValueConversion",
"Microsoft.VisualBasic"
}

Expand Down
Loading
Loading