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

Adding implicit namespaces for DI packages #3044

Merged
merged 2 commits into from
Jan 7, 2024
Merged
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 e2e/Maui/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project>
<Import Project="..\..\src\Prism.Core\build\Package.targets" />
<Import Project="..\..\src\Prism.Events\build\Package.targets" />
<Import Project="..\..\src\Maui\Prism.Maui\build\Package.targets" />
</Project>
1 change: 1 addition & 0 deletions e2e/Uno/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<Project ToolsVersion="15.0">
<Import Project="..\..\src\Prism.Core\build\Package.targets" />
<Import Project="..\..\src\Prism.Events\build\Package.targets" />
</Project>
1 change: 0 additions & 1 deletion src/Prism.Core/build/Package.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<Using Include="Prism" />
<Using Include="Prism.Commands" />
<Using Include="Prism.Dialogs" />
<Using Include="Prism.Events" />
<Using Include="Prism.Ioc" />
<Using Include="Prism.Modularity" />
<Using Include="Prism.Mvvm" />
Expand Down
6 changes: 6 additions & 0 deletions src/Prism.Events/build/Package.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project>
<ItemGroup Condition=" '$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable' ">
<Using Include="Prism.Events" />
</ItemGroup>
</Project>
7 changes: 7 additions & 0 deletions src/Wpf/Prism.DryIoc.Wpf/build/Package.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project>
<ItemGroup Condition=" '$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable' ">
<Using Include="DryIoc" />
<Using Include="Prism.DryIoc" />
</ItemGroup>
</Project>
7 changes: 7 additions & 0 deletions src/Wpf/Prism.Unity.Wpf/build/Package.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project>
<ItemGroup Condition=" '$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable' ">
<Using Include="Unity" />
<Using Include="Prism.Unity" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions tests/Maui/Prism.DryIoc.Maui.Tests/Fixtures/TestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Prism.DryIoc.Maui.Tests.Mocks.Logging;
using Prism.DryIoc.Maui.Tests.Mocks.ViewModels;
using Prism.DryIoc.Maui.Tests.Mocks.Views;
using Prism.Events;

namespace Prism.DryIoc.Maui.Tests.Fixtures;

Expand Down
Loading