1- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2- < Project DefaultTargets = " Build " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " ToolsVersion = " 4.0 " >
1+ <Project Sdk = " Microsoft.NET.Sdk " >
2+
33 <PropertyGroup >
4- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6- <ProductVersion >8.0.50727</ProductVersion >
7- <SchemaVersion >2.0</SchemaVersion >
8- <ProjectGuid >{EBB8E9C9-7FF2-49C4-96EF-C5B87E4C2617}</ProjectGuid >
94 <OutputType >Exe</OutputType >
10- <AppDesignerFolder >Properties</AppDesignerFolder >
11- <RootNamespace >ModelGenerator</RootNamespace >
12- <AssemblyName >ModelGenerator</AssemblyName >
13- <FileUpgradeFlags >
14- </FileUpgradeFlags >
15- <OldToolsVersion >3.5</OldToolsVersion >
16- <UpgradeBackupLocation >
17- </UpgradeBackupLocation >
18- <TargetFrameworkVersion >v3.5</TargetFrameworkVersion >
19- <TargetFrameworkProfile />
20- <PublishUrl >publish\</PublishUrl >
21- <Install >true</Install >
22- <InstallFrom >Disk</InstallFrom >
23- <UpdateEnabled >false</UpdateEnabled >
24- <UpdateMode >Foreground</UpdateMode >
25- <UpdateInterval >7</UpdateInterval >
26- <UpdateIntervalUnits >Days</UpdateIntervalUnits >
27- <UpdatePeriodically >false</UpdatePeriodically >
28- <UpdateRequired >false</UpdateRequired >
29- <MapFileExtensions >true</MapFileExtensions >
30- <ApplicationRevision >0</ApplicationRevision >
31- <ApplicationVersion >1.0.0.%2a</ApplicationVersion >
32- <IsWebBootstrapper >false</IsWebBootstrapper >
33- <UseApplicationTrust >false</UseApplicationTrust >
34- <BootstrapperEnabled >true</BootstrapperEnabled >
35- <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\</SolutionDir >
36- <RestorePackages >true</RestorePackages >
37- </PropertyGroup >
38- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
39- <DebugSymbols >true</DebugSymbols >
40- <DebugType >full</DebugType >
41- <Optimize >false</Optimize >
42- <OutputPath >bin\Debug\</OutputPath >
43- <DefineConstants >DEBUG;TRACE</DefineConstants >
44- <ErrorReport >prompt</ErrorReport >
45- <WarningLevel >4</WarningLevel >
46- <CodeAnalysisRuleSet >AllRules.ruleset</CodeAnalysisRuleSet >
47- <PlatformTarget >x86</PlatformTarget >
48- </PropertyGroup >
49- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
50- <DebugType >pdbonly</DebugType >
51- <Optimize >true</Optimize >
52- <OutputPath >bin\Release\</OutputPath >
53- <DefineConstants >TRACE</DefineConstants >
54- <ErrorReport >prompt</ErrorReport >
55- <WarningLevel >4</WarningLevel >
56- <CodeAnalysisRuleSet >AllRules.ruleset</CodeAnalysisRuleSet >
57- </PropertyGroup >
58- <PropertyGroup >
59- <SignAssembly >false</SignAssembly >
60- </PropertyGroup >
61- <PropertyGroup >
5+ <TargetFrameworks >net35;netcoreapp3.1</TargetFrameworks >
626 <AssemblyOriginatorKeyFile >..\NHapi.snk</AssemblyOriginatorKeyFile >
7+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
638 </PropertyGroup >
9+
6410 <ItemGroup >
65- <Reference Include =" Args" >
66- <HintPath >..\packages\Args.1.1.2\lib\Net35\Args.dll</HintPath >
67- </Reference >
68- <Reference Include =" System" />
69- <Reference Include =" System.configuration" />
70- <Reference Include =" System.Data" />
71- <Reference Include =" System.Xml" />
11+ <None Include =" ..\NHapi.snk" Link =" NHapi.snk" />
7212 </ItemGroup >
13+
7314 <ItemGroup >
74- <Compile Include =" ..\SharedAssemblyInfo.cs" >
75- <Link >Properties\SharedAssemblyInfo.cs</Link >
76- </Compile >
77- <Compile Include =" Program.cs" />
78- <Compile Include =" Properties\AssemblyInfo.cs" />
79- <Compile Include =" Properties\Settings.Designer.cs" >
80- <AutoGen >True</AutoGen >
15+ <Compile Include =" ..\SharedAssemblyInfo.cs" Link =" Properties\SharedAssemblyInfo.cs" />
16+ </ItemGroup >
17+
18+ <ItemGroup >
19+ <Compile Update =" Properties\Settings.Designer.cs" >
8120 <DesignTimeSharedInput >True</DesignTimeSharedInput >
21+ <AutoGen >True</AutoGen >
8222 <DependentUpon >Settings.settings</DependentUpon >
8323 </Compile >
84- <Compile Include =" ModelBuilder.cs" />
8524 </ItemGroup >
25+
8626 <ItemGroup >
87- <None Include =" ..\NHapi.snk" >
88- <Link >NHapi.snk</Link >
89- </None >
90- <None Include =" App.config" >
91- <SubType >Designer</SubType >
92- </None >
93- <None Include =" packages.config" />
94- <None Include =" Properties\Settings.settings" >
27+ <None Update =" Properties\Settings.settings" >
9528 <Generator >SettingsSingleFileGenerator</Generator >
9629 <LastGenOutput >Settings.Designer.cs</LastGenOutput >
9730 </None >
9831 </ItemGroup >
32+
9933 <ItemGroup >
100- <ProjectReference Include =" ..\nHapi.Base\NHapi.Base.csproj" >
101- <Project >{5A080123-0597-46C3-AE78-2007EFB0DD68}</Project >
102- <Name >NHapi.Base</Name >
103- </ProjectReference >
34+ <ProjectReference Include =" ..\NHapi.Base\NHapi.Base.csproj" />
10435 </ItemGroup >
105- <ItemGroup >
106- <BootstrapperPackage Include =" Microsoft.Net.Client.3.5" >
107- <Visible >False</Visible >
108- <ProductName >.NET Framework 3.5 SP1 Client Profile</ProductName >
109- <Install >false</Install >
110- </BootstrapperPackage >
111- <BootstrapperPackage Include =" Microsoft.Net.Framework.3.5.SP1" >
112- <Visible >False</Visible >
113- <ProductName >.NET Framework 3.5 SP1</ProductName >
114- <Install >true</Install >
115- </BootstrapperPackage >
116- <BootstrapperPackage Include =" Microsoft.Windows.Installer.3.1" >
117- <Visible >False</Visible >
118- <ProductName >Windows Installer 3.1</ProductName >
119- <Install >true</Install >
120- </BootstrapperPackage >
36+
37+ <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1' " >
38+ <PackageReference Include =" Args" Version =" 1.2.1" />
39+ </ItemGroup >
40+
41+ <ItemGroup Condition =" '$(TargetFramework)' == 'net35' " >
42+ <PackageReference Include =" Args" Version =" 1.1.2" />
43+ <PackageReference Include =" jnm2.ReferenceAssemblies.net35" Version =" 1.0.1" />
44+ </ItemGroup >
45+
46+ <ItemGroup Condition =" '$(TargetFramework)' == 'net35' " >
47+ <Reference Include =" Args" >
48+ <HintPath >..\packages\Args.1.1.2\lib\Net35\Args.dll</HintPath >
49+ </Reference >
50+ <Reference Include =" System" />
51+ <Reference Include =" System.configuration" />
52+ <Reference Include =" System.Data" />
53+ <Reference Include =" System.Xml" />
12154 </ItemGroup >
122- <Import Project =" $(MSBuildBinPath)\Microsoft.CSharp.targets" />
123- <Import Project =" $(SolutionDir)\.nuget\NuGet.targets" Condition =" Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
124- <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
125- <PropertyGroup >
126- <ErrorText >This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText >
127- </PropertyGroup >
128- <Error Condition =" !Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text =" $([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
129- </Target >
130- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
131- Other similar extension points exist, see Microsoft.Common.targets.
132- <Target Name="BeforeBuild">
133- </Target>
134- <Target Name="AfterBuild">
135- </Target>
136- -->
137- </Project >
55+
56+ </Project >
0 commit comments