From 0466b594de427aae2f4871376102c4c62cba283a Mon Sep 17 00:00:00 2001 From: Jason Johnston Date: Thu, 9 Jul 2015 15:02:22 -0400 Subject: [PATCH] Adding SLN file NuGet package restore was not working if you saved the solution file (.SLN) to the same directory as the project file. Adding SLN file to avoid that problem. --- .gitignore | 1 - README.md | 7 +++++++ dotnet-tutorial.sln | 22 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 dotnet-tutorial.sln diff --git a/.gitignore b/.gitignore index 4ab2b93..f0cbbbe 100644 --- a/.gitignore +++ b/.gitignore @@ -41,7 +41,6 @@ $RECYCLE.BIN/ Network Trash Folder Temporary Items .apdisk -*.sln *.suo *.user *.userosscache diff --git a/README.md b/README.md index 2626e77..929dd03 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ The purpose of this guide is to walk through the process of creating a simple AS This tutorial will use the [Microsoft Office 365 API Tools](http://aka.ms/OfficeDevToolsForVS2013) to register the app and add helpful NuGet packages for calling the Mail API. +**NOTE:** If you are downloading this sample, you'll need to do a few things to get it to run. + +1. Open the dotnet-tutorial.sln file. +2. Right-click **References** in Solution Explorer and choose **Manage NuGet Packages**. +3. Click the **Restore** button in the **Manage NuGet Packages** dialog to download all of the required packages. +4. Add the connected service as directed in the **Add a connected service** section below. + ## Before you begin ## This guide assumes: diff --git a/dotnet-tutorial.sln b/dotnet-tutorial.sln new file mode 100644 index 0000000..362ad74 --- /dev/null +++ b/dotnet-tutorial.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dotnet-tutorial", "dotnet-tutorial\dotnet-tutorial.csproj", "{5F0EF413-E5C0-4ADF-A912-996B0168756F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5F0EF413-E5C0-4ADF-A912-996B0168756F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5F0EF413-E5C0-4ADF-A912-996B0168756F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5F0EF413-E5C0-4ADF-A912-996B0168756F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5F0EF413-E5C0-4ADF-A912-996B0168756F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal