Skip to content

Commit cccb983

Browse files
committed
Added example project
1 parent a5b0c4f commit cccb983

File tree

8 files changed

+64
-1
lines changed

8 files changed

+64
-1
lines changed

IronPython.sln

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IronPython.Window32", "src\
107107
EndProject
108108
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronPython.Sdk", "src\sdk\IronPython.Sdk\IronPython.Sdk.csproj", "{726D85B8-E98E-4F31-A081-B02035809A33}"
109109
EndProject
110+
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "IronPython.Sdk.Sample", "src\sdk\IronPython.Sdk.Sample\IronPython.Sdk.Sample.pyproj", "{C1E9ED5C-242E-4F90-8E69-7FDDE3C919BD}"
111+
EndProject
110112
Global
111113
GlobalSection(SolutionConfigurationPlatforms) = preSolution
112114
Debug|Any CPU = Debug|Any CPU
@@ -177,6 +179,8 @@ Global
177179
{726D85B8-E98E-4F31-A081-B02035809A33}.Debug|Any CPU.Build.0 = Debug|Any CPU
178180
{726D85B8-E98E-4F31-A081-B02035809A33}.Release|Any CPU.ActiveCfg = Release|Any CPU
179181
{726D85B8-E98E-4F31-A081-B02035809A33}.Release|Any CPU.Build.0 = Release|Any CPU
182+
{C1E9ED5C-242E-4F90-8E69-7FDDE3C919BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
183+
{C1E9ED5C-242E-4F90-8E69-7FDDE3C919BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
180184
EndGlobalSection
181185
GlobalSection(SolutionProperties) = preSolution
182186
HideSolutionNode = FALSE

src/sdk/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<Project>
2+
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project ToolsVersion="4.0">
2+
<PropertyGroup>
3+
<InterpreterId>Global|IronPython|3.4</InterpreterId>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<Compile Include="*.py" />
7+
</ItemGroup>
8+
<Import Project="..\IronPython.Sdk\Sdk\Sdk.props" />
9+
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("Hello, World!")
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net472;netstandard2.0</TargetFrameworks>
44
<PackageType>MSBuildSdk</PackageType>
55
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
66
</PropertyGroup>
7+
<PropertyGroup>
8+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
9+
</PropertyGroup>
710
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4+
</PropertyGroup>
5+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
6+
<DebugSymbols>true</DebugSymbols>
7+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
8+
</PropertyGroup>
9+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
10+
<DebugSymbols>true</DebugSymbols>
11+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
12+
</PropertyGroup>
13+
</Project>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
2+
<Import Project="Debugging.props" />
3+
<PropertyGroup>
4+
<SchemaVersion>2.0</SchemaVersion>
5+
<ProjectGuid>c1e9ed5c-242e-4f90-8e69-7fdde3c919bd</ProjectGuid>
6+
<ProjectHome>.</ProjectHome>
7+
<StartupFile>Program.py</StartupFile>
8+
<SearchPath>
9+
</SearchPath>
10+
<WorkingDirectory>.</WorkingDirectory>
11+
<OutputPath>.</OutputPath>
12+
<Name>$(MSBuildProjectName)</Name>
13+
<RootNamespace>$(Name)</RootNamespace>
14+
</PropertyGroup>
15+
<ItemGroup>
16+
<Compile Include="*.py" Exclude="obj\**;bin\**"/>
17+
</ItemGroup>
18+
<ItemGroup>
19+
<InterpreterReference Include="Global|IronPython|3.4" />
20+
</ItemGroup>
21+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
22+
<!-- Uncomment the CoreCompile target to enable the Build command in
23+
Visual Studio and specify your pre- and post-build commands in
24+
the BeforeBuild and AfterBuild targets below. -->
25+
<!--<Target Name="CoreCompile" />-->
26+
<Target Name="BeforeBuild">
27+
</Target>
28+
<Target Name="AfterBuild">
29+
</Target>
30+
</Project>

0 commit comments

Comments
 (0)