Skip to content

Commit 73299a3

Browse files
Angzhang/flattensample (#453)
* flatten sample directory * flatten directory structure * update readme * update commands
1 parent b8b2ea7 commit 73299a3

17 files changed

+4
-4
lines changed

Samples/Net5ProjectionSample/ConsoleAppSample/ConsoleAppSample.sln renamed to Samples/Net5ProjectionSample/ConsoleAppSample.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.30509.190
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleAppSample", "ProjectionSampleConsoleApp\ConsoleAppSample.csproj", "{9623756E-90CE-449C-8BD8-36A2F8419DBF}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleAppSample", "ConsoleAppSample\ConsoleAppSample.csproj", "{9623756E-90CE-449C-8BD8-36A2F8419DBF}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Samples/Net5ProjectionSample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ This sample demonstrates how to invoke C#/WinRT to build a .NET5 projection for
1414

1515
Using Visual Studio:
1616

17-
1. Build the *CppWinRTProjectionSample* solution first. This generates the projection and interop assembly using cswinrt, and creates *SimpleMathComponent.nupkg* which can be referenced in consuming apps. If you run into errors restoring NuGet packages, look at the docs on [NuGet restore options](https://docs.microsoft.com/nuget/consume-packages/package-restore). You may need to configure your NuGet package manager settings to allow for package restores on build.
17+
1. Build the *CppWinRTComponentProjectionSample* solution first. This generates the projection and interop assembly using cswinrt, and creates *SimpleMathComponent.nupkg* which can be referenced in consuming apps. If you run into errors restoring NuGet packages, look at the docs on [NuGet restore options](https://docs.microsoft.com/nuget/consume-packages/package-restore). You may need to configure your NuGet package manager settings to allow for package restores on build.
1818

1919
2. Build the *ConsoleAppSample* solution which references and restores *SimpleMathComponent.nupkg* to consume the projection.
2020

2121
For building with the command line, execute the following:
2222

2323
```cmd
2424
nuget restore
25-
msbuild /p:platform=x64;configuration=debug CppWinRTProjectionSample\CppWinRTComponentProjectionSample.sln
26-
msbuild /p:platform=x64;configuration=debug ConsoleAppSample\ConsoleAppSample.sln
25+
msbuild /p:platform=x64;configuration=debug CppWinRTComponentProjectionSample.sln
26+
msbuild /p:platform=x64;configuration=debug ConsoleAppSample.sln
2727
```

0 commit comments

Comments
 (0)