Skip to content

Commit

Permalink
chore: Example solution is missing project contract (#267)
Browse files Browse the repository at this point in the history
Fixes #265
  • Loading branch information
marklechtermann authored Jul 22, 2024
1 parent 7131a83 commit 25630df
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 57 deletions.
1 change: 1 addition & 0 deletions examples/outproc/client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.venv/
18 changes: 18 additions & 0 deletions examples/outproc/client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Python demo client

## Prepare

```cmd
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
```

## Run

Start the dotnet 6 or dotnet 4.8 COM server.

```cmd
python app-dotnet6.py
python app-dotnet48.py
```
1 change: 1 addition & 0 deletions examples/outproc/client/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pywin32
136 changes: 79 additions & 57 deletions examples/outproc/outproc.sln
Original file line number Diff line number Diff line change
@@ -1,57 +1,79 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "server", "server", "{2B015EE0-7F40-4CD1-91F2-3DD141EF0A23}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "net48", "server\net48\net48.csproj", "{ADC2438E-EBC9-4900-89B3-4655B3DE187C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet6", "server\dotnet6\dotnet6.csproj", "{C488E2DF-D675-438A-B3A6-02D9CFBC4905}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dscom", "..\..\src\dscom\dscom.csproj", "{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Debug|Any CPU.ActiveCfg = Debug|x64
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Debug|Any CPU.Build.0 = Debug|x64
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Debug|x86.ActiveCfg = Debug|Any CPU
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Debug|x86.Build.0 = Debug|Any CPU
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Release|Any CPU.Build.0 = Release|Any CPU
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Release|x86.ActiveCfg = Release|Any CPU
{ADC2438E-EBC9-4900-89B3-4655B3DE187C}.Release|x86.Build.0 = Release|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Debug|x86.ActiveCfg = Debug|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Debug|x86.Build.0 = Debug|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Release|Any CPU.Build.0 = Release|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Release|x86.ActiveCfg = Release|Any CPU
{C488E2DF-D675-438A-B3A6-02D9CFBC4905}.Release|x86.Build.0 = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|x86.ActiveCfg = Debug|x86
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|x86.Build.0 = Debug|x86
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|Any CPU.Build.0 = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|x86.ActiveCfg = Release|x86
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{ADC2438E-EBC9-4900-89B3-4655B3DE187C} = {2B015EE0-7F40-4CD1-91F2-3DD141EF0A23}
{C488E2DF-D675-438A-B3A6-02D9CFBC4905} = {2B015EE0-7F40-4CD1-91F2-3DD141EF0A23}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3A25F7FE-6881-4408-AC73-0BC79971FEC1}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dscom", "..\..\src\dscom\dscom.csproj", "{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "net48", "server\net48\net48.csproj", "{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet6", "server\dotnet6\dotnet6.csproj", "{50B7354F-F7D1-4567-B42E-95C50364E3E1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "contract", "server\common\contract.csproj", "{2862429B-3A43-415F-B94E-773B04A438C3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|x64.ActiveCfg = Debug|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|x64.Build.0 = Debug|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|x86.ActiveCfg = Debug|x86
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Debug|x86.Build.0 = Debug|x86
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|Any CPU.Build.0 = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|x64.ActiveCfg = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|x64.Build.0 = Release|Any CPU
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|x86.ActiveCfg = Release|x86
{1F853F7D-2D46-4B70-A2E9-0755EB01E7E6}.Release|x86.Build.0 = Release|x86
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Debug|Any CPU.ActiveCfg = Debug|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Debug|Any CPU.Build.0 = Debug|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Debug|x64.ActiveCfg = Debug|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Debug|x64.Build.0 = Debug|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Debug|x86.ActiveCfg = Debug|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Debug|x86.Build.0 = Debug|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Release|Any CPU.ActiveCfg = Release|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Release|Any CPU.Build.0 = Release|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Release|x64.ActiveCfg = Release|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Release|x64.Build.0 = Release|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Release|x86.ActiveCfg = Release|x64
{8F0F3DA5-4CCB-4A12-B031-7309460ADB29}.Release|x86.Build.0 = Release|x64
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Debug|x64.ActiveCfg = Debug|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Debug|x64.Build.0 = Debug|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Debug|x86.ActiveCfg = Debug|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Debug|x86.Build.0 = Debug|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Release|Any CPU.Build.0 = Release|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Release|x64.ActiveCfg = Release|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Release|x64.Build.0 = Release|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Release|x86.ActiveCfg = Release|Any CPU
{50B7354F-F7D1-4567-B42E-95C50364E3E1}.Release|x86.Build.0 = Release|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Debug|x64.ActiveCfg = Debug|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Debug|x64.Build.0 = Debug|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Debug|x86.ActiveCfg = Debug|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Debug|x86.Build.0 = Debug|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Release|Any CPU.Build.0 = Release|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Release|x64.ActiveCfg = Release|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Release|x64.Build.0 = Release|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Release|x86.ActiveCfg = Release|Any CPU
{2862429B-3A43-415F-B94E-773B04A438C3}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3A25F7FE-6881-4408-AC73-0BC79971FEC1}
EndGlobalSection
EndGlobal

0 comments on commit 25630df

Please sign in to comment.