diff --git a/scripts/data_files/vs2010-app-template.vcxproj b/scripts/data_files/vs2010-app-template.vcxproj index e7bb122d8..e47adef4f 100644 --- a/scripts/data_files/vs2010-app-template.vcxproj +++ b/scripts/data_files/vs2010-app-template.vcxproj @@ -18,7 +18,8 @@ <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> - <ItemGroup> <SOURCES> + <ItemGroup> + <SOURCES> </ItemGroup> <ItemGroup> <ProjectReference Include="mbedTLS.vcxproj"> diff --git a/scripts/generate_visualc_files.pl b/scripts/generate_visualc_files.pl index 00a0c6322..1f67055e6 100755 --- a/scripts/generate_visualc_files.pl +++ b/scripts/generate_visualc_files.pl @@ -125,10 +125,10 @@ sub gen_app { $path =~ s!/!\\!g; (my $appname = $path) =~ s/.*\\//; - my $srcs = "\n <ClCompile Include=\"..\\..\\programs\\$path.c\" \/>\r"; + my $srcs = "<ClCompile Include=\"..\\..\\programs\\$path.c\" \/>"; if( $appname eq "ssl_client2" or $appname eq "ssl_server2" or $appname eq "query_compile_time_config" ) { - $srcs .= "\n <ClCompile Include=\"..\\..\\programs\\test\\query_config.c\" \/>\r"; + $srcs .= "\r\n <ClCompile Include=\"..\\..\\programs\\test\\query_config.c\" \/>"; } my $content = $template;