Skip to content

Commit 5a40414

Browse files
authored
Merge pull request #8 from Dormanil/master
Upgrade to SDK-style .csproj file
2 parents cae439d + d70fcaa commit 5a40414

File tree

3 files changed

+15
-83
lines changed

3 files changed

+15
-83
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.vs/
22
obj/
33
bin/
4-
*.user
4+
*.user
5+
backup*/

Penumbra/Penumbra.csproj

Lines changed: 13 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,22 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{13C812E9-0D42-4B95-8646-40EEBF30636F}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>Penumbra</RootNamespace>
11-
<AssemblyName>Penumbra</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<Deterministic>true</Deterministic>
15-
<LangVersion>8</LangVersion>
3+
<TargetFramework>net472</TargetFramework>
4+
<LangVersion>latest</LangVersion>
5+
<AssemblyTitle>Penumbra</AssemblyTitle>
6+
<Company>absolute gangstas</Company>
7+
<Product>Penumbra</Product>
8+
<Copyright>Copyright © 2020</Copyright>
9+
<FileVersion>1.0.0.0</FileVersion>
10+
<AssemblyVersion>1.0.0.0</AssemblyVersion>
11+
<OutputPath>bin\$(Configuration)\</OutputPath>
12+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1613
</PropertyGroup>
1714
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18-
<DebugSymbols>true</DebugSymbols>
1915
<DebugType>full</DebugType>
20-
<Optimize>false</Optimize>
21-
<OutputPath>bin\Debug\</OutputPath>
2216
<DefineConstants>DEBUG;TRACE</DefineConstants>
23-
<ErrorReport>prompt</ErrorReport>
24-
<WarningLevel>4</WarningLevel>
25-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2617
</PropertyGroup>
2718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2819
<DebugType>pdbonly</DebugType>
29-
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE</DefineConstants>
32-
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
34-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3520
</PropertyGroup>
3621
<ItemGroup>
3722
<Reference Include="Dalamud">
@@ -54,42 +39,13 @@
5439
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\Lumina.dll</HintPath>
5540
<Private>False</Private>
5641
</Reference>
57-
<Reference Include="System" />
58-
<Reference Include="System.Core" />
59-
<Reference Include="System.Drawing" />
60-
<Reference Include="System.Numerics" />
6142
<Reference Include="System.Windows.Forms" />
62-
<Reference Include="System.Xml.Linq" />
6343
<Reference Include="System.Data.DataSetExtensions" />
6444
<Reference Include="Microsoft.CSharp" />
65-
<Reference Include="System.Data" />
6645
<Reference Include="System.Net.Http" />
67-
<Reference Include="System.Xml" />
68-
</ItemGroup>
69-
<ItemGroup>
70-
<Compile Include="Configuration.cs" />
71-
<Compile Include="DialogExtensions.cs" />
72-
<Compile Include="Importer\Models\ExtendedModPack.cs" />
73-
<Compile Include="Importer\Models\SimpleModPack.cs" />
74-
<Compile Include="Importer\TexToolsImport.cs" />
75-
<Compile Include="Extensions\FuckedExtensions.cs" />
76-
<Compile Include="Models\ModMeta.cs" />
77-
<Compile Include="ModManager.cs" />
78-
<Compile Include="Plugin.cs" />
79-
<Compile Include="Properties\AssemblyInfo.cs" />
80-
<Compile Include="Structs\FileMode.cs" />
81-
<Compile Include="Structs\SeFileDescriptor.cs" />
82-
<Compile Include="ResourceMod.cs" />
83-
<Compile Include="ResourceLoader.cs" />
84-
<Compile Include="Structs\ResourceHandle.cs" />
85-
<Compile Include="SettingsInterface.cs" />
86-
<Compile Include="Util\Crc32.cs" />
8746
</ItemGroup>
8847
<ItemGroup>
89-
<PackageReference Include="DotNetZip">
90-
<Version>1.13.8</Version>
91-
</PackageReference>
48+
<PackageReference Include="DotNetZip" Version="1.13.8" />
9249
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
9350
</ItemGroup>
94-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
95-
</Project>
51+
</Project>
Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
11
using System.Reflection;
22
using System.Runtime.InteropServices;
33

4-
// General Information about an assembly is controlled through the following
5-
// set of attributes. Change these attribute values to modify the information
6-
// associated with an assembly.
7-
[assembly: AssemblyTitle("Penumbra")]
8-
[assembly: AssemblyDescription("")]
9-
[assembly: AssemblyConfiguration("")]
10-
[assembly: AssemblyCompany("absolute gangstas")]
11-
[assembly: AssemblyProduct("Penumbra")]
12-
[assembly: AssemblyCopyright("Copyright © 2020")]
13-
[assembly: AssemblyTrademark("")]
14-
[assembly: AssemblyCulture("")]
15-
164
// Setting ComVisible to false makes the types in this assembly not visible
175
// to COM components. If you need to access a type in this assembly from
186
// COM, set the ComVisible attribute to true on that type.
197
[assembly: ComVisible(false)]
208

219
// The following GUID is for the ID of the typelib if this project is exposed to COM
2210
[assembly: Guid("13c812e9-0d42-4b95-8646-40eebf30636f")]
23-
24-
// Version information for an assembly consists of the following four values:
25-
//
26-
// Major Version
27-
// Minor Version
28-
// Build Number
29-
// Revision
30-
//
31-
// You can specify all the values or you can default the Build and Revision Numbers
32-
// by using the '*' as shown below:
33-
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.0.0.0")]
35-
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)