Skip to content

Commit

Permalink
Change to reproducible and coherent csproj definition
Browse files Browse the repository at this point in the history
  • Loading branch information
helightdev committed Nov 15, 2023
1 parent b0610f7 commit 07cb9eb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 71 deletions.
92 changes: 27 additions & 65 deletions Neuron.Modules.Reload/Neuron.Modules.Reload.csproj
Original file line number Diff line number Diff line change
@@ -1,73 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B477E117-27E3-47E1-989D-D74B2D09DD76}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
<RootNamespace>Neuron.Modules.Reload</RootNamespace>
<AssemblyName>Neuron.Modules.Reload</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<PackageId>NeuronModding.Modules.Reload</PackageId>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Ninject, Version=3.3.6.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
<HintPath>..\packages\Ninject.3.3.6\lib\net45\Ninject.dll</HintPath>
</Reference>
<Reference Include="SYML, Version=1.0.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SYML.1.0.2\lib\netstandard2.0\SYML.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
<HintPath>..\packages\YamlDotNet.11.2.1\lib\net45\YamlDotNet.dll</HintPath>
</Reference>
</ItemGroup>

<Import Project="../Neuron.props" />

<ItemGroup>
<Compile Include="ReloadableModule.cs" />
<Compile Include="ReloadablePlugin.cs" />
<Compile Include="ReloadModule.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ReloadService.cs" />
<PackageReference Include="Ninject" Version="3.3.6" />
<PackageReference Include="SYML" Version="1.0.2" />
<PackageReference Include="YamlDotNet" Version="11.2.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Neuron.Core\Neuron.Core.csproj">
<Project>{2f17fa64-f5b9-43de-9887-d221b2798ced}</Project>
<Name>Neuron.Core</Name>
</ProjectReference>
<ProjectReference Include="..\Neuron.Modules.Configs\Neuron.Modules.Configs.csproj">
<Project>{1ffb9ab5-bee4-4a9c-bdfa-a38066a769d3}</Project>
<Name>Neuron.Modules.Configs</Name>
</ProjectReference>
<ProjectReference Include="..\Neuron.Core\Neuron.Core.csproj" />
<ProjectReference Include="..\Neuron.Modules.Configs\Neuron.Modules.Configs.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<DebugType>Portable</DebugType>
<DocumentationFile />
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Debug'">

</PropertyGroup>

</Project>
7 changes: 1 addition & 6 deletions Neuron.Modules.Reload/ReloadableModule.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Neuron.Core.Modules;
using Neuron.Core.Modules;
using Neuron.Core;
using Syml;
using Neuron.Modules.Configs.Localization;
Expand Down

0 comments on commit 07cb9eb

Please sign in to comment.