mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
Add net6 support for novetus.tools
This commit is contained in:
parent
a221a9f475
commit
210117fb2f
@ -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
if not exist "%25path%25" mkdir "%25path%25"
SET path2=%25path%25\net6
if not exist "%25path2%25" mkdir "%25path2%25
SET path3=%25path2%25\ClientScriptTester
if not exist "%25path3%25" mkdir "%25path3%25"
copy $(ProjectDir)$(OutDir) "%25path3%25"\*
del "%25path%25"\$(TargetName).vshost.exe
del "%25path%25"\$(TargetName).vshost.exe.config
del "%25path%25"\$(TargetName).vshost.exe.manifest
del "%25path%25"\$(TargetName).xml" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
@ -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
if not exist "%25path%25" mkdir "%25path%25"
SET path2=%25path%25\net6
if not exist "%25path2%25" mkdir "%25path2%25
copy $(ProjectDir)$(OutDir) "%25path2%25"\*
del "%25path%25"\$(TargetName).vshost.exe
del "%25path%25"\$(TargetName).vshost.exe.config
del "%25path%25"\$(TargetName).vshost.exe.manifest
del "%25path%25"\$(TargetName).xml" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
31
Novetus/Novetus.Tools.Net6.sln
Normal file
31
Novetus/Novetus.Tools.Net6.sln
Normal 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
|
Loading…
Reference in New Issue
Block a user