diff --git a/Pure.DI.sln b/Pure.DI.sln index ac5568fa9..c45458c5f 100644 --- a/Pure.DI.sln +++ b/Pure.DI.sln @@ -43,6 +43,9 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pure.DI.Benchmarks", "benchmarks\Pure.DI.Benchmarks\Pure.DI.Benchmarks.csproj", "{14E31F31-7ADE-4E29-942E-DA6964667645}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{FA80D231-C641-4A49-99C6-0C065D818B07}" + ProjectSection(SolutionItems) = preProject + samples\Directory.Build.props = samples\Directory.Build.props + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShroedingersCat", "samples\ShroedingersCat\ShroedingersCat.csproj", "{43931C52-536B-49C7-B146-6C0C450C75B2}" EndProject diff --git a/samples/AvaloniaApp/AvaloniaApp.csproj b/samples/AvaloniaApp/AvaloniaApp.csproj index 53c8fbf5a..6e3400065 100644 --- a/samples/AvaloniaApp/AvaloniaApp.csproj +++ b/samples/AvaloniaApp/AvaloniaApp.csproj @@ -1,7 +1,6 @@  - $(BaseTargetFramework) WinExe true app.manifest diff --git a/samples/AvaloniaSimpleApp/AvaloniaSimpleApp.csproj b/samples/AvaloniaSimpleApp/AvaloniaSimpleApp.csproj index e406a484c..a575e6314 100644 --- a/samples/AvaloniaSimpleApp/AvaloniaSimpleApp.csproj +++ b/samples/AvaloniaSimpleApp/AvaloniaSimpleApp.csproj @@ -1,9 +1,6 @@  WinExe - net9.0 - 11 - enable true app.manifest true diff --git a/samples/BlazorServerApp/BlazorServerApp.csproj b/samples/BlazorServerApp/BlazorServerApp.csproj index 2fe0be8b3..6bbb34bb0 100644 --- a/samples/BlazorServerApp/BlazorServerApp.csproj +++ b/samples/BlazorServerApp/BlazorServerApp.csproj @@ -1,15 +1,11 @@ - - $(BaseTargetFramework) - - + - diff --git a/samples/BlazorWebAssemblyApp/BlazorWebAssemblyApp.csproj b/samples/BlazorWebAssemblyApp/BlazorWebAssemblyApp.csproj index 9651695e7..c5e50a094 100644 --- a/samples/BlazorWebAssemblyApp/BlazorWebAssemblyApp.csproj +++ b/samples/BlazorWebAssemblyApp/BlazorWebAssemblyApp.csproj @@ -1,15 +1,11 @@ - - $(BaseTargetFramework) - - + - diff --git a/samples/Clock.Tests/Clock.Tests.csproj b/samples/Clock.Tests/Clock.Tests.csproj index 525d5106d..43fa94212 100644 --- a/samples/Clock.Tests/Clock.Tests.csproj +++ b/samples/Clock.Tests/Clock.Tests.csproj @@ -1,14 +1,13 @@  - $(BaseTargetFramework) True - + all diff --git a/samples/Clock/Clock.csproj b/samples/Clock/Clock.csproj index bd56f18c1..abccacbbb 100644 --- a/samples/Clock/Clock.csproj +++ b/samples/Clock/Clock.csproj @@ -1,10 +1,5 @@ - - netstandard2.0 - false - - diff --git a/samples/Directory.Build.props b/samples/Directory.Build.props new file mode 100644 index 000000000..c2012bd2e --- /dev/null +++ b/samples/Directory.Build.props @@ -0,0 +1,12 @@ + + + + + + $(BaseTargetFramework) + false + ../../docs/icon.ico + + + + diff --git a/samples/GrpcService/GrpcService.csproj b/samples/GrpcService/GrpcService.csproj index 985873c4a..dae983448 100644 --- a/samples/GrpcService/GrpcService.csproj +++ b/samples/GrpcService/GrpcService.csproj @@ -1,14 +1,10 @@ - - $(BaseTargetFramework) - - - - + + diff --git a/samples/MinimalWebAPI/MinimalWebAPI.csproj b/samples/MinimalWebAPI/MinimalWebAPI.csproj index b4aebfff3..7e2108db3 100644 --- a/samples/MinimalWebAPI/MinimalWebAPI.csproj +++ b/samples/MinimalWebAPI/MinimalWebAPI.csproj @@ -1,16 +1,10 @@ - - $(BaseTargetFramework) - enable - enable - - + - diff --git a/samples/ShroedingersCat/ShroedingersCat.csproj b/samples/ShroedingersCat/ShroedingersCat.csproj index 0f5086f9c..1482201df 100644 --- a/samples/ShroedingersCat/ShroedingersCat.csproj +++ b/samples/ShroedingersCat/ShroedingersCat.csproj @@ -1,7 +1,6 @@  - $(BaseTargetFramework) Exe Sample diff --git a/samples/ShroedingersCatNativeAOT/ShroedingersCatNativeAOT.csproj b/samples/ShroedingersCatNativeAOT/ShroedingersCatNativeAOT.csproj index 2ceedbbd7..cb9cb0966 100644 --- a/samples/ShroedingersCatNativeAOT/ShroedingersCatNativeAOT.csproj +++ b/samples/ShroedingersCatNativeAOT/ShroedingersCatNativeAOT.csproj @@ -1,12 +1,10 @@  - $(BaseTargetFramework) true win-x64 Exe Sample - false diff --git a/samples/ShroedingersCatTopLevelStatements/ShroedingersCatTopLevelStatements.csproj b/samples/ShroedingersCatTopLevelStatements/ShroedingersCatTopLevelStatements.csproj index 0f5086f9c..1482201df 100644 --- a/samples/ShroedingersCatTopLevelStatements/ShroedingersCatTopLevelStatements.csproj +++ b/samples/ShroedingersCatTopLevelStatements/ShroedingersCatTopLevelStatements.csproj @@ -1,7 +1,6 @@  - $(BaseTargetFramework) Exe Sample diff --git a/samples/SingleRootAvaloniaApp/SingleRootAvaloniaApp.csproj b/samples/SingleRootAvaloniaApp/SingleRootAvaloniaApp.csproj index 28ff5d0ac..c42d09bf4 100644 --- a/samples/SingleRootAvaloniaApp/SingleRootAvaloniaApp.csproj +++ b/samples/SingleRootAvaloniaApp/SingleRootAvaloniaApp.csproj @@ -1,7 +1,6 @@  - $(BaseTargetFramework) WinExe true app.manifest diff --git a/samples/WeatherForecast/WeatherForecast.csproj b/samples/WeatherForecast/WeatherForecast.csproj index e587c52c6..9d9769d91 100644 --- a/samples/WeatherForecast/WeatherForecast.csproj +++ b/samples/WeatherForecast/WeatherForecast.csproj @@ -1,9 +1,5 @@ - - - $(BaseTargetFramework) - - + diff --git a/samples/WebAPI/WebAPI.csproj b/samples/WebAPI/WebAPI.csproj index ad3f7c9a8..de8eeb02d 100644 --- a/samples/WebAPI/WebAPI.csproj +++ b/samples/WebAPI/WebAPI.csproj @@ -1,14 +1,10 @@ - - - $(BaseTargetFramework) - + - diff --git a/samples/WebApp/WebApp.csproj b/samples/WebApp/WebApp.csproj index 48073c6af..e2c8ef096 100644 --- a/samples/WebApp/WebApp.csproj +++ b/samples/WebApp/WebApp.csproj @@ -1,14 +1,10 @@ - - $(BaseTargetFramework) - - + - diff --git a/samples/WinFormsAppNetCore/WinFormsAppNetCore.csproj b/samples/WinFormsAppNetCore/WinFormsAppNetCore.csproj index 09fe05d37..1e0297d1a 100644 --- a/samples/WinFormsAppNetCore/WinFormsAppNetCore.csproj +++ b/samples/WinFormsAppNetCore/WinFormsAppNetCore.csproj @@ -4,7 +4,6 @@ $(BaseTargetFramework)-windows WinExe true - ../../docs/icon.ico diff --git a/samples/WpfAppNetCore/WpfAppNetCore.csproj b/samples/WpfAppNetCore/WpfAppNetCore.csproj index 9b5bffe9d..027d18921 100644 --- a/samples/WpfAppNetCore/WpfAppNetCore.csproj +++ b/samples/WpfAppNetCore/WpfAppNetCore.csproj @@ -4,7 +4,6 @@ $(BaseTargetFramework)-windows WinExe true - ../../docs/icon.ico diff --git a/src/Directory.Build.props b/src/Directory.Build.props index b08bcde18..a0f427fca 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,6 +2,7 @@ + netstandard2.0 common\icon.png true ..\..\DevTeam.snk diff --git a/src/Pure.DI.Core/Pure.DI.Core.csproj b/src/Pure.DI.Core/Pure.DI.Core.csproj index 22f0cf0fd..98bbc116f 100644 --- a/src/Pure.DI.Core/Pure.DI.Core.csproj +++ b/src/Pure.DI.Core/Pure.DI.Core.csproj @@ -1,7 +1,6 @@ - netstandard2.0 $(BasePackageId) $(DefineConstants);PUREDI_API_SUPPRESSION;PUREDI_API_V2 diff --git a/src/Pure.DI.MS/Pure.DI.MS.csproj b/src/Pure.DI.MS/Pure.DI.MS.csproj index fa78d2420..de6cd4fec 100644 --- a/src/Pure.DI.MS/Pure.DI.MS.csproj +++ b/src/Pure.DI.MS/Pure.DI.MS.csproj @@ -1,7 +1,6 @@ - netstandard2.0 MS Tools for working with Microsoft DI using $(BasePackageId). $(Description) $(DefineConstants);PUREDI_NET_ANY diff --git a/src/Pure.DI.Templates/Pure.DI.Templates.csproj b/src/Pure.DI.Templates/Pure.DI.Templates.csproj index c66ad5fb5..bd03fe21c 100644 --- a/src/Pure.DI.Templates/Pure.DI.Templates.csproj +++ b/src/Pure.DI.Templates/Pure.DI.Templates.csproj @@ -1,7 +1,6 @@ - netstandard2.0 Template Pure.DI.Templates Pure DI project templates diff --git a/src/Pure.DI/Pure.DI.csproj b/src/Pure.DI/Pure.DI.csproj index d756d0503..ef169ed4f 100644 --- a/src/Pure.DI/Pure.DI.csproj +++ b/src/Pure.DI/Pure.DI.csproj @@ -1,7 +1,6 @@ - netstandard2.0 $(BasePackageId) is not a framework or library, but a source code generator for creating object graphs. To make them accurate, the developer uses a set of intuitive hints from the Pure.DI API. During the compilation phase, Pure.DI determines the optimal graph structure, checks its correctness, and generates partial class code to create object graphs in the Pure DI paradigm using only basic language constructs. The resulting generated code is robust, works everywhere, throws no exceptions, does not depend on .NET library calls or .NET reflections, is efficient in terms of performance and memory consumption, and is subject to all optimizations. This code can be easily integrated into an application because it does not use unnecessary delegates, additional calls to any methods, type conversions, boxing/unboxing, etc. $(BasePackageId) true diff --git a/tests/Pure.DI.IntegrationTests/Pure.DI.IntegrationTests.csproj b/tests/Pure.DI.IntegrationTests/Pure.DI.IntegrationTests.csproj index 8de5a75a9..9e2a211ff 100644 --- a/tests/Pure.DI.IntegrationTests/Pure.DI.IntegrationTests.csproj +++ b/tests/Pure.DI.IntegrationTests/Pure.DI.IntegrationTests.csproj @@ -5,7 +5,7 @@ - + diff --git a/tests/Pure.DI.Tests/Pure.DI.Tests.csproj b/tests/Pure.DI.Tests/Pure.DI.Tests.csproj index 37615d1bd..c12a61e92 100644 --- a/tests/Pure.DI.Tests/Pure.DI.Tests.csproj +++ b/tests/Pure.DI.Tests/Pure.DI.Tests.csproj @@ -3,7 +3,7 @@ - + all diff --git a/tests/Pure.DI.UsageTests/Pure.DI.UsageTests.csproj b/tests/Pure.DI.UsageTests/Pure.DI.UsageTests.csproj index 0daf4d819..119155b73 100644 --- a/tests/Pure.DI.UsageTests/Pure.DI.UsageTests.csproj +++ b/tests/Pure.DI.UsageTests/Pure.DI.UsageTests.csproj @@ -16,6 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + \ No newline at end of file