Skip to content

Commit 985005c

Browse files
committed
fix package error
1 parent 959283b commit 985005c

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

sample/Tracker/Tracker.Scaffold/TrackerContext.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public TrackerContext(DbContextOptions<TrackerContext> options)
3636
public virtual DbSet<UserLogin> UserLogins { get; set; }
3737

3838
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
39-
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
4039
=> optionsBuilder.UseSqlServer("Data Source=(local)\\sql2022;Initial Catalog=Tracker;Integrated Security=True;TrustServerCertificate=True");
4140

4241
protected override void OnModelCreating(ModelBuilder modelBuilder)

src/EntityFrameworkCore.Generator/EntityFrameworkCore.Generator.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<NoWarn>1591,EF1001</NoWarn>
88
</PropertyGroup>
99

10-
<PropertyGroup>
11-
<PackageReadmeFile>readme.md</PackageReadmeFile>
12-
</PropertyGroup>
13-
1410
<ItemGroup>
1511
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.2" />
1612
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
@@ -20,14 +16,6 @@
2016
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2117
</PackageReference>
2218
</ItemGroup>
23-
24-
<ItemGroup>
25-
<None Include=".\..\..\docs\readme.md">
26-
<Pack>True</Pack>
27-
<PackagePath></PackagePath>
28-
<Visible>false</Visible>
29-
</None>
30-
</ItemGroup>
3119

3220
<ItemGroup>
3321
<ProjectReference Include="..\EntityFrameworkCore.Generator.Core\EntityFrameworkCore.Generator.Core.csproj" />

0 commit comments

Comments
 (0)