C
C#12mo ago
NullIntended

✅ issue compiling to exe

Everything is correct to my knowledge.
15 Replies
jcotton42
jcotton4212mo ago
paste the output of dotnet --info
ffmpeg -i me -f null -
seems like you need to install something?
NullIntended
NullIntended12mo ago
jcotton42
jcotton4212mo ago
that's not the whole output and copy/paste it please, reading text from screenshots is annoying
NullIntended
NullIntended12mo ago
Ok
ffmpeg -i me -f null -
are you building explicitly for x86?
NullIntended
NullIntended12mo ago
Microsoft Windows [Version 10.0.19045.3155]
(c) Microsoft Corporation. All rights reserved.

C:\Users\tom\Desktop\filebackup>dotnet --info
.NET SDK:
Version: 7.0.306
Commit: f500069cb7

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.306\

Host:
Version: 7.0.9
Architecture: x64
Commit: 8e9a17b221

.NET SDKs installed:
7.0.306 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

C:\Users\tom\Desktop\filebackup>
Microsoft Windows [Version 10.0.19045.3155]
(c) Microsoft Corporation. All rights reserved.

C:\Users\tom\Desktop\filebackup>dotnet --info
.NET SDK:
Version: 7.0.306
Commit: f500069cb7

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.306\

Host:
Version: 7.0.9
Architecture: x64
Commit: 8e9a17b221

.NET SDKs installed:
7.0.306 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

C:\Users\tom\Desktop\filebackup>
Tbh this is only my second project. It will work on all configurations
jcotton42
jcotton4212mo ago
yeah that looks right does the msbuild.dll path mentioned in the error exist?
NullIntended
NullIntended12mo ago
NullIntended
NullIntended12mo ago
That's why it stumped me Any idea @chaos_solo ?
ffmpeg -i me -f null -
again, it says it has problems with the x86 architecture ah but i see the win-x64 in the cmdline
NullIntended
NullIntended12mo ago
Yeah... I've been looking through google and not finding anything on this :/
reflectronic
reflectronic12mo ago
what does your PATH environment variable look like
NullIntended
NullIntended12mo ago
I found a package that does it for me
Accord
Accord12mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.