Skip to content

Commit 9f3024d

Browse files
committed
Migrate to SDK style csproj format
1 parent 22e68ee commit 9f3024d

File tree

25 files changed

+54
-803
lines changed

25 files changed

+54
-803
lines changed

CallbackFunctions/App.config

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 6 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
2+
3+
<Project Sdk="Microsoft.NET.Sdk">
4+
45
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{2E52A39B-3D83-41B4-907E-95BFC35C8C2F}</ProjectGuid>
6+
<TargetFramework>net45</TargetFramework>
87
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>CallbackFunctions</RootNamespace>
11-
<AssemblyName>CallbackFunctions</AssemblyName>
12-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
148
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<PlatformTarget>AnyCPU</PlatformTarget>
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<PlatformTarget>AnyCPU</PlatformTarget>
27-
<DebugType>pdbonly</DebugType>
28-
<Optimize>true</Optimize>
29-
<OutputPath>bin\Release\</OutputPath>
30-
<DefineConstants>TRACE</DefineConstants>
31-
<ErrorReport>prompt</ErrorReport>
32-
<WarningLevel>4</WarningLevel>
33-
</PropertyGroup>
34-
<ItemGroup>
35-
<Reference Include="System" />
36-
<Reference Include="System.Core" />
37-
<Reference Include="System.Numerics" />
38-
<Reference Include="System.Xml.Linq" />
39-
<Reference Include="System.Data.DataSetExtensions" />
40-
<Reference Include="Microsoft.CSharp" />
41-
<Reference Include="System.Data" />
42-
<Reference Include="System.Xml" />
43-
</ItemGroup>
44-
<ItemGroup>
45-
<Compile Include="Program.cs" />
46-
<Compile Include="Properties\AssemblyInfo.cs" />
47-
</ItemGroup>
48-
<ItemGroup>
49-
<None Include="App.config" />
50-
</ItemGroup>
9+
5110
<ItemGroup>
5211
<PackageReference Include="R.NET.Community">
5312
<Version>1.6.5</Version>
5413
</PackageReference>
5514
</ItemGroup>
56-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
57-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
58-
Other similar extension points exist, see Microsoft.Common.targets.
59-
<Target Name="BeforeBuild">
60-
</Target>
61-
<Target Name="AfterBuild">
62-
</Target>
63-
-->
15+
6416
</Project>

CallbackFunctions/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

HelloWorld/App.config

Lines changed: 0 additions & 6 deletions
This file was deleted.

HelloWorld/HelloWorld.csproj

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
2+
3+
<Project Sdk="Microsoft.NET.Sdk">
4+
45
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{08244E5B-EF06-41FC-B81A-D8E0415292F4}</ProjectGuid>
6+
<TargetFramework>net45</TargetFramework>
87
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>HelloWorld</RootNamespace>
11-
<AssemblyName>HelloWorld</AssemblyName>
12-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<ProductVersion>12.0.0</ProductVersion>
15-
<SchemaVersion>2.0</SchemaVersion>
168
</PropertyGroup>
17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18-
<PlatformTarget>AnyCPU</PlatformTarget>
19-
<DebugSymbols>true</DebugSymbols>
20-
<DebugType>full</DebugType>
21-
<Optimize>false</Optimize>
22-
<OutputPath>bin\Debug\</OutputPath>
23-
<DefineConstants>DEBUG;TRACE</DefineConstants>
24-
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
26-
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28-
<PlatformTarget>AnyCPU</PlatformTarget>
29-
<DebugType>pdbonly</DebugType>
30-
<Optimize>true</Optimize>
31-
<OutputPath>bin\Release\</OutputPath>
32-
<DefineConstants>TRACE</DefineConstants>
33-
<ErrorReport>prompt</ErrorReport>
34-
<WarningLevel>4</WarningLevel>
35-
</PropertyGroup>
36-
<ItemGroup>
37-
<Reference Include="System" />
38-
<Reference Include="System.Core" />
39-
<Reference Include="System.Numerics" />
40-
<Reference Include="System.Xml.Linq" />
41-
<Reference Include="System.Data.DataSetExtensions" />
42-
<Reference Include="Microsoft.CSharp" />
43-
<Reference Include="System.Data" />
44-
<Reference Include="System.Xml" />
45-
</ItemGroup>
46-
<ItemGroup>
47-
<Compile Include="Program.cs" />
48-
<Compile Include="Properties\AssemblyInfo.cs" />
49-
</ItemGroup>
50-
<ItemGroup>
51-
<None Include="App.config" />
52-
</ItemGroup>
9+
5310
<ItemGroup>
5411
<PackageReference Include="R.NET.Community">
5512
<Version>1.6.5</Version>
5613
</PackageReference>
5714
</ItemGroup>
58-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
59-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
60-
Other similar extension points exist, see Microsoft.Common.targets.
61-
<Target Name="BeforeBuild">
62-
</Target>
63-
<Target Name="AfterBuild">
64-
</Target>
65-
-->
15+
6616
</Project>

HelloWorld/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

Optimization/Optimization.csproj

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
3+
<Project Sdk="Microsoft.NET.Sdk">
4+
35
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>12.0.0</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{B868339A-56F3-4818-BB7C-D3C53BCFF1C5}</ProjectGuid>
6+
<TargetFramework>net45</TargetFramework>
97
<OutputType>Exe</OutputType>
10-
<RootNamespace>Optimization</RootNamespace>
11-
<AssemblyName>Optimization</AssemblyName>
128
</PropertyGroup>
13-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
14-
<DebugSymbols>true</DebugSymbols>
15-
<Optimize>false</Optimize>
16-
<OutputPath>bin\Debug</OutputPath>
17-
<DefineConstants>DEBUG;</DefineConstants>
18-
<ErrorReport>prompt</ErrorReport>
19-
<WarningLevel>4</WarningLevel>
20-
<ConsolePause>false</ConsolePause>
21-
</PropertyGroup>
22-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
23-
<Optimize>true</Optimize>
24-
<OutputPath>bin\Release</OutputPath>
25-
<ErrorReport>prompt</ErrorReport>
26-
<WarningLevel>4</WarningLevel>
27-
<Externalconsole>true</Externalconsole>
28-
</PropertyGroup>
29-
<ItemGroup>
30-
<Reference Include="System" />
31-
<Reference Include="System.Core" />
32-
<Reference Include="System.Numerics" />
33-
</ItemGroup>
34-
<ItemGroup>
35-
<Compile Include="Program.cs" />
36-
<Compile Include="Properties\AssemblyInfo.cs" />
37-
</ItemGroup>
9+
3810
<ItemGroup>
3911
<PackageReference Include="R.NET.Community">
4012
<Version>1.6.5</Version>
4113
</PackageReference>
4214
</ItemGroup>
43-
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
15+
4416
</Project>

Optimization/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 27 deletions
This file was deleted.

ReportInfo/App.config

Lines changed: 0 additions & 6 deletions
This file was deleted.

ReportInfo/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)