Skip to content

Commit 94a97fe

Browse files
works
1 parent b9e8d51 commit 94a97fe

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

HelloWorld/HelloWorld/HelloWorld.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#This is a comment
22
#And I can add lots of comments
3-
print('Hi World')
3+
print('Works?')

HelloWorld/HelloWorld/HelloWorld.pyproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<SchemaVersion>2.0</SchemaVersion>
@@ -21,8 +21,13 @@
2121
<DebugSymbols>true</DebugSymbols>
2222
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
2323
</PropertyGroup>
24+
<PropertyGroup>
25+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
26+
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
27+
</PropertyGroup>
2428
<ItemGroup>
2529
<Compile Include="HelloWorld.py" />
2630
</ItemGroup>
27-
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
31+
<Import Project="$(PtvsTargetsFile)" Condition="Exists($(PtvsTargetsFile))" />
32+
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="!Exists($(PtvsTargetsFile))" />
2833
</Project>

0 commit comments

Comments
 (0)