Skip to content

Commit d443b4c

Browse files
committed
Update .csproj to new SDK style
1 parent 747094b commit d443b4c

File tree

2 files changed

+59
-41
lines changed

2 files changed

+59
-41
lines changed
Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,10 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>8.0.30703</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{741E50D4-8A95-4CF9-87BF-275EF41006EE}</ProjectGuid>
3+
<TargetFramework>net35</TargetFramework>
94
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
115
<RootNamespace>clojure</RootNamespace>
12-
<AssemblyName>clojure.tools.namespace</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
<TargetFrameworkProfile />
6+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
167
</PropertyGroup>
17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18-
<DebugSymbols>true</DebugSymbols>
19-
<DebugType>full</DebugType>
20-
<Optimize>false</Optimize>
21-
<OutputPath>bin\Debug\</OutputPath>
22-
<DefineConstants>DEBUG;TRACE</DefineConstants>
23-
<ErrorReport>prompt</ErrorReport>
24-
<WarningLevel>4</WarningLevel>
25-
</PropertyGroup>
26-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
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-
<Compile Include="Properties\AssemblyInfo.cs" />
36-
</ItemGroup>
37-
<ItemGroup />
388
<ItemGroup>
399
<EmbeddedResource Include="tools\namespace\dependency.clj" />
4010
<EmbeddedResource Include="tools\namespace\dir.clj" />
@@ -45,12 +15,4 @@
4515
<EmbeddedResource Include="tools\namespace\repl.clj" />
4616
<EmbeddedResource Include="tools\namespace\track.clj" />
4717
</ItemGroup>
48-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50-
Other similar extension points exist, see Microsoft.Common.targets.
51-
<Target Name="BeforeBuild">
52-
</Target>
53-
<Target Name="AfterBuild">
54-
</Target>
55-
-->
5618
</Project>
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{741E50D4-8A95-4CF9-87BF-275EF41006EE}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>clojure</RootNamespace>
12+
<AssemblyName>clojure.tools.namespace</AssemblyName>
13+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
<TargetFrameworkProfile />
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
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+
<Compile Include="Properties\AssemblyInfo.cs" />
36+
</ItemGroup>
37+
<ItemGroup />
38+
<ItemGroup>
39+
<EmbeddedResource Include="tools\namespace\dependency.clj" />
40+
<EmbeddedResource Include="tools\namespace\dir.clj" />
41+
<EmbeddedResource Include="tools\namespace\file.clj" />
42+
<EmbeddedResource Include="tools\namespace\find.clj" />
43+
<EmbeddedResource Include="tools\namespace\parse.clj" />
44+
<EmbeddedResource Include="tools\namespace\reload.clj" />
45+
<EmbeddedResource Include="tools\namespace\repl.clj" />
46+
<EmbeddedResource Include="tools\namespace\track.clj" />
47+
</ItemGroup>
48+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
49+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
50+
Other similar extension points exist, see Microsoft.Common.targets.
51+
<Target Name="BeforeBuild">
52+
</Target>
53+
<Target Name="AfterBuild">
54+
</Target>
55+
-->
56+
</Project>

0 commit comments

Comments
 (0)