Add net6 support for novetus.tools

This commit is contained in:
Bitl 2022-10-23 08:24:32 -07:00
parent a221a9f475
commit 210117fb2f
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>$(MSBuildProjectName.Replace(".Net6", "").Replace("Novetus.", ""))</AssemblyName>
<RootNamespace>$(MSBuildProjectName.Replace(".Net6", ""))</RootNamespace>
<ApplicationIcon>NovetusIcon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="NovetusIcon.ico" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="SET path=$(SolutionDir)build&#xD;&#xA;if not exist &quot;%25path%25&quot; mkdir &quot;%25path%25&quot;&#xD;&#xA;SET path2=%25path%25\net6&#xD;&#xA;if not exist &quot;%25path2%25&quot; mkdir &quot;%25path2%25&#xD;&#xA;SET path3=%25path2%25\ClientScriptTester&#xD;&#xA;if not exist &quot;%25path3%25&quot; mkdir &quot;%25path3%25&quot;&#xD;&#xA;copy $(ProjectDir)$(OutDir) &quot;%25path3%25&quot;\*&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).vshost.exe&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).vshost.exe.config&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).vshost.exe.manifest&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).xml" />
</Target>
</Project>

View File

@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ApplicationIcon>NovetusIcon.ico</ApplicationIcon>
<AssemblyName>$(MSBuildProjectName.Replace(".Net6", "").Replace("Novetus.", ""))</AssemblyName>
<RootNamespace>$(MSBuildProjectName.Replace(".Net6", ""))</RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\NovetusCore\Classes\INIFile.cs" Link="INIFile.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="NovetusIcon.ico" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="SET path=$(SolutionDir)build&#xD;&#xA;if not exist &quot;%25path%25&quot; mkdir &quot;%25path%25&quot;&#xD;&#xA;SET path2=%25path%25\net6&#xD;&#xA;if not exist &quot;%25path2%25&quot; mkdir &quot;%25path2%25&#xD;&#xA;copy $(ProjectDir)$(OutDir) &quot;%25path2%25&quot;\*&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).vshost.exe&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).vshost.exe.config&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).vshost.exe.manifest&#xD;&#xA;del &quot;%25path%25&quot;\$(TargetName).xml" />
</Target>
</Project>

View File

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32630.192
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Novetus.ClientScriptTester.Net6", "G:\Projects\GitHub\Novetus\Novetus_src\Novetus\Novetus.ClientScriptTester\Novetus.ClientScriptTester.Net6.csproj", "{ADE30CA3-DBD5-440A-8804-663BC7240A65}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Novetus.ReleasePreparer.Net6", "G:\Projects\GitHub\Novetus\Novetus_src\Novetus\Novetus.ReleasePreparer\Novetus.ReleasePreparer.Net6.csproj", "{392954DC-C92B-4418-BC79-E817C8CDF2F7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{ADE30CA3-DBD5-440A-8804-663BC7240A65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ADE30CA3-DBD5-440A-8804-663BC7240A65}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ADE30CA3-DBD5-440A-8804-663BC7240A65}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ADE30CA3-DBD5-440A-8804-663BC7240A65}.Release|Any CPU.Build.0 = Release|Any CPU
{392954DC-C92B-4418-BC79-E817C8CDF2F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{392954DC-C92B-4418-BC79-E817C8CDF2F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{392954DC-C92B-4418-BC79-E817C8CDF2F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{392954DC-C92B-4418-BC79-E817C8CDF2F7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {66CA6CE5-670E-48AA-A2DA-9347371D4CA0}
EndGlobalSection
EndGlobal