Remade project file to fix compatibility with VS2022 + some project QoL adjustments
This commit is contained in:
parent
9801f92d69
commit
d96819d359
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,3 +1,9 @@
|
|||||||
|
# Custom ignores
|
||||||
|
project/References/EFT_Managed/*
|
||||||
|
|
||||||
|
# Allow these files, despite the rules above
|
||||||
|
project/References/EFT_Managed/.keep
|
||||||
|
|
||||||
# ---> VisualStudio
|
# ---> VisualStudio
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
@ -29,6 +29,6 @@ Alternatively, you can find the `com.terkoiz.freecam.cfg` file in your `BepInEx/
|
|||||||
### How to build from source
|
### How to build from source
|
||||||
|
|
||||||
1. Download/clone this repository
|
1. Download/clone this repository
|
||||||
2. Re-import dependencies. I recommend you do this from the SPT-AKI/Modules project's `Shared/Managed` folder, if you have the Modules project fully setup.
|
2. Open your current SPT directory and copy all files from `\EscapeFromTarkov_Data\Managed` into this solution's `\References\EFT_Managed` folder.
|
||||||
3. Rebuild the project in the Release configuration.
|
3. Rebuild the project in the Release configuration.
|
||||||
4. Grab the `Terkoiz.Freecam.dll` file from the `bin/Release` folder and use it wherever. Refer to the "How to install" section if you need help here.
|
4. Grab the `Terkoiz.Freecam.dll` file from the `bin/Release` folder and use it wherever. Refer to the "How to install" section if you need help here.
|
14
project/NuGet.Config
Normal file
14
project/NuGet.Config
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<packageRestore>
|
||||||
|
<add key="enabled" value="True" />
|
||||||
|
<add key="automatic" value="True" />
|
||||||
|
</packageRestore>
|
||||||
|
<activePackageSource>
|
||||||
|
<add key="All" value="(Aggregate source)" />
|
||||||
|
</activePackageSource>
|
||||||
|
<packageSources>
|
||||||
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||||
|
<add key="BepInEx" value="https://nuget.bepinex.dev/v3/index.json" protocolVersion="3" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
BIN
project/References/Hollowed/Assembly-CSharp.dll
Normal file
BIN
project/References/Hollowed/Assembly-CSharp.dll
Normal file
Binary file not shown.
@ -1,6 +1,9 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Terkoiz.Freecam", "Terkoiz.Freecam\Terkoiz.Freecam.csproj", "{BC26F21D-2987-4504-BBE6-0867001DFEB3}"
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.2.32616.157
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Terkoiz.Freecam", "Terkoiz.Freecam\Terkoiz.Freecam.csproj", "{9C38A2B1-5F09-49FE-AC57-9FBEF7717582}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -8,9 +11,15 @@ Global
|
|||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{BC26F21D-2987-4504-BBE6-0867001DFEB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{9C38A2B1-5F09-49FE-AC57-9FBEF7717582}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{BC26F21D-2987-4504-BBE6-0867001DFEB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{9C38A2B1-5F09-49FE-AC57-9FBEF7717582}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{BC26F21D-2987-4504-BBE6-0867001DFEB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{9C38A2B1-5F09-49FE-AC57-9FBEF7717582}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{BC26F21D-2987-4504-BBE6-0867001DFEB3}.Release|Any CPU.Build.0 = Release|Any CPU
|
{9C38A2B1-5F09-49FE-AC57-9FBEF7717582}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {26F91A8D-3767-457A-821C-F66AFD620885}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
|
||||||
// set of attributes. Change these attribute values to modify the information
|
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("Terkoiz.Freecam")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("Terkoiz.Freecam")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
||||||
[assembly: Guid("be2de623-48ff-4807-9696-167a17787718")]
|
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -1,44 +1,48 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<EnableDefaultCompileItems>False</EnableDefaultCompileItems>
|
<Version>1.3.0</Version>
|
||||||
</PropertyGroup>
|
<Authors>Terkoiz, Kobrakon, CWX</Authors>
|
||||||
|
<RepositoryUrl>https://dev.sp-tarkov.com/Terkoiz/Freecam</RepositoryUrl>
|
||||||
|
<PackageLicenseExpression>NCSA</PackageLicenseExpression>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="0Harmony">
|
<PackageReference Include="BepInEx.Core" Version="5.4.21">
|
||||||
<HintPath>..\Shared\0Harmony.dll</HintPath>
|
<ExcludeAssets>runtime</ExcludeAssets>
|
||||||
</Reference>
|
</PackageReference>
|
||||||
<Reference Include="Aki.Reflection">
|
</ItemGroup>
|
||||||
<HintPath>..\Shared\Aki.Reflection.dll</HintPath>
|
|
||||||
</Reference>
|
<ItemGroup>
|
||||||
<Reference Include="Assembly-CSharp">
|
<Reference Include="Aki.Reflection">
|
||||||
<HintPath>..\Shared\Assembly-CSharp.dll</HintPath>
|
<HintPath>..\References\EFT_Managed\Aki.Reflection.dll</HintPath>
|
||||||
</Reference>
|
<Private>False</Private>
|
||||||
<Reference Include="BepInEx">
|
</Reference>
|
||||||
<HintPath>..\Shared\BepInEx.dll</HintPath>
|
<Reference Include="Assembly-CSharp">
|
||||||
</Reference>
|
<HintPath>..\References\Hollowed\Assembly-CSharp.dll</HintPath>
|
||||||
<Reference Include="Comfort">
|
<Private>False</Private>
|
||||||
<HintPath>..\Shared\Comfort.dll</HintPath>
|
</Reference>
|
||||||
</Reference>
|
<Reference Include="Comfort">
|
||||||
<Reference Include="ConfigurationManager">
|
<HintPath>..\References\EFT_Managed\Comfort.dll</HintPath>
|
||||||
<HintPath>..\Shared\ConfigurationManager.dll</HintPath>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="ItemComponent.Types">
|
<Reference Include="Comfort.Unity">
|
||||||
<HintPath>..\Shared\ItemComponent.Types.dll</HintPath>
|
<HintPath>..\References\EFT_Managed\Comfort.Unity.dll</HintPath>
|
||||||
</Reference>
|
<Private>False</Private>
|
||||||
<Reference Include="UnityEngine">
|
</Reference>
|
||||||
<HintPath>..\Shared\UnityEngine.dll</HintPath>
|
<Reference Include="UnityEngine">
|
||||||
</Reference>
|
<HintPath>..\References\EFT_Managed\UnityEngine.dll</HintPath>
|
||||||
<Reference Include="UnityEngine.CoreModule">
|
<Private>False</Private>
|
||||||
<HintPath>..\Shared\UnityEngine.CoreModule.dll</HintPath>
|
</Reference>
|
||||||
</Reference>
|
<Reference Include="UnityEngine.CoreModule">
|
||||||
<Reference Include="UnityEngine.InputLegacyModule">
|
<HintPath>..\References\EFT_Managed\UnityEngine.CoreModule.dll</HintPath>
|
||||||
<HintPath>..\Shared\UnityEngine.InputLegacyModule.dll</HintPath>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.UIModule">
|
<Reference Include="UnityEngine.InputLegacyModule">
|
||||||
<HintPath>..\Shared\UnityEngine.UIModule.dll</HintPath>
|
<HintPath>..\References\EFT_Managed\UnityEngine.InputLegacyModule.dll</HintPath>
|
||||||
</Reference>
|
<Private>False</Private>
|
||||||
</ItemGroup>
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Reference in New Issue
Block a user