Skip to content

Commit

Permalink
fix package error
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Jul 29, 2023
1 parent 959283b commit 985005c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion sample/Tracker/Tracker.Scaffold/TrackerContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public TrackerContext(DbContextOptions<TrackerContext> options)
public virtual DbSet<UserLogin> UserLogins { get; set; }

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
#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.
=> optionsBuilder.UseSqlServer("Data Source=(local)\\sql2022;Initial Catalog=Tracker;Integrated Security=True;TrustServerCertificate=True");

protected override void OnModelCreating(ModelBuilder modelBuilder)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
<NoWarn>1591,EF1001</NoWarn>
</PropertyGroup>

<PropertyGroup>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.2" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
Expand All @@ -20,14 +16,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<None Include=".\..\..\docs\readme.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
<Visible>false</Visible>
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\EntityFrameworkCore.Generator.Core\EntityFrameworkCore.Generator.Core.csproj" />
Expand Down

0 comments on commit 985005c

Please sign in to comment.