Reputation: 113966
Which VC++ Runtime do I need to package with my app installer if I'm using C++/CLI in VS 2010? Assuming the target PC is running Windows XP/Vista/7 and has no other VC++ Runtime installed.
I'm targeting .NET 2.0 although I'm building the app with ToolsVersion
set to "4.0"
.
Upvotes: 1
Views: 287
Reputation: 186
Use Dependency Walker (http://www.dependencywalker.com/) to inspect your mixed mode assembly, it will show you the runtime your assembly depends upon.
Upvotes: 1
Reputation: 6514
Well, I am seeing C++/CLI, which means that you might need to redistribute the .Net framework also. Most probably framework 2.0 but not sure. You should also check it.
Alternatively, if you are not using CLI, you should remove it from project preference and as suggested by AB Bolim you can go with redistributing C++ 2008
Upvotes: 1
Reputation: 2115
your job ll be done by using this one.
Visual C++ 2008 -- 2 MB
I am using the same.
Upvotes: 2