Shows an error while building a plugin. I am using the tutorial for creating a plugin and this error shows up.
EXEC : DllExporter error : ilasm.exe not found
Edit:
I'm using Visual Studio 2019
It is currently October 4th, 2023, 5:41 pm
Error with DLLExporter.exe
-
- Posts: 8
- Joined: May 25th, 2020, 9:52 am
-
- Posts: 8
- Joined: May 25th, 2020, 9:52 am
-
- Posts: 8
- Joined: May 25th, 2020, 9:52 am
Re: Error with DLLExporter.exe
It's fixed. IDK what happened it just fixed itself.
My guess though is that I needed 2.0 SDK or framework for .NET. I installed this around the time when I was having the error but when I checked on the cmd it didn't show when I used dotnet --list-sdks on the cmd. So I gave up, but after a few days I checked my SDKs again and it showed up and I can now build the plugin. I must've needed to restart the pc to use the SDK.
My guess though is that I needed 2.0 SDK or framework for .NET. I installed this around the time when I was having the error but when I checked on the cmd it didn't show when I used dotnet --list-sdks on the cmd. So I gave up, but after a few days I checked my SDKs again and it showed up and I can now build the plugin. I must've needed to restart the pc to use the SDK.
-
- Developer
- Posts: 2640
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: Error with DLLExporter.exe
Glad you got it worked out.
I just checked the source, and it does specifically ask for .NET v2.0.
https://github.com/rainmeter/rainmeter/blob/master/Build/DllExporter/Program.cs#L178
At some point, we should upgrade that to at least v3.5 since that comes with Windows 7. Or, when we drop for Windows 7 (yes, it's coming), we could just default it to v4.6 (for Windows 10).
-Brian
I just checked the source, and it does specifically ask for .NET v2.0.
https://github.com/rainmeter/rainmeter/blob/master/Build/DllExporter/Program.cs#L178
At some point, we should upgrade that to at least v3.5 since that comes with Windows 7. Or, when we drop for Windows 7 (yes, it's coming), we could just default it to v4.6 (for Windows 10).
-Brian
-
- Developer
- Posts: 22590
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Error with DLLExporter.exe
I don't think .NET 3.5 is installed by default with Windows 10 anymore, although it does "come with" the installation.Brian wrote: ↑June 24th, 2020, 6:02 pm Glad you got it worked out.
I just checked the source, and it does specifically ask for .NET v2.0.
https://github.com/rainmeter/rainmeter/blob/master/Build/DllExporter/Program.cs#L178
At some point, we should upgrade that to at least v3.5 since that comes with Windows 7. Or, when we drop for Windows 7 (yes, it's coming), we could just default it to v4.6 (for Windows 10).
-Brian
If you search for "Windows Features" from the Start menu, you can use that to add .NET 3.5, which includes 2.0 as a part of it.
But I agree, once we throw Windows 7 under the bus, we should upgrade all the C# stuff to use the latest 4.x version of .NET that comes with Windows 10.
You do not have the required permissions to view the files attached to this post.