brownie
brownie
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
No description
8 replies
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
C# what the fuck is wrong with you
8 replies
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
wait now its not working
8 replies
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
ive just had it in the background for the past 20 minutes while i waited for a resposne
8 replies
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
its working now
8 replies
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
wait what the fuck
8 replies
CC#
Created by brownie on 3/16/2024 in #help
Method doesnt exist, but i have the correct package
ah ok, any idea why the .Show() method isnt working then?
8 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
thank you so much for your help
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
its 11:30pm gimme a break 😭
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
its working now
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
i think i had a brainfart
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
hold on
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
does Directory.Exists check in the working directory?
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
this is the code for checking if the binaries i need exist
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
c#
// Sets current working directory to the .exe path
// string strExeFilePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
string workingDir = AppContext.BaseDirectory;

// Check if ffmpeg directory exists in working directory
bool ffmpegDirExists = Directory.Exists("ffmpeg");

if (!ffmpegDirExists)
{
Directory.CreateDirectory("ffmpeg");
}

// Check if tmp directory exists
bool tmpDirExists = Directory.Exists("tmp");

if (!tmpDirExists)
{
Directory.CreateDirectory("tmp");
}
c#
// Sets current working directory to the .exe path
// string strExeFilePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
string workingDir = AppContext.BaseDirectory;

// Check if ffmpeg directory exists in working directory
bool ffmpegDirExists = Directory.Exists("ffmpeg");

if (!ffmpegDirExists)
{
Directory.CreateDirectory("ffmpeg");
}

// Check if tmp directory exists
bool tmpDirExists = Directory.Exists("tmp");

if (!tmpDirExists)
{
Directory.CreateDirectory("tmp");
}
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
gimme a second
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
same issue again
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
yeah im trying that now
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
same issue came up again with this
41 replies
CC#
Created by brownie on 2/29/2024 in #help
✅ WPF application doesn't boot when packed to single file
like this?
41 replies