Skip to content

Commit

Permalink
Merge pull request #32 from Krypton-Suite/main-docupdates
Browse files Browse the repository at this point in the history
Main docupdates
  • Loading branch information
Smurf-IV authored Apr 28, 2024
2 parents 4836855 + e0c68d4 commit c231745
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions Documents/Development/Allowing-for-Longer-Path-and-File-Names.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# How to allow longer path/file names

As of V90.##, you will need to allow for longer path/file names, as this is not enabled by default in Windows. Failure to do so will result in the [MSB3553](https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb3553?view=vs-2022) compiler error.

There are two ways that you can do this. They are:-

1. Via [`gpedit`](#option-1---via-gpedit)
2. Via an elevated [PowerShell](#option-2---PowerShell) prompt

## Option 1 - via `gpedit`

**Step 1**

Search for `gpedit.msc` from the start or search menu, then open it.

**Step 2**

Navigate to `Computer Configuration` -> `Administrative Templates` -> `System` -> `Filesystem`.

**Step 3**

Look for a setting called `Enable Win32 Long paths` on the right side.

![](https://github.com/Krypton-Suite/Documentation/blob/main/Assets/Miscellaneous/Allowing%20Longer%20File%20Names/Group%20Policy%20Editor.png?raw=true)

**Step 4**

Double click the `Enable Win32 Long paths` setting, click `Enabled`, then click OK.

![](https://github.com/Krypton-Suite/Documentation/blob/main/Assets/Miscellaneous/Allowing%20Longer%20File%20Names/Enable%20Win32%20Long%20Paths.png?raw=true)

**Step 5**

Close _all_ windows and restart your computer.

_**Note:** It is necessary to do this, so that changes can take effect._


## Option 2 - PowerShell

Open a new _elevated_ PowerShell prompt, then run the command as shown below.

```ps
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" ` -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
```
3 changes: 3 additions & 0 deletions Documents/Development/Contributing-Guidelines.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Contributing Guidelines for Krypton Development

BEFORE CONTRIBUTING please read

0 comments on commit c231745

Please sign in to comment.