Comments (8)
Ah yeah, .net 2 is rather old now :P It was used mainly for compatibility with Windows XP and 7 which I think came with .net 2.0 already loaded so no fussing around, back when the project started in 2013. I'm just about to release v2.7 now, so I'll have a look at updating for v2.8.
from avrdudess.
That one line seems to have done the trick! I didn't know it could load multiple frameworks depending on what's installed :O Though, there's also a TargetFrameworkVersion / TargetFrameworkVersions option in avrdudess.csproj. I'll have to experiment a bit with a system that only has .net 2.0 installed and see what happens with TargetFrameworkVersion at 4.0 and supportedRuntime as 2.0 and other things. Thanks!
from avrdudess.
Don't get me wrong, avrdudess is awesome, and I believe the only thing preventing it from greater use, is that nobody wan't to install any old .NET version, not already present. (Remember the horrible waiting to install all .NET deps in Win XP?)
Would it be possible to convert the project to use MinGW?
That way (I think) you could drop all .NET stuff!
from avrdudess.
MinGW is for C/C++, right? It would take waaaaayyy too much time and effort to port everything to that, while still maintaining cross-platform compatibility.
from avrdudess.
Yeah, removing .NET may not be possible at this point. But while we investigate, it should be quite straight forward for you to update to use .NET 4.5. Please consult:
- https://docs.microsoft.com/en-us/dotnet/framework/deployment/initialization-errors-managing-the-user-experience
- https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-configure-an-app-to-support-net-framework-4-or-4-5
HEY THIS FIXED IT!! Yaayh!! 🥇 🎉 ❤️
Add a file called: avrdudess.exe.config
with the content:
<configuration>
<startup>
<supportedRuntime version="v4.0"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
from avrdudess.
Funny enough, there's a file called App.config which should have similar content...but only has 2.0.xxxx, and seem to be missing exactly one line...
from avrdudess.
Ok, so the supportedRuntime stuff works great on a .net 2.0 system! However, targeting a newer framework doesn't work too well (kinda expected there, tested on Windows XP):
4.6.1: "Not a valid windows program"
4.0: "Encountered a problem and needs to close"
3.5: Works, but if any new 3.5 stuff is used (like LINQ to XML) then the JIT debugger will pop up with a bunch of errors about missing references and things.
I also can't seem to get multiple framework targets working either, seems to default to 4.0.
So we'll keep the target framework as 2.0 so no newer things are added by mistake, and add the supportedRuntime line so older .net frameworks don't need to be installed on to newer systems :D
from avrdudess.
great! 👍
from avrdudess.
Related Issues (20)
- Add DIY UPDI USB programmer HOT 2
- Strange Error when I try to open AVRDUDESS HOT 6
- Have some small problems HOT 1
- Erase Warning
- AVRDUDE 7.2 - new format of avrdude.conf HOT 2
- Add support for xmega uC's. HOT 1
- Unable to read fuses on atmega328pb with v2.15, v2.14 works perfectly fine HOT 5
- Incorrectly detecting ATmega328P as ATA6614Q HOT 4
- Unable to detect Atmel-ICE in ISP Mode. Right drivers installed HOT 12
- USBasp wrong vendor id HOT 2
- How do I update my language file? HOT 1
- Option to automatically flash on hex file change
- Latests Polish file HOT 2
- Windows 11 (won't install) HOT 10
- Read microcontroller
- No plain 'Arduino' option for programmer? HOT 1
- Malware detected after update to 2.17 HOT 2
- Version of avrdude.exe bundled with 2.17 is flagged by antiviruses HOT 2
- Error code after install avrdudess 2.17 HOT 2
- Avrdudess wrong device (-p) selected for ATmega4808 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avrdudess.