Mazranel
Mazranel
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
We don't want Microsoft error messages
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
Y'know, so they don't just have to deal with some random error that might look like gibberish to them
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
I meant as a warning for users.
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
I could add a check before the few gets set up
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
Ah. I'm not sure what else could be causing the limit to be hit though, as there are only about 3 applications running at a time
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
Nvm, just read the above comment
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
That seems to be Kubuntu's default
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
Yeah it's only creating one instance as far as I'm aware
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
I should only be creating one, I'll add a console.writeline in the fs watcher init function
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
Ah. There really aren't thatany subdirectories though, is there a way to work around this?
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
The application runs without any delays or freezing, even with a large amount of files. That's flawed though now that I think about it
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
But doesn't it already run on a separate thread?
28 replies
CC#
Created by Mazranel on 9/12/2024 in #help
FileSystemWatcher causes user limit exceptions on Kubuntu Linux
I read that I could modify this limit, but that's just a workaround instead of a real solution. It also doesn't work well for portable applications.
28 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
Does this server have a way to mark posts as solved?
78 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
I just need to make sure it's actually working
78 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
Awesome, it runs now!
78 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
The target framework for the Box2DX project is netstandard2.0, I dunno if that'll cause issues or not
78 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
Ah
78 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
This is the CSPROJ
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Hexa.NET.ImGui" Version="2.1.1" />
<PackageReference Include="Hexa.NET.ImGuizmo" Version="2.1.1" />
<PackageReference Include="Hexa.NET.ImNodes" Version="2.1.1" />
<PackageReference Include="Hexa.NET.ImPlot" Version="2.1.1" />
<PackageReference Include="Hexa.NET.Raylib" Version="1.0.0" />
<PackageReference Include="ini-parser" Version="2.5.2" />
<PackageReference Include="NativeFileDialogSharp" Version="0.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Raylib-cs" Version="6.1.1" />
<PackageReference Include="Sayers.SDL2.Core" Version="1.0.11" />

<Content Include="Editor\Resources\Materials\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Materials\%(Filename)%(Extension)" />
<Content Include="Editor\Resources\Shaders\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Shaders\%(Filename)%(Extension)" />
<Content Include="Editor\Resources\Skybox\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Skybox\%(Filename)%(Extension)" />
<Content Include="Editor\Resources\Icons\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Icons\%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup>
<None Remove="Shared\Libraries\Box2DX.dll" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Shared\Libraries\Box2DX.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Reference Include="Box2DX">
<HintPath>Shared\Libraries\Box2DX.dll</HintPath>
</Reference>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Hexa.NET.ImGui" Version="2.1.1" />
<PackageReference Include="Hexa.NET.ImGuizmo" Version="2.1.1" />
<PackageReference Include="Hexa.NET.ImNodes" Version="2.1.1" />
<PackageReference Include="Hexa.NET.ImPlot" Version="2.1.1" />
<PackageReference Include="Hexa.NET.Raylib" Version="1.0.0" />
<PackageReference Include="ini-parser" Version="2.5.2" />
<PackageReference Include="NativeFileDialogSharp" Version="0.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Raylib-cs" Version="6.1.1" />
<PackageReference Include="Sayers.SDL2.Core" Version="1.0.11" />

<Content Include="Editor\Resources\Materials\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Materials\%(Filename)%(Extension)" />
<Content Include="Editor\Resources\Shaders\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Shaders\%(Filename)%(Extension)" />
<Content Include="Editor\Resources\Skybox\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Skybox\%(Filename)%(Extension)" />
<Content Include="Editor\Resources\Icons\**\*.*" CopyToOutputDirectory="Always" TargetPath="Resources\Icons\%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup>
<None Remove="Shared\Libraries\Box2DX.dll" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Shared\Libraries\Box2DX.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Reference Include="Box2DX">
<HintPath>Shared\Libraries\Box2DX.dll</HintPath>
</Reference>
</ItemGroup>

</Project>
78 replies
CC#
Created by Mazranel on 9/11/2024 in #help
Application fails to find DLL that is in the same directory
Nope, adding <PlatformTarget>AnyCPU</PlatformTarget> didn't help
78 replies