Converted Windows.vbproj from the legacy format to the modern SDK-style project targeting net8.0-windows, enabling Windows Forms and WPF support. Replaced direct assembly references and the packages.config file with PackageReference entries for DigitalData.Modules.Logging, NLog, and NuGet.CommandLine. Cleaned up redundant property groups and imports, and updated item groups to use the new format. Removed packages.config as dependencies are now managed via the project file.
93 lines
3.8 KiB
XML
93 lines
3.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>DigitalData.Modules.Windows</RootNamespace>
|
|
<AssemblyName>DigitalData.Modules.Windows</AssemblyName>
|
|
<MyType>Windows</MyType>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<UseWPF>true</UseWPF>
|
|
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<OptionCompare>Text</OptionCompare>
|
|
<PostBuildEvent>powershell.exe -command "& { &'$(SolutionDir)copy-binary.ps1' '$(TargetPath)' '$(TargetFileName)' '$(ConfigurationName)' '$(ProjectName)' }"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DocumentationFile>DigitalData.Modules.Windows.xml</DocumentationFile>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DefineDebug>false</DefineDebug>
|
|
<DocumentationFile>DigitalData.Modules.Windows.xml</DocumentationFile>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.IO.Compression" />
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.Transactions" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<PackageReference Include="DigitalData.Modules.Logging" Version="2.6.5" />
|
|
<PackageReference Include="NLog" Version="5.0.5" />
|
|
<PackageReference Include="NuGet.CommandLine" Version="6.13.2" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Update="Animator\frmPopup.Designer.vb">
|
|
<DependentUpon>frmPopup.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="My Project\Application.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Application.myapp</DependentUpon>
|
|
<DesignTime>True</DesignTime>
|
|
</Compile>
|
|
<Compile Update="My Project\Resources.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="My Project\Settings.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Update="My Project\Application.myapp">
|
|
<Generator>MyApplicationCodeGenerator</Generator>
|
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Base\Base.vbproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<COMReference Include="Microsoft.Office.Core">
|
|
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
|
|
<VersionMajor>2</VersionMajor>
|
|
<VersionMinor>8</VersionMinor>
|
|
<Lcid>0</Lcid>
|
|
<WrapperTool>primary</WrapperTool>
|
|
<Isolated>False</Isolated>
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</COMReference>
|
|
<COMReference Include="Microsoft.Office.Interop.Outlook">
|
|
<Guid>{00062FFF-0000-0000-C000-000000000046}</Guid>
|
|
<VersionMajor>9</VersionMajor>
|
|
<VersionMinor>6</VersionMinor>
|
|
<Lcid>0</Lcid>
|
|
<WrapperTool>primary</WrapperTool>
|
|
<Isolated>False</Isolated>
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</COMReference>
|
|
<COMReference Include="stdole">
|
|
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
|
|
<VersionMajor>2</VersionMajor>
|
|
<VersionMinor>0</VersionMinor>
|
|
<Lcid>0</Lcid>
|
|
<WrapperTool>primary</WrapperTool>
|
|
<Isolated>False</Isolated>
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</COMReference>
|
|
</ItemGroup>
|
|
</Project> |