@@ -1326,7 +1326,7 @@ def format_key_value(v):
13261326
13271327 filters_template = filters_template .replace ("%%HASH%%" , md5 )
13281328
1329- with open (f"{ project_name } .vcxproj.filters" , "w" , encoding = "utf-8" , newline = "\n " ) as f :
1329+ with open (f"{ project_name } .vcxproj.filters" , "w" , encoding = "utf-8" , newline = "\r \ n " ) as f :
13301330 f .write (filters_template )
13311331
13321332 envsources = []
@@ -1507,7 +1507,7 @@ def format_key_value(v):
15071507 props_template = props_template .replace ("%%CLEAN%%" , cmd )
15081508
15091509 with open (
1510- f"{ project_name } .{ platform } .{ target } .{ arch } .generated.props" , "w" , encoding = "utf-8" , newline = "\n "
1510+ f"{ project_name } .{ platform } .{ target } .{ arch } .generated.props" , "w" , encoding = "utf-8" , newline = "\r \ n "
15111511 ) as f :
15121512 f .write (props_template )
15131513
@@ -1624,7 +1624,7 @@ def format_key_value(v):
16241624 sln_template = sln_template .replace ("%%SECTION1%%" , "\n " .join (section1 ))
16251625 sln_template = sln_template .replace ("%%SECTION2%%" , "\n " .join (section2 ))
16261626
1627- with open (f"{ project_name } .sln" , "w" , encoding = "utf-8" , newline = "\n " ) as f :
1627+ with open (f"{ project_name } .sln" , "w" , encoding = "utf-8" , newline = "\r \ n " ) as f :
16281628 f .write (sln_template )
16291629
16301630 if get_bool (original_args , "vsproj_gen_only" , True ):
0 commit comments