Thursday, 15 April 2010

c# - To run this application, you first must install .Net 4.5 -



c# - To run this application, you first must install .Net 4.5 -

i have wpf project created in vs2012, trying hack in vs2010.

in csproj file removed 'required version' stuff. can open project in vs2010, can compile too, if seek run it, 'needs v4.5' message.

i tried removing references , adding them in again: still compiles (so dependencies should on (xp) machine).

where else should looking?

check <supportedruntime> element in .config file.

if it's set <supportedruntime version="v4.0" sku=".netframework,version=v4.5" /> looking .net 4.5. (and, of course, setting isn't used @ during compilation, why vs won't issuing warnings or errors when compile)

c# visual-studio-2010 .net-4.5

No comments:

Post a Comment