Converted License.vbproj to the SDK-style project format and updated the target framework to .NET 8.0. Replaced assembly references for NLog with a NuGet package reference. Removed legacy configuration options, unnecessary property groups, and the packages.config file. Updated item groups to use the new syntax and streamlined resource and compile includes. Retained the post-build event and project reference to Logging.vbproj. This modernization simplifies project maintenance and enables use of newer .NET features.
74 lines
3.1 KiB
XML
74 lines
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>DigitalData.Modules.License</RootNamespace>
|
|
<AssemblyName>DigitalData.Modules.License</AssemblyName>
|
|
<MyType>Windows</MyType>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<PostBuildEvent>powershell.exe -command "& { &'$(SolutionDir)copy-binary.ps1' '$(TargetPath)' '$(TargetFileName)' '$(ConfigurationName)' '$(ProjectName)' }"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DocumentationFile>DigitalData.Modules.License.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.License.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="NLog" Version="5.0.5" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Update="LicenseSchema.vb">
|
|
<DependentUpon>LicenseSchema.xsd</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>
|
|
<EmbeddedResource Update="My Project\Resources.resx">
|
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Update="LicenseSchema.xsd">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
<None Update="My Project\Application.myapp">
|
|
<Generator>MyApplicationCodeGenerator</Generator>
|
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
|
</None>
|
|
<None Update="My Project\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<CustomToolNamespace>My</CustomToolNamespace>
|
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Logging\Logging.vbproj" />
|
|
</ItemGroup>
|
|
</Project> |