c# - Relationship between MSVC and .NET framework versions -


this rather general question, result of confusion how compile gdal using different versions of microsoft visual c++ (msvc) , c#-bindings. understand msvc compiler , there different versions (msvc 2003, 2005, 2008, 2010, 2012). understand c# tied .net framework, software development framework comes in different versions (.net 1.0 5.0).

i want compile gdal (because want use extension not included in sdk builds available here) used c# (via c#-bindings) using vs 2012, version of msvc have use? guess answer msvc 2012 (same .net framework version), why actually? gdal build create dlls. .net framework not backwards compatible in sense can use dlls compiled older version of msvc inside c#-project uses vs 2012?

any enlightenment appreciated.

the relationship largely irrelevant unless you're toying c++/cli (which doesn't are).

c# uses native dlls either using p/invoke (aka dllimport) or through com, doesn't matter compiler made long exports in right format (and they're in right isa executing .net platform).

using same c++ compiler vs ships saves trouble of hunting down alternative tools , simplifies build process.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -