Quantcast
Channel: MVVM Light Toolkit
Viewing all articles
Browse latest Browse all 1826

New Post: Mvvm light for .Net 4.0 and single EXE

$
0
0
Hello,

When I try to make my WPF application a single executable with mvvm light v4.3.31.1 for .Net 4.0 using this method I end up with an exception "Entry point was not found" when the executable is alone. It works only when the .config file and the Microsoft.Practices.ServiceLocation.dll is in the same folder as the executable, other dll are not required.

The exact same project works fine as a standalone when using .Net 4.5 and the last mvvm light version, but as I need to downgrade the framework version to 4.0 (for windows XP) I can't get it to work any more.

Is there a way to make the project use the common service locator in a "normal" way, without the config file ?

Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>