Skip to content

Commit 9ad004d

Browse files
committed
upgrade PubSubUsingUnity
1 parent 1cbeeb2 commit 9ad004d

1 file changed

Lines changed: 13 additions & 60 deletions

File tree

Lines changed: 13 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,14 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>8.0.30703</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{9D506199-4F64-4446-85B7-88A7A598F322}</ProjectGuid>
3+
<TargetFramework>net7.0</TargetFramework>
94
<OutputType>Exe</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>PubSubUsingUnity</RootNamespace>
12-
<AssemblyName>PubSubUsingUnity</AssemblyName>
13-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
14-
<TargetFrameworkProfile>
15-
</TargetFrameworkProfile>
16-
<FileAlignment>512</FileAlignment>
17-
</PropertyGroup>
18-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19-
<DebugSymbols>true</DebugSymbols>
20-
<DebugType>full</DebugType>
21-
<Optimize>false</Optimize>
22-
<OutputPath>bin\Debug\</OutputPath>
23-
<DefineConstants>DEBUG;TRACE</DefineConstants>
24-
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
26-
<Prefer32Bit>false</Prefer32Bit>
27-
</PropertyGroup>
28-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29-
<DebugType>pdbonly</DebugType>
30-
<Optimize>true</Optimize>
31-
<OutputPath>bin\Release\</OutputPath>
32-
<DefineConstants>TRACE</DefineConstants>
33-
<ErrorReport>prompt</ErrorReport>
34-
<WarningLevel>4</WarningLevel>
35-
<Prefer32Bit>false</Prefer32Bit>
5+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
366
</PropertyGroup>
377
<PropertyGroup>
388
<StartupObject>PubSubUsingConfiguration.Program</StartupObject>
399
</PropertyGroup>
4010
<ItemGroup>
41-
<Reference Include="System" />
42-
<Reference Include="System.Core" />
43-
<Reference Include="System.Runtime.Serialization" />
44-
<Reference Include="System.ServiceModel" />
4511
<Reference Include="System.Transactions" />
46-
<Reference Include="System.Xml.Linq" />
47-
<Reference Include="System.Data.DataSetExtensions" />
48-
<Reference Include="Microsoft.CSharp" />
49-
<Reference Include="System.Data" />
50-
<Reference Include="System.Xml" />
5112
</ItemGroup>
5213
<ItemGroup>
5314
<Compile Include="..\..\CommonAssemblyInfo.cs">
@@ -68,25 +29,18 @@
6829
<Compile Include="..\PubSubUsingConfiguration\TestMessageSubscriber.cs">
6930
<Link>TestMessageSubscriber.cs</Link>
7031
</Compile>
71-
<Compile Include="Bootstrapper.cs" />
72-
<Compile Include="Properties\AssemblyInfo.cs" />
7332
</ItemGroup>
7433
<ItemGroup>
7534
<None Include="..\PubSubUsingConfiguration\app.config">
7635
<Link>app.config</Link>
7736
</None>
7837
</ItemGroup>
7938
<ItemGroup>
80-
<ProjectReference Include="..\..\ProjectExtensions.Azure.ServiceBus.Unity\ProjectExtensions.Azure.ServiceBus.Unity.csproj">
81-
<Project>{B505DEAA-0CCA-4E26-9CA6-AB2820C85FC7}</Project>
82-
<Name>ProjectExtensions.Azure.ServiceBus.Unity</Name>
83-
</ProjectReference>
84-
<ProjectReference Include="..\..\ProjectExtensions.Azure.ServiceBus\ProjectExtensions.Azure.ServiceBus.csproj">
85-
<Project>{8C8A8531-95AE-41CD-B2AC-6651F104245E}</Project>
86-
<Name>ProjectExtensions.Azure.ServiceBus</Name>
87-
</ProjectReference>
39+
<ProjectReference Include="..\..\ProjectExtensions.Azure.ServiceBus.Unity\ProjectExtensions.Azure.ServiceBus.Unity.csproj" />
40+
<ProjectReference Include="..\..\ProjectExtensions.Azure.ServiceBus\ProjectExtensions.Azure.ServiceBus.csproj" />
8841
</ItemGroup>
8942
<ItemGroup>
43+
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
9044
<PackageReference Include="Microsoft.WindowsAzure.ConfigurationManager">
9145
<Version>3.2.3</Version>
9246
</PackageReference>
@@ -96,19 +50,18 @@
9650
<PackageReference Include="NLog">
9751
<Version>5.1.3</Version>
9852
</PackageReference>
53+
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
9954
<PackageReference Include="Unity">
10055
<Version>5.11.10</Version>
10156
</PackageReference>
10257
<PackageReference Include="WindowsAzure.ServiceBus">
10358
<Version>6.2.2</Version>
10459
</PackageReference>
60+
<PackageReference Include="System.ServiceModel.Duplex" Version="4.8.1" />
61+
<PackageReference Include="System.ServiceModel.NetTcp" Version="4.8.1" />
62+
<PackageReference Include="System.ServiceModel.Federation" Version="4.8.1" />
63+
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.421302">
64+
<PrivateAssets>all</PrivateAssets>
65+
</PackageReference>
10566
</ItemGroup>
106-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
107-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
108-
Other similar extension points exist, see Microsoft.Common.targets.
109-
<Target Name="BeforeBuild">
110-
</Target>
111-
<Target Name="AfterBuild">
112-
</Target>
113-
-->
11467
</Project>

0 commit comments

Comments
 (0)