File tree Expand file tree Collapse file tree 6 files changed +6
-15
lines changed
src/EntityFrameworkCore.Generator/Properties
test/EntityFrameworkCore.Generator.Core.Tests Expand file tree Collapse file tree 6 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 55 fileScopedNamespace : true
66database :
77 provider : SqlServer
8- connectionString : Data Source=(local)\sql2022 ;Initial Catalog=Tracker;Integrated Security=True;TrustServerCertificate=True
8+ connectionString : Data Source=(local);Initial Catalog=Tracker;Integrated Security=True;TrustServerCertificate=True
99 exclude :
1010 - exact : ' dbo.SchemaVersions'
1111data :
Original file line number Diff line number Diff line change 2121
2222 <ItemGroup >
2323 <None Update =" appsettings.json" >
24- <CopyToOutputDirectory >PreserveNewest </CopyToOutputDirectory >
24+ <CopyToOutputDirectory >Always </CopyToOutputDirectory >
2525 </None >
2626 </ItemGroup >
2727
Original file line number Diff line number Diff line change 11{
22 "ConnectionStrings" : {
3- "Tracker" : " Data Source=(local)\\ SQL2022 ;Initial Catalog=Tracker;Integrated Security=True;TrustServerCertificate=True"
3+ "Tracker" : " Data Source=(local);Initial Catalog=Tracker;Integrated Security=True;TrustServerCertificate=True"
44 }
55}
Original file line number Diff line number Diff line change 22 "profiles" : {
33 "EntityFrameworkCore.Generator" : {
44 "commandName" : " Project" ,
5- "commandLineArgs" : " gen " ,
6- "workingDirectory" : " C: \\ Users \\ PaulWelter \\ source \\ repos \\ Matrix \\ Matrix .Core"
5+ "commandLineArgs" : " generate " ,
6+ "workingDirectory" : " .. \\ .. \\ sample \\ Tracker \\ Tracker .Core"
77 }
88 }
99}
Original file line number Diff line number Diff line change 2626 <PackageReference Include =" FluentAssertions" Version =" 6.11.0" />
2727 <PackageReference Include =" Microsoft.Extensions.Configuration.EnvironmentVariables" Version =" 7.0.0" />
2828 <PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 7.0.0" />
29- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6.0 " />
29+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6.2 " />
3030 <PackageReference Include =" xunit" Version =" 2.4.2" />
3131 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5" >
3232 <PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change @@ -67,13 +67,4 @@ public void Load()
6767 options . Should ( ) . NotBeNull ( ) ;
6868 }
6969
70- public string ReadResource ( string resourcePath )
71- {
72- var assembly = Assembly . GetExecutingAssembly ( ) ;
73-
74- using var stream = assembly . GetManifestResourceStream ( resourcePath ) ;
75- using var reader = new StreamReader ( stream ) ;
76-
77- return reader . ReadToEnd ( ) ;
78- }
7970}
You can’t perform that action at this time.
0 commit comments