Refactored namespace and project name.
This commit is contained in:
parent
8a5ca53519
commit
2ba458f02b
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@ -10,9 +10,9 @@
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build",
|
||||
// If you have changed target frameworks, make sure to update the program path.
|
||||
"program": "${workspaceFolder}/MCCFMD/bin/Debug/net6.0/MCCFMD.dll",
|
||||
"program": "${workspaceFolder}/CFUtils/bin/Debug/net6.0/CFUtils.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/MCCFMD",
|
||||
"cwd": "${workspaceFolder}/CFUtils",
|
||||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
"cSpell.words": [
|
||||
"MCCFMD"
|
||||
"CFUtils"
|
||||
]
|
||||
}
|
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
@ -7,7 +7,7 @@
|
||||
"type": "process",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/MCCFMD/MCCFMD.csproj",
|
||||
"${workspaceFolder}/CFUtils/CFUtils.csproj",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
@ -19,7 +19,7 @@
|
||||
"type": "process",
|
||||
"args": [
|
||||
"publish",
|
||||
"${workspaceFolder}/MCCFMD/MCCFMD.csproj",
|
||||
"${workspaceFolder}/CFUtils/CFUtils.csproj",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
@ -33,7 +33,7 @@
|
||||
"watch",
|
||||
"run",
|
||||
"--project",
|
||||
"${workspaceFolder}/MCCFMD/MCCFMD.csproj"
|
||||
"${workspaceFolder}/CFUtils/CFUtils.csproj"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
|
@ -4,9 +4,9 @@ using System.IO;
|
||||
using System.CommandLine;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MCCFMD.Commands
|
||||
namespace CFUtils.Commands
|
||||
{
|
||||
public class Install : Command
|
||||
internal class Install : Command
|
||||
{
|
||||
const string NAME = "install";
|
||||
const string DESC = "Install the profile described by the manifest.";
|
@ -2,9 +2,9 @@
|
||||
using System;
|
||||
using System.CommandLine;
|
||||
using System.Threading.Tasks;
|
||||
using MCCFMD.Commands;
|
||||
using CFUtils.Commands;
|
||||
|
||||
namespace MCCFMD
|
||||
namespace CFUtils
|
||||
{
|
||||
internal class Program
|
||||
{
|
@ -4,11 +4,11 @@ using System.Linq;
|
||||
using System;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using MCCFMD.Serialization.Modpack;
|
||||
using CFUtils.Serialization.Modpack;
|
||||
|
||||
namespace MCCFMD.Serialization
|
||||
namespace CFUtils.Serialization
|
||||
{
|
||||
public class ManifestConverter : JsonConverter<Manifest>
|
||||
internal class ManifestConverter : JsonConverter<Manifest>
|
||||
{
|
||||
PropertyInfo[] manifestProperties;
|
||||
Type manifestType;
|
7
CFUtils/Serialization/ManifestGames.cs
Normal file
7
CFUtils/Serialization/ManifestGames.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace CFUtils.Serialization
|
||||
{
|
||||
public enum ManifestGames
|
||||
{
|
||||
Minecraft
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
namespace MCCFMD.Serialization.Modpack
|
||||
namespace CFUtils.Serialization.Modpack
|
||||
{
|
||||
public struct File
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
namespace MCCFMD.Serialization.Modpack
|
||||
namespace CFUtils.Serialization.Modpack
|
||||
{
|
||||
public struct Game
|
||||
{
|
@ -2,7 +2,7 @@ using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace MCCFMD.Serialization.Modpack
|
||||
namespace CFUtils.Serialization.Modpack
|
||||
{
|
||||
public struct Manifest
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace MCCFMD.Serialization.Modpack
|
||||
namespace CFUtils.Serialization.Modpack
|
||||
{
|
||||
public struct ModLoader
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace MCCFMD.Serialization
|
||||
namespace CFUtils.Serialization
|
||||
{
|
||||
internal class ProfileReader
|
||||
{
|
@ -1,4 +0,0 @@
|
||||
public enum ManifestGames
|
||||
{
|
||||
Minecraft
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user