-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
224 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// <copyright file="AssemblyInfo.cs" company="dymanoid"> | ||
// Copyright (c) dymanoid. All rights reserved. | ||
// </copyright> | ||
|
||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
|
||
[assembly: AssemblyTitle("RealTime")] | ||
[assembly: AssemblyDescription("A mod for the Cities:Skylines game")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("dymanoid")] | ||
[assembly: AssemblyProduct("RealTime")] | ||
[assembly: AssemblyCopyright("Copyright © dymanoid 2018")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
[assembly: ComVisible(false)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?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')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{7CD7702C-E7D3-4E61-BF3A-B10F7950DE52}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>RealTime</RootNamespace> | ||
<AssemblyName>RealTime</AssemblyName> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</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> | ||
<DocumentationFile>bin\Debug\RealTime.xml</DocumentationFile> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<CodeAnalysisRuleSet>RealTime.ruleset</CodeAnalysisRuleSet> | ||
</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> | ||
<DocumentationFile>bin\Release\RealTime.xml</DocumentationFile> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<CodeAnalysisRuleSet>RealTime.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Assembly-CSharp"> | ||
<HintPath>..\..\..\..\..\Data\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\Managed\Assembly-CSharp.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="ColossalManaged"> | ||
<HintPath>..\..\..\..\..\Data\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\Managed\ColossalManaged.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="ICities"> | ||
<HintPath>..\..\..\..\..\Data\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\Managed\ICities.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>..\..\..\..\..\Data\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\Managed\UnityEngine.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="packages.config" /> | ||
<AdditionalFiles Include="stylecop.json" /> | ||
<None Include="RealTime.ruleset" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Analyzer Include="packages\StyleCop.Analyzers.1.0.2\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" /> | ||
<Analyzer Include="packages\StyleCop.Analyzers.1.0.2\analyzers\dotnet\cs\StyleCop.Analyzers.dll" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<PropertyGroup> | ||
<PostBuildEvent>mkdir "%25LOCALAPPDATA%25\Colossal Order\Cities_Skylines\Addons\Mods\$(ProjectName)" | ||
del "%25LOCALAPPDATA%25\Colossal Order\Cities_Skylines\Addons\Mods\$(ProjectName)\$(TargetFileName)" | ||
xcopy /y "$(TargetDir)*.dll" "%25LOCALAPPDATA%25\Colossal Order\Cities_Skylines\Addons\Mods\$(ProjectName)"</PostBuildEvent> | ||
</PropertyGroup> | ||
<Import Project="packages\GitVersionTask.3.6.5\build\portable-net+sl+win+wpa+wp\GitVersionTask.targets" Condition="Exists('packages\GitVersionTask.3.6.5\build\portable-net+sl+win+wpa+wp\GitVersionTask.targets')" /> | ||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
<PropertyGroup> | ||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
</PropertyGroup> | ||
<Error Condition="!Exists('packages\GitVersionTask.3.6.5\build\portable-net+sl+win+wpa+wp\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\GitVersionTask.3.6.5\build\portable-net+sl+win+wpa+wp\GitVersionTask.targets'))" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RuleSet Name="Microsoft Managed Recommended Rules" Description="These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. It is recommended to include this rule set in any custom rule set you create for your projects." ToolsVersion="10.0"> | ||
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized"> | ||
<Name Resource="MinimumRecommendedRules_Name" /> | ||
<Description Resource="MinimumRecommendedRules_Description" /> | ||
</Localization> | ||
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed"> | ||
<Rule Id="CA1001" Action="Warning" /> | ||
<Rule Id="CA1009" Action="Warning" /> | ||
<Rule Id="CA1016" Action="Warning" /> | ||
<Rule Id="CA1033" Action="Warning" /> | ||
<Rule Id="CA1049" Action="Warning" /> | ||
<Rule Id="CA1060" Action="Warning" /> | ||
<Rule Id="CA1061" Action="Warning" /> | ||
<Rule Id="CA1063" Action="Warning" /> | ||
<Rule Id="CA1065" Action="Warning" /> | ||
<Rule Id="CA1301" Action="Warning" /> | ||
<Rule Id="CA1400" Action="Warning" /> | ||
<Rule Id="CA1401" Action="Warning" /> | ||
<Rule Id="CA1403" Action="Warning" /> | ||
<Rule Id="CA1404" Action="Warning" /> | ||
<Rule Id="CA1405" Action="Warning" /> | ||
<Rule Id="CA1410" Action="Warning" /> | ||
<Rule Id="CA1415" Action="Warning" /> | ||
<Rule Id="CA1821" Action="Warning" /> | ||
<Rule Id="CA1900" Action="Warning" /> | ||
<Rule Id="CA1901" Action="Warning" /> | ||
<Rule Id="CA2002" Action="Warning" /> | ||
<Rule Id="CA2100" Action="Warning" /> | ||
<Rule Id="CA2101" Action="Warning" /> | ||
<Rule Id="CA2108" Action="Warning" /> | ||
<Rule Id="CA2111" Action="Warning" /> | ||
<Rule Id="CA2112" Action="Warning" /> | ||
<Rule Id="CA2114" Action="Warning" /> | ||
<Rule Id="CA2116" Action="Warning" /> | ||
<Rule Id="CA2117" Action="Warning" /> | ||
<Rule Id="CA2122" Action="Warning" /> | ||
<Rule Id="CA2123" Action="Warning" /> | ||
<Rule Id="CA2124" Action="Warning" /> | ||
<Rule Id="CA2126" Action="Warning" /> | ||
<Rule Id="CA2131" Action="Warning" /> | ||
<Rule Id="CA2132" Action="Warning" /> | ||
<Rule Id="CA2133" Action="Warning" /> | ||
<Rule Id="CA2134" Action="Warning" /> | ||
<Rule Id="CA2137" Action="Warning" /> | ||
<Rule Id="CA2138" Action="Warning" /> | ||
<Rule Id="CA2140" Action="Warning" /> | ||
<Rule Id="CA2141" Action="Warning" /> | ||
<Rule Id="CA2146" Action="Warning" /> | ||
<Rule Id="CA2147" Action="Warning" /> | ||
<Rule Id="CA2149" Action="Warning" /> | ||
<Rule Id="CA2200" Action="Warning" /> | ||
<Rule Id="CA2202" Action="Warning" /> | ||
<Rule Id="CA2207" Action="Warning" /> | ||
<Rule Id="CA2212" Action="Warning" /> | ||
<Rule Id="CA2213" Action="Warning" /> | ||
<Rule Id="CA2214" Action="Warning" /> | ||
<Rule Id="CA2216" Action="Warning" /> | ||
<Rule Id="CA2220" Action="Warning" /> | ||
<Rule Id="CA2229" Action="Warning" /> | ||
<Rule Id="CA2231" Action="Warning" /> | ||
<Rule Id="CA2232" Action="Warning" /> | ||
<Rule Id="CA2235" Action="Warning" /> | ||
<Rule Id="CA2236" Action="Warning" /> | ||
<Rule Id="CA2237" Action="Warning" /> | ||
<Rule Id="CA2238" Action="Warning" /> | ||
<Rule Id="CA2240" Action="Warning" /> | ||
<Rule Id="CA2241" Action="Warning" /> | ||
<Rule Id="CA2242" Action="Warning" /> | ||
</Rules> | ||
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers"> | ||
<Rule Id="SA1101" Action="None" /> | ||
</Rules> | ||
</RuleSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.27130.2036 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RealTime", "RealTime.csproj", "{7CD7702C-E7D3-4E61-BF3A-B10F7950DE52}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{7CD7702C-E7D3-4E61-BF3A-B10F7950DE52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{7CD7702C-E7D3-4E61-BF3A-B10F7950DE52}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{7CD7702C-E7D3-4E61-BF3A-B10F7950DE52}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{7CD7702C-E7D3-4E61-BF3A-B10F7950DE52}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {99EFBE80-0D13-4351-896D-96D0F6D5FEFB} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="GitVersionTask" version="3.6.5" targetFramework="net35" developmentDependency="true" /> | ||
<package id="StyleCop.Analyzers" version="1.0.2" targetFramework="net35" developmentDependency="true" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
// ACTION REQUIRED: This file was automatically added to your project, but it | ||
// will not take effect until additional steps are taken to enable it. See the | ||
// following page for additional information: | ||
// | ||
// https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/EnableConfiguration.md | ||
|
||
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", | ||
"settings": { | ||
"documentationRules": { | ||
"companyName": "dymanoid" | ||
} | ||
} | ||
} |