mirror of https://github.com/mono/CppSharp.git
				
				
			
		c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							12 lines
						
					
					
						
							490 B
						
					
					
				
			
		
		
	
	
							12 lines
						
					
					
						
							490 B
						
					
					
				-- https://github.com/premake/premake-core/issues/1559 | 
						|
premake.override(premake.vstudio.vc2010, "targetFramework", function(oldfn, prj) | 
						|
  if prj.clr == "NetCore" then  | 
						|
    local action = premake.action.current() | 
						|
    local tools = string.format(' ToolsVersion="%s"', action.vstudio.toolsVersion) | 
						|
    local framework = prj.dotnetframework or action.vstudio.targetFramework or "4.0"     | 
						|
     | 
						|
    premake.w('<TargetFramework>%s</TargetFramework>', framework)   | 
						|
  else | 
						|
    oldfn(prj) | 
						|
  end | 
						|
end)
 | 
						|
 |